From c58e2daa4479ca4d731fa97c68b18f1632f14dd7 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 21 Dec 2022 01:13:31 +0100 Subject: Add system utils sheet --- system-utils.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 system-utils.md diff --git a/system-utils.md b/system-utils.md new file mode 100644 index 0000000..24b9b02 --- /dev/null +++ b/system-utils.md @@ -0,0 +1,9 @@ +# For basic OS utilities + +* `mktemp`: creates a temporary file in /tmp and returns filename + +## `mount` + +Set file permissions of mounted drive at mount time: + + mount /dev/foo /mnt/bar -o umask=000 -- cgit v1.2.3