Commands Flashcards

1
Q

ls

A

List directory contents.

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

cd

A

Change the current working directory.

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

pwd

A

Print the current working directory.

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

mkdir

A

Create a new directory.

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

rm

A

Remove files or directories.

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

cp

A

Copy files or directories.

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

mv

A

Move (rename) files or directories.

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

touch

A

Create an empty file.

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

cat

A

Display the contents of a file.

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

nano

A

A simple text editor.

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

vi

A

A powerful text editor.

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

grep

A

Search for a specific text pattern in files.

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

find

A

Search for files and directories.

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

chmod

A

Change file permissions.

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

chown

A

Change file ownership.

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

ps

A

List running processes.

17
Q

top

A

Monitor system processes in real-time.

18
Q

kill

A

Terminate processes.

19
Q

ping

A

Test network connectivity to a host.

20
Q

ifconfig

A

Configure network interfaces.

21
Q

ssh

A

Securely log into a remote machine.

22
Q

scp

A

Securely copy files between hosts.

23
Q

wget or curl

A

Download files from the web.

24
Q

df

A

Display disk space usage.

25
Q

du

A

Estimate file and directory space usage.

26
Q

tar

A

Archive and compress files.

27
Q

gzip

A

Compress or decompress files.

28
Q

uname

A

Display system information.

29
Q

history

A

Show command history.

30
Q

man

A

Display the manual page for a command.