add example for mktemp

This commit is contained in:
Bonnie I-Man Ng 2023-03-15 07:29:08 +00:00
parent 5d5b83b7b8
commit 1b42d476e4

View File

@ -3147,6 +3147,7 @@ rsync -av directory user@ip_address:/path/to/directory.bak
##### Create a temporary directory and `cd` into it
```bash
cd $(mktemp -d)
# for example, this will create a temporary directory "/tmp/tmp.TivmPLUXFT"
```
##### Make all directories at one time!