The following command shows the line in the /etc/passwd for msarwar. The user ID is 608, group ID is 200, home directory is /home/faculty/msarwar, and login shell is /bin/bash.

What will be an ideal response?


```
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/faculty/msarwar/bin
$ PATH=$PATH:~:.
$ export PATH
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/faculty/msarwar/bin:/home/faculty/msarwar:.
$
```
The echo $PATH command is used to display the search path. The PATH=$PATH:~:. and export PATH commands are used to include home and current directories in the search path.

Computer Science & Information Technology

You might also like to view...

Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose randomNumbers is a SecureRandom object.

a. randomNumbers.nextInt(7); b. randomNumbers.nextInt(2); c. randomNumbers.nextInt(1); d. randomNumbers.nextInt(25);

Computer Science & Information Technology

A(n) ____________________ is a calculated number that's sent with data to check its validity after it has been transmitted.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

To move a worksheet or worksheet group to another location in the same workbook, select the worksheets and then drag and drop them by the selected sheet ____.

A. tabs B. indices C. keys D. icons

Computer Science & Information Technology

The news feed is updated based on current news and events available through CNN.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology