mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
add example for mktemp
This commit is contained in:
parent
5d5b83b7b8
commit
1b42d476e4
@ -3147,6 +3147,7 @@ rsync -av directory user@ip_address:/path/to/directory.bak
|
|||||||
##### Create a temporary directory and `cd` into it
|
##### Create a temporary directory and `cd` into it
|
||||||
```bash
|
```bash
|
||||||
cd $(mktemp -d)
|
cd $(mktemp -d)
|
||||||
|
# for example, this will create a temporary directory "/tmp/tmp.TivmPLUXFT"
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Make all directories at one time!
|
##### Make all directories at one time!
|
||||||
|
Loading…
Reference in New Issue
Block a user