m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/system-utils.md
diff options
context:
space:
mode:
Diffstat (limited to 'system-utils.md')
-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