Linux Commands Flashcards

1
Q

ls -la

A

list the names and features of all files (including hidden) and directories in a detailed format

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

ls

A

list the names and features of files and directories

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

cd

A

change directory

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

cat

A

concatenate the contents of a text file to the screen

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

mkdir

A

Create a directory

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

mv

A

Move a file or directory

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

rm

A

Remove a file

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

rmdir

A

Remove a directory

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

ps -ef

A

View currently running processes

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

constantly display and update the current running processes

A

while true; do clear; ps -ef; sleep 3; done

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

grep

A

search for a string

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

|

A

Connect commands

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