shell commands Flashcards

1
Q

Alt-Fx(1-7)

A

open new shell prompt session

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

halt

A

os shut down

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

reboot

A

reboot (root)

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

init 0

A

(root) shut down

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

init 6

A

(root) shut down

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

shutdown

A

shutdown

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

exit

A

terminate shell prompt

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

su

A

switch user

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

su -

A

switch to root directory

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

env

A

displays the environment variables for the current logged in user

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

echo

A

prints the variable (fex:$PATH) will show path

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

top

A

all applications and processes running on the system

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

which

A

displays full path to shell command or utility(fex: which ls)

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

whoami

A

displays username of currently logged in user

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

netstat

A

displays network status, current connections, routing tables

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

route

A

to view or manipulate systems routing table

17
Q

ifconfig

A

same as ipconfig

18
Q

uname

A

displays info about Linux system

19
Q

uname -s

A

displays Linux kernel’s name

20
Q

uname -n

A

displ. the systems host name

21
Q

uname -r

A

kernel release number

22
Q

uname -v

A

kernel version number

23
Q

uname -m

A

system’s hardware architecture

24
Q

uname -p

A

processor type

25
Q

uname -i

A

hardware platform

26
Q

uname -o

A

OS

27
Q

uname -a

A

displays all system info

28
Q

exec

A

run executable file

29
Q

man (command)

A

manual

30
Q

HISTSIZE or HISTFILESIZE

A

1000 history entries may be configured

31
Q

HISTCONTROL

A

controls how history is stored

32
Q

pwd

A

print working directory

33
Q

man -k (term looking for)

A

allows search across multiple items, using specific keyword

34
Q

apropos

A

same as man -k