m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2022-12-21 01:13:31 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2022-12-21 01:13:31 +0100
commitc58e2daa4479ca4d731fa97c68b18f1632f14dd7 (patch)
tree7c33e077806ffd2b5f52992d1d5a0c901296da5c
parentbd7260bf4f1ddafa37abcba6a8b88ce6a23aad26 (diff)
Add system utils sheet
-rw-r--r--system-utils.md9
1 files changed, 9 insertions, 0 deletions
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