×
Answer the following questions:
FIRST_NAME
and set it equal to your first name (this does not need to be permanent)FIRST_NAME
variable$PATH
variable$PATH
variable?kill
and kill -9
?grep
flag allows for case insensitive search?grep
flag allows for a certain number of lines before the match?grep
flag allows for a certain number of lines around the match?grep
flag allows for a certain number of lines after the match?grep
flag allows for full word search?grep
flag shows you the line number of a match?Write the following terminal commands to do the following (assume that instructors.txt
is an imaginary file):
Desktop
folder that have a name of "learn."Desktop
folder that start with a "P."Desktop
folder that end with .txt
.Desktop/views
folder that have the name data
somewhere in their filename.instructors.txt
file, output the number of times the word "Elie" appears.instructors.txt
file, list all matches for any full word that starts with a capital "P."instructors.txt
file, list all the line numbers for any full word that starts with a "z" (it should match regardless of upper or lower case).You can find the solutions here
When you're ready, move on to SSH