Basic Linux Commands Flashcards

1
Q

ls

A

Displays information about files in the current directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pwd

A

Displays the current working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mkdir

A

Creates a directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cd

A

To navigate between different folders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

rmdir

A

Removes empty directories from the directory lists.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

cp

A

Moves files from one directory to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

mv

A

Move, Rename and Replace the files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rm

A

Rename and Replace the files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

uname

A

Command to get basic information about the OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

locate

A

Find a file in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

touch

A

Create empty files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cat

A

Display file contents on terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ln

A

Create shortcuts to other files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

clear

A

Clear terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ps

A

Display the processes in terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

man

A

Access manual for all Linux commands

17
Q

grep

A

Search for a specific string in an output

18
Q

echo

A

Display active processes on the terminal

19
Q

wget

A

Download files from the internet.

20
Q

whoami

A

Create or update passwords for existing users

21
Q

sort

A

Sort the file content

22
Q

cal

A

View Calendar in terminal

23
Q

whereis

A

View the exact location of any command typed after this command

24
Q

df

A

Check the details of the file system

25
Q

wc

A

Check the lines, word count, and characters in a file using different options

26
Q

ifconfig

A

Display’s the physical/logical network Interface Card information in older Linux kernels.

27
Q

ip address

A

Display’s the physical/logical network Interface Card information.