Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # Useful Commands
  2.  
  3. ## Bash
  4.  
  5. | Command | Meaning |
  6. | ------- | ------- |
  7. | `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. |
  8. | `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