Terminal Flashcards
1
Q
The ls command will
A
display the contents of a directory
2
Q
The cd command will
A
change the working directory
3
Q
The pwd command will
A
print the working directory
4
Q
The touch command will
A
create a new file
5
Q
The command cd ~ will
A
change the working directory to /home/
6
Q
The command to create a folder in the current directory is:
A
mkdir
7
Q
The mv command will
A
move a file or a folder, or rename a file or a folder
8
Q
The command to copy a file is:
A
cp
9
Q
The command to copy a folder and its content is:
A
cp -r
10
Q
I’m in /home/myname, the command cd .. will
A
change the current directory to /home