In: Computer Science
1. What are the names of the parts of a UNIX command? list them, and give a brief description of each.
2. Can multiple UNIX commands be typed on the same single command line? Explain how
3. How can you find out which utilities are available on your system for editing files? Which utilities are available for editing on your system?
4. What does the following command do? What is $PATH and echo $PATH?
5. What is the result of giving the which utility the name of a command that resides in a directory that is nor in your search path?
(Command not given)
2nd part
$PATH: In UNIX, $PATH is an environmental variable. It is used by the shell to know where it should search for the executable files in response to the command entered by the user. In other words, it tells the location of the executable files to the shell.
echo $PATH: This is used to view the directories specified by the PATH variable.
5. If we give the utility, the name of a command residing in a directory that is not in our search path then it will not work. This is because the utility cannot find the destination.