linux2 Flashcards

1
Q

cd

A

Changes the current working directory to another directory

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

cp

A

copy files ex: copy file1 to file2 means copy file

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

mkdir

A

creates a new directory

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

mkdir newdir

A

creates a new directory called “newdir”

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

clear

A

used to clear the command line interface of all text/past command entries

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

cat

A

used to view the contents of a file without editing options

ex:cat file1=show me files in file1

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

less

A

Used to view the contents of a file that won`t fit on one screen

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

Q Key

A

Exit

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

Text editors in inux

A

vi(m)
nano
gedit

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

vi(m)

A

Default text editor in linux

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

nano

A

requires installation
user friendly

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

gedit

A

GUI requires installation of a desktop environment like gnome or KDE

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

shutdown -h

A

shut down the system completely powered off state

-h stand for halting with no time delay

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

shutdown -r now

A

shutdown and reboot system

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

su(substitute user)

A

allows to switch user credentials

ex:regular-admin

the command: sudo su

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

Bash shell(2imp task)

A

Keeps history file of all the commands you ever entered

Tab completion(finish’s what you type)