Basics Flashcards

1
Q

What is a command prompt know as, what kind of program?

A

shell program

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

What shell do we use?

A

BASH shell, Bourne Again Shell Bash

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

What does the command Echo do?

A

Echo echos back what ever arguments you use

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

What does the command uname do? And what do the options -r and -p used for?

A

tells me what system im running
Options
-r running kernal version
-p what processors is being used

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

What does the command ls do? What is the option -l used for?

A

ls is the files listing. -l is used to display the long listing of the files

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

What does the command ps do? What are the options -a and -x used for?

A

ps displays processes, -a is for all process, and -x is for listing process that dont have a terminal

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

What does the command man do?

A

man command is used in conjunction with a another command ( man ls) to get the manual of a given command.

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

What does the command whoami do?

A

Tells you what user are you

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

What does the command su do?

A

switch user, by it self it switches you to the root user

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

propper structure for a full command

A

Command - options - argument

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

What is an argument

A

an argument is the item that is going to receive the action from the command

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

What is an option

A

Option changes slightly how the command works, starts with a dash -

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

What is the history command used for?

A

the history command brings up all of the commands we have used

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