Basics Flashcards
What is a command prompt know as, what kind of program?
shell program
What shell do we use?
BASH shell, Bourne Again Shell Bash
What does the command Echo do?
Echo echos back what ever arguments you use
What does the command uname do? And what do the options -r and -p used for?
tells me what system im running
Options
-r running kernal version
-p what processors is being used
What does the command ls do? What is the option -l used for?
ls is the files listing. -l is used to display the long listing of the files
What does the command ps do? What are the options -a and -x used for?
ps displays processes, -a is for all process, and -x is for listing process that dont have a terminal
What does the command man do?
man command is used in conjunction with a another command ( man ls) to get the manual of a given command.
What does the command whoami do?
Tells you what user are you
What does the command su do?
switch user, by it self it switches you to the root user
propper structure for a full command
Command - options - argument
What is an argument
an argument is the item that is going to receive the action from the command
What is an option
Option changes slightly how the command works, starts with a dash -
What is the history command used for?
the history command brings up all of the commands we have used