Lab Worksheet, Foundations of Computing, Week 2 -- Jan 16, 2001
A user logs, types this command, and sees this response:
$ pwd
/usr/users3/smijoh13
-
What is this user's username (that he uses to log in)?
-
What are two names for this user's home directory?
-
What command copies the file .bashrc.telnet
from the home directory of jackyj to this directory?
-
What command produces a directory listing that
shows the .bashrc.telnet file in this user's home directory?
- If the working directory is this user's home directory?
- In any directory, if this user issues the command?
- In any directory, for any user?
-
The current directory is this user's home directory. What command creates
a web subdirectory in this directory?
-
What command changes the working directory
to the web subdirectory?
-
After issuing the previous command, what is the working directory?
-
When this user issues this command, what will happen? Why?
mv ~jackyj/fofc-lab.html .
-
If you use the bash shell (most users do), in what file
should you put your aliases?
-
When does Unix execute the commands in this file?