From 301b6713791167f30185eae189c7f0956eab91f0 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 19 Nov 2022 23:42:02 +0200 Subject: Added linux directory --- linux/linux-commands.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 linux/linux-commands.md (limited to 'linux/linux-commands.md') diff --git a/linux/linux-commands.md b/linux/linux-commands.md new file mode 100644 index 0000000..77b6e02 --- /dev/null +++ b/linux/linux-commands.md @@ -0,0 +1,15 @@ +## Job Control +# List jobs, job_id is the numerical value of the job +$ jobs +# suspend job into background, similar to pause so that one can can do something else + +# Can resume it's running in the background by: +$ bg +# Bring it back to foreground by inserting: +$ fg +# Or this incase of multiple jobs: +$ fg % +#To suspend the process running in the background, use: +$ kill -STOP %job_id + + -- cgit v1.2.3