Assume the /home/zach/grants/biblios and /home/zach/biblios directories exist. Specify Zach’s working directory after he executes each sequence of commands. Explain what happens in each case.
a. $ pwd
/home/zach/grants
$ CDPATH=$(pwd)
$ cd
$ cd biblios
b. $ pwd
/home/zach/grants
$ CDPATH=$(pwd)
$ cd $HOME/biblios
a. The read builtin accepts text until you press RETURN, which is appropriate
for accepting input when the user enters a name. The cat utility accepts
input until you press CONTROL-D at the beginning of a line, which is appro-
priate for accepting several lines of input.
b. After executing the preceding commands, Zach’s working directory is
/home/zach/grants/biblios. When CDPATH is set and the working direc-
tory is not specified in CDPATH, cd searches the working directory only
after it searches the directories specified by CDPATH.
You might also like to view...
Match the following Web browser to its description:
I. World Wide Web II. Mosaic III. Netscape Navigator IV. Internet Explorer V. Chrome A. popular browser provided by Microsoft B. newest of the common Web browsers used today C. first to add secure communications; can now conduct business via Internet D. first browser created by Tim Berners-Lee E. first to embed graphical elements; created by Marc Andreessen
Shading is a background color that appears behind text
Indicate whether the statement is true or false