answersLogoWhite

0

This depends widely on the actual shell environment you are using. I suggest you take a look at the YouTube videos, which cover the various scripting elements in detail.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is bash shell scripting?

Bash shell scripting is the process of writing a series of commands in a text file that are recognized by the bash shell interpreter.


What is shell scripting?

Shell scripting is scripting that uses the Windows Script Host shell. While the above answer may be true for Windows based systems, for Unix and Unix-like systems shell scripting is the ability to create a file of commands and to have them executed automatically, including unattended operation. It is used in the cases where one wishes to automate a process with a given series of commands to be used many times. Shell scripting allows one to automate processes, thereby reducing errors and misspellings by putting the commands in a file and telling the system to execute the commands.


Difference between perl scripting and shell scripting?

Perl is a scripting language. It is not, however, a shell scripting language because Perl is not a shell program. A shell program is one that usually interacts with a user and provides certain user interface abilities. Perl was not designed for that purpose. You can certainly program a shell to operate in various fashions. A shell script is usually provided for redundant tasks and series of commands, unattended operation, and so forth. Perl is a "kitchen sink" of ways to interact with data, databases, networks, and so forth. It is a great language for manipulating text in various ways.


How do you write a statement in DOS using shell script to display a word?

We can not perform Shell Scripting in DOS, we can do Batch programing in DOS..


Distinguish between internal and extarnal commands with examples for unix?

Internal commands are executed by the shell and do not exist as a separate binary program. You can find out which of these there are by looking at the 'man' entry for the shell you are using. External commands can be found in various directories, such as /bin, /usr/bin, etc.


I am currently using windows XP2. For practice purpose i want to use UNIX shell scripting. Without installing UNIX OS how can i use the UNIX shell scripting?

You should be able to download the Unix Services for Windows, version 3.5, from Microsoft (free). There are other shell emulators that are available for Windows, which would allow you to use Unix type shell scripting without installing any additional OS. Your question about "virtual UNIX" is unclear ..


How would you run a command on the shell without spawing a new child process?

all commands (except for commands built into your shell) spawn child processes necessarily.


How do you write functions in Linux shell scripting?

It can depend on which shell environment you are using, but what I use is: function something { # body of routine } # call the function something


What is shell equivalent for unirex N3?

The shell equivalent for UniRex N3, which is a popular multi-functional machine for various industrial applications, would typically involve using a combination of shell commands and scripts to automate similar tasks. For example, you could use commands like grep, awk, and sed to process text data, or cron jobs for scheduling tasks. Additionally, shell scripting can be employed to create workflows that mimic the functionalities of UniRex N3, depending on the specific use case. However, the exact equivalent would depend on the specific features and functions being compared.


Description of set commands in UNIX?

'set' commands vary depending on what shell program you are using. All of them (for each shell) are documented in the 'man' command or 'info' command for that shell. For example, 'man csh', et al.


How do you write shell scripting in UNIX?

A shell script is nothing more than a readable and executable ASCII text file. In this file you put all of the commands that you want to execute, in sequence. The name of the file can be anything you like. Any text editor (VI, VIM, pico, etc) can create a shell script file In addition, shell script files have the ability to detect logic, and are programmable. Just think about what tasks you want to perform and their order, and put it into a file, and there you have a shell script.


What are the five characters that have special meaning to the shell?

(asterisk) - Represents zero or more characters in a filename. ? (question mark) - Represents a single character in a filename. ~ (tilde) - Represents the home directory of the current user. . (dot) - Represents the current directory. .. (dot dot) - Represents the parent directory.