Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left

  Apply Now

Linux Basics

69 / 107

Send a process in background

There is a command called sleep which can make you wait or suspend your terminal for a specified time. So, it pauses the execution of next command for a given time.

So, you can suspend your terminal for 5 seconds like:

sleep 5

We can also use s suffix with number for seconds(which is by default), m for minutes, h for hours and d for days. So you can use sleep 2m to suspend terminal for 2 minutes.

Please send sleep command in background using:

sleep 1000 &

Note - You will get a process ID on the execution of the above command

See Answer

No hints are availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...