Question

23. When killing a background process with the kill command you would use the $ps –ef...

23. When killing a background process with the kill command you would use the $ps –ef | grep “process name” command to get the “PID” number then kill -9 that PID number. [True / False]

0 0
Add a comment Improve this question Transcribed image text
Answer #1

An suer

True

Add a comment
Know the answer?
Add Answer to:
23. When killing a background process with the kill command you would use the $ps –ef...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You are currently running/debugging a shell script program in the foreground that seems to be in an infinite loop, to terminate/kill the shell script program. 7. (type/enter - control C to send a &#3...

    You are currently running/debugging a shell script program in the foreground that seems to be in an infinite loop, to terminate/kill the shell script program. 7. (type/enter - control C to send a "program interrupt" ) or (contact the sysadmin person to kill your shell script program) 8. The UNIX/Linux exit command entered on the KORN shell command line will exit the shell session properly (best practice). [True / False] When killing a background process with the kill command you...

  • What following meaning? 1. at command : 2. background (bg) command : 3. background process :...

    What following meaning? 1. at command : 2. background (bg) command : 3. background process : 4. child process : 5. jobs command : 6. kill command : 7. kill signal : 8. kill all command : 9. nice command : 10. parent process : 11. parent process ID (PPID) : 12. process : 13. process ID (PID) : 14. process priority : 15. process state : 16. ps command : 17. pstree command : 18. top command: 19. trapping...

  • Process Management in Linux Use the “ps” command to get a snapshot of current running processes....

    Process Management in Linux Use the “ps” command to get a snapshot of current running processes. i) Use “ps ” to get all processes ii) Use “ps -f” to get more details iii) What is the PID of your "bash" process? iv) Use pgrep or “| grep” to search for “bash” Please provide screenshots

  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type ps –ef | grep bash and press Enter to view the bash shells that are running in memory on your computer. Record the PID of the bash shell running in your terminal (tty2): . At the command prompt, type kill –l and press...

  • What are the exact commands I should use to complete the task? 1. Run command (date;...

    What are the exact commands I should use to complete the task? 1. Run command (date; sleep 45; echo “Done.”; date) > date.out in the foreground (i.e. without &) 2. Suspend it with Ctrl-Z. Pay attention to the number in the [], it will become handy later. This number is the job number of the command that has been suspended. 3. Run command top to display only processes started by you (i.e. associated with your userid). Write down the process...

  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type sleep 6000 and press Enter to start the sleep com- mand, which waits 6000 seconds in the foreground. Do you get your prompt back after you enter this command? Why? Send the process an INT signal by typing theCtrl+c key combination. At the...

  • What are the exact commands I should use to complete the task. 1. Using the ps...

    What are the exact commands I should use to complete the task. 1. Using the ps –ef and grep command list all processes started by you (i.e. owned by your userid). (Hint: ‘^userid’ with match with a line that start with userid.) 2. Run command group (echo “Snoozing…”; date; sleep 50; echo “Awake.”;date ) > sleep.out & Note: Do not omit the parenthesis!!! 3. Repeat 1, identify process number of the process sleep 4. Display the content of file sleep.out...

  • Why might you send the command kill -1 to the process ID number of the apache...

    Why might you send the command kill -1 to the process ID number of the apache web server instead of kill -9? kill -1 must be used when you are the root user. Kill -9 is only a “polite” request, and often doesn’t work. Because you want your web server to restart and re-read its configuration file, not shut down. Because you should start at the lowest number first, and only raise the number if the prior number doesn’t work.

  • Hide Assignment Information Instructions Instructions for Lab 6 First, a little review on processes How to...

    Hide Assignment Information Instructions Instructions for Lab 6 First, a little review on processes How to view processes (6 minutes) On the top of all your documents, always include these items: your name: date: Lab number Repeat the process that you used to save the log file that will be produced by this lab. You can either use the log feature on putty or the script command at the shell prompt. Login to our system and follow these steps while...

  • I will provide, best rating. Please help me out understand how to solve part 2 of...

    I will provide, best rating. Please help me out understand how to solve part 2 of this problem. I'm not sure how to make this work using ONLY the exec-family. No system() function call. 1. Using either a UNIX or a Linux system, write a C program that forks a child process that ultimately becomes a zombie process. This zombie process must remain in the system for at least 10 seconds. Process states can be obtained from the command: ps...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT