Bash
Find all files containing a given string
A quick one-liner to recursively search files for a given text string.
Open up a terminal session and enter
Linux
Kill unresponsive applications on Linux
Sometimes things go a bit wrong. Sometimes they go very wrong. XKill is a simple little application that allows you
Linux
Collaborate in the shell with screen (multiuser)
Screen is a neat little program that allows you to use multiple virtual terminals in a single session on Unix/
Tutorials
Remove duplicate lines from text files (with sort)
A quick method to remove duplicates from text files - including for example CSV files - where multiple records have been added
Tutorials
Use bash brace expansion to save {hours,days}
Brace expansion is one of the most powerful bash tricks with the potential to save you considerable time. Bash brace
Tutorials
Find All Running Processes of a Program
Find the pids of all instances/processes of a given program running on your system
Tutorials
Re-execute command line with !
Bash history expansion allows you to quickly re-run previous commands using ! and the number of the command in your history.
Tutorials
Control-R Through Your History
Interactively search through your command line history with a simple keyboard shortcut.
Tutorials
Use screen to manage persistent sessions
GNU Screen is a command-line application that allows use of multiple virtual sessions within a single real terminal or
Tutorials
Show Warning in Prompt When Shell Loses Directory
In this quick tutorial we'll learn how to show a warning in the Terminal's prompt when