Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Quesi. Use the find command to compile a list of all directories in your system ( under the root' / ' directory ) . The
Quesi. Use the find command to compile a list of all directories in your system under the root'directory The command must redirect the output so that the list of directories ends up in a file called directories.txt and the list of error messages in a file called errors.txt
while true
do echo hi Comp students out
done: wq
Oannn # Run the command forever in the background using &
Questand forever in the foreground, suspend it with CTRL and put it into the background using bg Next, run the command jobs, then the command ps Finally, bring the job back into the foreground with
O Dun the command forever four times in the background using & then use the kill command to terminate the process by its job number. Repeat this task but kill the process by specifying its PID.
Quesin..." ~~ Run the command forever in the background using & then use the kill command to suspend stopthe process. Finally, use the bg command to resume running the process.
Suppose there are many forever processes in the background, for example, more than processes in the jobs. We need to kill these processes at once. All processes must be killed unclearly, and the terminal mustn't be killed, terminated, or hanged. Justify your command line
Quen a create a variable called myprjvar in your current bash shell with value project, then make sure that the variable myprjvar is passed from bash to when you run a shell under your bash shell.
a Create a Prj directory under your home directory, add the directory to the end of your current PATH environment variable temporarily and display the value of the PATH variable on the screen.
Questio What is the difference between nice and renice commands? Give a usage
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