Grep the contents of a file The following command can be used to grep the contents of a file. It will search for any occurances of the string admin. $ grep admin somefile.txt more bash posts Remove a symlink using the unlink command List files by the time they were last modified Iterate through the output of a shell command using a for loop Generating a random alphabetical string in command-line using jot Immediately change to a directory after it is created Find files by type and count the number of lines they contain more Linux posts Importing an OpenVPN configuration file into Network Manager Change default timeouts for starting and stopping systemd units