Commands Flashcards
1
Q
Pwd
A
To know which directory you are in, you can use
2
Q
Ls
A
command to know what files are in the directory you are in
3
Q
cd
A
Use the “cd” command to go to a directory
4
Q
mkdir
A
Use the mkdir command when you need to create a folder or a directory
5
Q
rmdir
A
Use rmdir to delete a directory. But rmdir can only be used to delete an empty directory.
6
Q
rm
A
Use the rm command to delete files and directories
7
Q
touch
A
used to create a file
8
Q
cp
A
to copy files through the command line
9
Q
locate
A
is used to locate a file in a Linux system