Simple commands Flashcards

(41 cards)

1
Q

pwd

A

Print current directory

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

cd ..

A

go to home directory

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

~/

A

Move deeper

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

tab tab

A

watch deeper

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

tab

A

autocomplete

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

ls

A

list files and folders

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

clear

A

clear terminal

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

mv

A

move

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

touch

A

create file

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

mkdir

A

create folder

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

/*

A

all filestail

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

-p

A

recursion

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

tree

A

show tree view

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

rm

A

remove file

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

-r

A

recursive deleting

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

-f

18
Q

cat

A

watch file inside

19
Q

head

A

first 10 lines of the file

20
Q

tail

A

last 10 lines of the file

21
Q

tail -f

A

Monitor file editing

22
Q

^C

A

invoke control back

23
Q

grep

A

find inside the file

24
Q

less

A

open visible part of file

25
man
open manual
26
which
find where command execution file lies
27
echo
show on screen
28
$
before variables
29
env
Show current session vars
30
>
writing into a file
31
reading from the file
32
sort
Sorting
33
uniq
show unique only
34
wc
word count (lines/words/symbols)
35
!!
repeat the last command
36
!555
repeat command number 555
37
history
show history of commands
38
~/.bash_history
Where the history lives
39
alias ***='command'
Set alias
40
unalias ***
remove alias
41
type ***
show what is it