Write a command to find all the subdirectories that contain \"foo\" in their nam
ID: 3836454 • Letter: W
Question
Write a command to find all the subdirectories that contain "foo" in their names under the current directory. Here, /aaa/bbb/eee is a valid subdirectory under directory/aaa. Command head -10 foo prints the first 10 lines of the file "foo". Command tail -10 foo prints the last 10 lines of the file "foo". Write a command to print lines number 20 to 30 from the file. When you run commands vin took and then vin bark, it launches two instances of vin programs running in the background, as below: > vin foot [2] 50834 > vin bark [3] 50836 Write down the command that allows you to bring the second instance (on file foo) to the terminal foreground so that you can edit foo? Write a bash script named "mymv" that does the same thing as command mv. You should not use "mv" in your script.Explanation / Answer
14)
15)
fg
which will allow you to get back to the foreground for the second instance. you can then kill it using the pid.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.