Basic Linux Commands Flashcards
1
Q
ls
A
Displays information about files in the current directory.
2
Q
pwd
A
Displays the current working directory.
3
Q
mkdir
A
Creates a directory.
4
Q
cd
A
To navigate between different folders.
5
Q
rmdir
A
Removes empty directories from the directory lists.
6
Q
cp
A
Moves files from one directory to another.
7
Q
mv
A
Move, Rename and Replace the files
8
Q
rm
A
Rename and Replace the files
9
Q
uname
A
Command to get basic information about the OS
10
Q
locate
A
Find a file in the database.
11
Q
touch
A
Create empty files
12
Q
cat
A
Display file contents on terminal
13
Q
ln
A
Create shortcuts to other files
14
Q
clear
A
Clear terminal
15
Q
ps
A
Display the processes in terminal