diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2022-12-21 01:13:31 +0100 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2022-12-21 01:13:31 +0100 |
commit | c58e2daa4479ca4d731fa97c68b18f1632f14dd7 (patch) | |
tree | 7c33e077806ffd2b5f52992d1d5a0c901296da5c | |
parent | bd7260bf4f1ddafa37abcba6a8b88ce6a23aad26 (diff) |
Add system utils sheet
-rw-r--r-- | system-utils.md | 9 |
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 |