- Get total memory usage of a program - You can use ps to list details of the processes running on your system and awk to filter for a particular program and total the values. In this case we’ll total the RSS, which is awk’s 6th token hence the $6 in the command. If you wanted t...
- Text manipulation - cut, awk and sed - Tokenize strings using cut If you know the exact delimiter (e.g. a tab) you can use cut. The format is cut -ddelimiter -ffield_number filename where delimiter is the delimiter, field_number is the number of the field we want and filename is ...

