Common Linux Commands Flashcards

1
Q

what does the command shred accomplish:

A

it destroys files

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

what is the purpose of the tail command?

A

by default it reads the last 10 lines of text

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

what does the touch command do ?

A

the easiest way to create new empty files

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

what does the command uname do ?

A

provides basic information about a system’s software and hardware.

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

what does the command w do?

A

shows who is logged into the system and what they are doing?

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

name the command that provides brief descriptions of command line programs and other topics related to unix-like operation systems

A

whatis

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

what does the whoami command do ?

A

returns the user name of the owner of the current login session.

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

name the command that reads the kernel messages?

A

dmesg

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

what command shows the sizes of directories and files?

A

du

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

what command finds files and directories?:

A

locate

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

what is the root directory?

A

it is the directory at the very top of the hierarchy of directories

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