CS 3377 Dollinger UNIX Exam 1
Questions With Correct Answers
What's an absolute path name? - CORRECT ANSWER✔✔-An absolute
| | | | | | | | |
path name is relative to the root directory and can be used/referenced
| | | | | | | | | | | |
from any working directory. Absolute path names start with a slash.
| | | | | | | | | |
ex)
{cslinux1:~} ls /home/013/v/vp/vpn200000/two
| |
What's a relative path name? - CORRECT ANSWER✔✔-A relative path
| | | | | | | | | |
name is relative to the working directory and can only be
| | | | | | | | | |
used/referenced from that working directory.
| | | | | |
ex)
{cslinux1:~} cd two | |
What are three different ways to return to the home directory? -
| | | | | | | | | | | |
CORRECT ANSWER✔✔-cd |
cd ~|
cd $home
|
, What is the arrangement of directories and files in the UNIX file system?
| | | | | | | | | | | |
- CORRECT ANSWER✔✔-The heirarchy starts with the /root, which
| | | | | | | | | |
branches off into /usr and /home directories. The /usr directory then
| | | | | | | | | | |
branches off into the /local and /bin directories. Within the home
| | | | | | | | | | |
directory are any files you create.
| | | | |
(i think this is all u need to kno)
| | | | | | | |
What is the directory you're in when you first login? (what's the default
| | | | | | | | | | | | |
directory?) - CORRECT ANSWER✔✔-/home/{username}
| | |
ex)
/home/013/v/vp/vpn200000
What does .. do? - CORRECT ANSWER✔✔-.. represents the parent
| | | | | | | | | |
directory. If you use it with cd, you can go back one directory.
| | | | | | | | | | | |
ex)
{cslinux1:~} cd temp | |
{cslinux1:~/temp} cd .. | |
{cslinux1:~}
Questions With Correct Answers
What's an absolute path name? - CORRECT ANSWER✔✔-An absolute
| | | | | | | | |
path name is relative to the root directory and can be used/referenced
| | | | | | | | | | | |
from any working directory. Absolute path names start with a slash.
| | | | | | | | | |
ex)
{cslinux1:~} ls /home/013/v/vp/vpn200000/two
| |
What's a relative path name? - CORRECT ANSWER✔✔-A relative path
| | | | | | | | | |
name is relative to the working directory and can only be
| | | | | | | | | |
used/referenced from that working directory.
| | | | | |
ex)
{cslinux1:~} cd two | |
What are three different ways to return to the home directory? -
| | | | | | | | | | | |
CORRECT ANSWER✔✔-cd |
cd ~|
cd $home
|
, What is the arrangement of directories and files in the UNIX file system?
| | | | | | | | | | | |
- CORRECT ANSWER✔✔-The heirarchy starts with the /root, which
| | | | | | | | | |
branches off into /usr and /home directories. The /usr directory then
| | | | | | | | | | |
branches off into the /local and /bin directories. Within the home
| | | | | | | | | | |
directory are any files you create.
| | | | |
(i think this is all u need to kno)
| | | | | | | |
What is the directory you're in when you first login? (what's the default
| | | | | | | | | | | | |
directory?) - CORRECT ANSWER✔✔-/home/{username}
| | |
ex)
/home/013/v/vp/vpn200000
What does .. do? - CORRECT ANSWER✔✔-.. represents the parent
| | | | | | | | | |
directory. If you use it with cd, you can go back one directory.
| | | | | | | | | | | |
ex)
{cslinux1:~} cd temp | |
{cslinux1:~/temp} cd .. | |
{cslinux1:~}