Chapter 1 Exploring Linux Commands Flashcards
Pg 14 Ryan
What is the Command Line for the manual?
man man
pg 14
whats the command to view the entire environment?
env
pg 18
This Symbol creates a new file containing standard output. If the specified file exist, its over written.No File Descriptor necessary
>
file descriptors
An identification method to describe a program’s input, output, and error
stream as a file.
This Symbol Appends Standard output to the existing file. If the specified file doesn’t exist, it’s created. No File Descriptor necessary
> >
pg 36
Which Command represents the start of a line?
pg 36
Which Command represents the end of a line?
$
pg 19 and 20
What can be used to link together multiple programs so that the output of one program becomes the input of another?
the pipe character is the vertical bar ( | )
What do parentheses do in Linux?
They are often used to specify how operators are to be applied.
pg 36
What is grep?
it searches for files that contain a specified string and returns the name of the file and (if its a text file) a line of context for that string.
in the event , if you cant find the command you want or if you change your mind and want to terminate the search what command do you press?
Ctrl+G
PG 11
to retrieve the last command in your shell history what do you type? It will not only show you the command you recalled but execute it as well.
!! enter
How can you use the numeric sort?
you can sort by using the -n or –numeric-sort option.
what is the command option to break the input file into pieces of size bytes?
-b size or –bytes
pg 6
What command will show you the path of the directory in which you are currently working?
the pwd command