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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started