Here you will find an assortment of code snippets for a variety of terminal utilities and applications.
Apt is a software package manager.
- Listing installed apps
- Installing a new package
- Searching for packages (packages may have different prefixes or unique naming conventions between linux distributions)
Optionally, if there are too many results, you may pass the search results, using the
| operator to
One applied use case of the powerful
grep utility is recursively searching files for a given parameter or value.
-r flag enables recursive searching in the location
. (current directory).
Sshfs allows the local mounting of remote file systems. Mounts can be manual (session-based) or permanent (via
fstab system entries)
- Manual (session-based)
- Unmounting the share
sudo may be required depending on your chosen
local mounting point. However, this will then require you to have
sudo read/write privileges for full access to the share
This tool is a terminal multiplexer allowing a user to run multiple parallel command line terminal prompts while allowing them to run in the background. Benefits include running time-consuming tasks on remote servers while being able to exit the
- Create a new session
- Detach from a running session
CTRL + bfollowed by
- Attach to an existing session
- List existing sessions
- Remove session
For documentation material on the Bash cli, read the introduction to Bash page.