add others

clear the contents of a file
This commit is contained in:
onceupon 2017-04-17 12:02:43 +08:00 committed by GitHub
parent 6e6112f324
commit 5c8c94171c

View File

@ -1317,6 +1317,12 @@ $- :current options set for the shell.
$$ :pid of the current shell (not subshell). $$ :pid of the current shell (not subshell).
$! :is the PID of the most recent background command. $! :is the PID of the most recent background command.
##### clear the contents of a file (e.g. filename)
```bash
>filename
```
## System ## System
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)] [[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]