Skip to content

Latest commit

 

History

History

0x05-processes_and_signals

0x05. Processes and signals

Resources:books:

Read or watch:


Learning Objectives:bulb:

What you should learn from this project:

  • What is a PID
  • What is a process
  • How to find a process’ PID
  • How to kill a process
  • What is a signal
  • What are the 2 signals that cannot be ignored

  • Write a Bash script that displays its own PID.
  • Write a Bash script that displays a list of currently running processes.
  • Using your previous exercise command, write a Bash script that displays lines containing the bash word, thus allowing you to easily get the PID of your Bash process.
  • Write a Bash script that displays the PID, along with the process name, of processes whose name contain the word bash.
  • Write a Bash script that displays To infinity and beyond indefinitely.
  • We stopped our 4-to_infinity_and_beyond process using ctrl+c in the previous task, there is actually another way to do this.
  • Write a Bash script that stops 4-to_infinity_and_beyond process.
  • Write a Bash script that displays:
  • Write a Bash script that kills the process 7-highlander.

Author