Question: Bash Shell Programming: 2) Copy the flag.txt file from the /etc directory to the local directory Using cat, type the flag number displayed in flag.txt

Bash Shell Programming:

2) Copy the flag.txt file from the /etc directory to the local directory

Using cat, type the flag number displayed in flag.txt that you copied.

Using echo and su, display the contents of the FLAG variable and type in the flag displayed.

3) Using echo and su, display the contents of the FLAG variable and type in the flag displayed.

4) Type the flag number in flag-bash4 file in the /root home folder using cat. (hint: you need to use the su command with the password of P@ssw0rd)

Type the flag number displayed in the Templates directory for the flag file.

5) Using grep, find the flag4* in the flag file in the Documents folder.

Using the sed command to replace me with sed in the flag file and type the flag number displayed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!