ht19080302 [macOS, Windows, Linux] Useful Command Line Commands

[macOS, Windows, Linux] Useful Command Line Commands

 

 

macOS Job Control [Linux, UNIX]

 

Run command in background (add ampersand (&)):

$ YOUR_COMMAND &

 

Put current job in background and stop it (ctrl-z):

(Hit control z) this will also stop the process

 

Continue job in background (bg)

$ bg

 

List current background jobs

$ jobs

 

Put background job to foreground (fg)

$ fg

 

 

Helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *