Answer the question below:
a. The PATH (Sobell, page 318) keyword variable specifies the directories in
the order bash should search them when it searches for a script or program
you run from the command line. What is the value of your PATH variable?
b. Append the absolute pathname of the bin directory that is a subdirectory of
your home directory to the PATH variable. What does this change allow
you to do more easily?
a.
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/sbin
b.
$ PATH=$PATH:/home/max/bin
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/sbin:/home/max/bin
Adding the ~/bin directory to PATH allows you to run scripts in that direc-
tory by just typing a simple filename (you do not need to type a pathname
that includes a slash).
You might also like to view...
This algorithm is also used to derive the interface identifier for the global unicast address.
What will be an ideal response?
The ________ bar allows the user to minimize, maximize, and close windows
A) menu B) title C) task D) status
Which of the following are the default libraries in the Windows 7 OS?
A. Documents, Media. Pictures, Programs, and Videos B. Files, Music, Pictures, Online, and Videos C. Documents, Music, Pictures, and Videos D. Files, Media, Programs, and Online
A ___________ assigns levels of risk to various threats to network security by comparing the nature of the threats to the controls designed to reduce them.
a. risk assessment b. backplane c. mitigating control factor analysis d. control verification worksheet e. control test plan