What is the name of the shell variable that holds the name of your home directory? How can you change your home directory unde a LINUX system?

What will be an ideal response?


The name of the shell variable is HOME under Bash and home under the TC shell. You can change your home directory under LINUX by using the HOME=new_dicrectory_name command, followed by the export HOME command. The following Bash session gives a sample run of these commands.
$ HOME=/home/faculty/msarwar/courses
$ export HOME
$ echo $HOME
/home/faculty/msarwar/courses
$

Computer Science & Information Technology

You might also like to view...

A member function that gets called automatically when an object of the class is declared is called a _______________.

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

Computer Science & Information Technology

Web-based databases are being used to help investigators solve criminal cases

Indicate whether the statement is true or false

Computer Science & Information Technology

To deny the dimensionality of a sculpture, paint it using ________________.

a. only solid colors b. a different color for each part c. wild patterns d. white only

Computer Science & Information Technology

Once you create a motion animation using a text block, the text block becomes a ____________________.

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

Computer Science & Information Technology