Question: Execute the following 5 commands on your virtual machine. Then create a text file: grep_answers.txt, where you will write 5 sentences, one for each of
Execute the following 5 commands on your virtual machine. Then create a text file: grep_answers.txt, where you will write 5 sentences, one for each of the 5 commands, describing what the command did. Each sentence is worth up to 10 points. Submit awk_answers.txt command_1: cat /etc/passwd | grep ":0:" command_2: cat /etc/passwd | egrep ":1000:|:0:" command_3: cat /etc/group | grep "`whoami`" command_4: cat /etc/ssh/sshd_config | grep "no$" command_5: cat /etc/ssh/sshd_config | grep "^x11"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
