Linux 01 Flashcards

(34 cards)

1
Q

show date

A

date

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

show calendar

A

cal

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

free disk space

A

df

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

free memory

A

free

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

exit linux

A

exit

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

current working directory

A

pwd

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

change directory

A

cd

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

list contents of directory

A

ls

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

change directory to home directory

A

cd

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

change directory to previous

A

cd -

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

change directory to specific user name

A

cd [user]

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

determine file type

A

type

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

view file contents

A

less (used to me “more”)

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

list files long output

A

ls -l

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

list sort by modification time

A

ls -lt

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

list sort in reverse order

A

ls -lt –reverse

17
Q

list with directory

18
Q

list sort by file size

19
Q

list sort by mod time

20
Q

less: move to end

21
Q

less beginning of text file

22
Q

less search for characters

A

/[characters]

23
Q

less quit

24
Q

directory for storage devices

25
copy
cp
26
move
mv
27
make direectory
mkdir
28
remove files or directories
rm
29
create links hard or symbolic
ln
30
wilcdard anything
*
31
wildcard single character
?
32
make a directory
mkdir directory
33
make multiple directories
mkdir dir1 dir2 dir3
34
copy one file to another
cp item1 item2