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.

Computer Science & Information Technology

You might also like to view...

Subscript numbering in C++

A) can be set at run time. B) can begin with a programmer-defined value. C) varies from program to program. D) automatically begins with zero. E) automatically begins with one.

Computer Science & Information Technology

What is the stack?

A. The address of a memory location. B. The portion of RAM where local variables are stored. C. References to memory locations. D. The number of bytes reserved for a dataype.

Computer Science & Information Technology

Match the following keystrokes with how they are used in Edit Mode on datasheets and forms

I. $$$Home$$$ II. $$$End$$$ III. $$$Enter$$$ IV. $$$Ctrl$$$ + $$$Home$$$ V. $$$Ctrl$$$ + $$$End$$$ A. Moves to the first character in the field B. Switch to Navigation mode and move from field to field C. Moves to the last character in the field D. Moves to the last character in the field E. Moves to the first character in the field

Computer Science & Information Technology

The MAC address is considered an OSI model Layer _______ address

Fill in the blank(s) with correct word

Computer Science & Information Technology