The PATH variable is an environment variable that contains an ordered list of paths that Unix will search for executables when running a command. Using these paths means that we do not have to specify an absolute path when running a command.
To add a PATH for any user with sh or bash shell permanantly use the following steps. 1. Create a new file .profile in root(/) directory. 2. Add the following lines into it
Batch scripts support the concept of command line arguments wherein arguments can be passed to the batch file when invoked. The arguments can be called from the batch files through the variables %1, %2, %3, and so on. The following example shows a batch f
Post a Comment:
Showing 0 Comments: