mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
add others
clear the contents of a file
This commit is contained in:
parent
6e6112f324
commit
5c8c94171c
@ -1317,6 +1317,12 @@ $- :current options set for the shell.
|
||||
$$ :pid of the current shell (not subshell).
|
||||
$! :is the PID of the most recent background command.
|
||||
|
||||
##### clear the contents of a file (e.g. filename)
|
||||
```bash
|
||||
>filename
|
||||
```
|
||||
|
||||
|
||||
|
||||
## System
|
||||
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
|
||||
|
Loading…
Reference in New Issue
Block a user