Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

5. Kill the sleep process

6. Repeat 1. and verify that the process sleep no longer exist

7. Display the content of file sleep.out

8. Remove file sleep.out

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions