m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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