Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Useful Commands
- ## Bash
- | Command | Meaning |
- | ------- | ------- |
- | `echo -en "\rSomeText"` | Return carriage to the beginning of the line (`-e` and `\r`), write "SomeText" at that point in time. Do not output a new line at the end of the statement (`-n`). Useful for dynamic terminal messages. |
- | `find . -exec touch -am {} \;` | Update the access and modified times for all files in this current directory and all subdirectories. Useful for keeping files around when set to expire after a given amount of time. |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement