Intro to Linux & understanding Commands Flashcards

1
Q

what is linux?

A

an open source operating system based on UNIX

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

what is a the linux kernel?

A

it is a program that makes up the core of an operating system

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

what does the kernel do?

A

Handles res of start-up process
handles input/output from other programs
manages memory & hardware peripherals(keyboards, mouses, monitors. speakers, printers etc)

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

LS

A

Lists directory contents

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

cd

A

Changes the current directory

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

pwd

A

displays present, working directory

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

cat

A

concatenates(omits) and displays files

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

echo

A

displays arguments(line of text or variable value) to the screen

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

man

A

Displays the online manual.

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

exit

A

Exits the shell or your current session.

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

Clear

A

clears the screen

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

how to build a command

A

what to do&raquo_space;>how to do»>what to do it with

Command Options Arguments

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

touch

A

Created an empty file(vi)

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

id

A

Prints real and effective user and group[s ids.

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

who

A

shows who is logged on

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

uname

A

Prints system information

17
Q

whoami

A

Prints effective user id

18
Q

how to create a file without contents?

A

$touchfile1

19
Q

how to create several files(vi) at once?

A

$touchfile1 file2 file3

20
Q

How to create directories?

A

$mkdir directory1
$mkdir linuxforjob
$mkdir linux for jobs

21
Q

$cd..

A

Move up on level

22
Q

$cd~

A

move back to home dir