srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/linux/linux-commands.md
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2022-11-19 23:42:02 +0200
committersrdusr <[email protected]>2022-11-19 23:42:02 +0200
commit301b6713791167f30185eae189c7f0956eab91f0 (patch)
tree5eb28fbf6e20e522ee940d17f16af1c181354676 /linux/linux-commands.md
parent9c386b58096638acf46243fe9a6f86ab0e60b97f (diff)
downloadnotes-301b6713791167f30185eae189c7f0956eab91f0.tar.gz
notes-301b6713791167f30185eae189c7f0956eab91f0.zip
Added linux directory
Diffstat (limited to 'linux/linux-commands.md')
-rw-r--r--linux/linux-commands.md15
1 files changed, 15 insertions, 0 deletions
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
+<Ctrl-Z>
+# Can resume it's running in the background by:
+$ bg <job_id>
+# Bring it back to foreground by inserting:
+$ fg
+# Or this incase of multiple jobs:
+$ fg %<job_id>
+#To suspend the process running in the background, use:
+$ kill -STOP %job_id
+
+