Terminal Commands

11:14:00 AM 0 Comments

Terminal Commands

Ctrl-C: sends the kill signal to terminate the program.

Ctrl-Z: sends the stop signal. Restart the program in the foreground with fg and restart it in the background with bg. Use jobs to list all background programs.

Ctrl-S: scroll lock, to pause output when too much output is scrolling quickly. Then use Shift-PgUp and Shift-PgDn to scroll.

Ctrl-Q: resumes output that was paused with Ctrl-S.

Ctrl-L: clear the screen and put the prompt in the top left corner. Useful for if the screen becomes garbled. Sometimes it doesn't work (like after running 'cat /bin/bash') and so type "reset" (without quotes, even though the word "reset" won't appear right) and hit enter.




stty -a

Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard.