Chap 2 Flashcards
1
Q
Go to your home directory.
A
cd
2
Q
Find your working directory.
A
pwd
3
Q
Change to a new working directory with its absolute pathname.
A
cd /bin
4
Q
List files in new working directory.
A
ls
5
Q
Change directory to root and list it in one step. (Use the command separator: a semicolon.)
A
cd /; ls
6
Q
Find your working directory.
A
pwd
7
Q
Change to a subdirectory; use its relative pathname.
A
cd usr
8
Q
List files in another directory.
A
ls /bin
9
Q
Return to your home directory.
A
cd