Created
April 16, 2010 06:58
-
-
Save mbadran/368113 to your computer and use it in GitHub Desktop.
commandline tips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ctrl-z | |
# put a process in the background | |
fg | |
# bring a background process into the foreground | |
tail -f filename | |
# follow a in real time (eg. a log file) | |
#ctrl-s | |
# suspend display on the terminal | |
# ctrl-q | |
# resume display on the terminal | |
cd - | |
# go to previous directory | |
> filename | |
# zero out a file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment