Linux
1. Create a file called ptest that contains two commands on twolines:
a. a command to sleep for 10 seconds
b. a command to create a banner from the word hello Give thisfile execute permission.
2. Run the file ptest twice: a. first in the foreground b. then,in the background while still logged on
3. Use nohup to run ptest in the background, then logoff beforethe banner appears. Log back on and cat the contents ofnohup.out.
a. What is in the file nohup.out? (Write your answer on the textfor cmds.lab6)
b. Repeat step3a and cat nohup.out again. What is in the filethe second time? (Write your
PayPal Gateway not configured
PayPal Gateway not configured