Linux Terminal Cheat Sheet This is a derivative work under a CC BY-NC-SA 4.0 license. See license information section for more details. This document should be viewed with a monospace font and without line wrapping. This document aims to improve the original by adding content, removing outdated information, improving readability and formatting, improving examples, and various other changes. Legend | Placeholders are contained in '<' and '>', they should be replaced with the relevant string, e.g. '' could be 'options.json' | A number will be appended to indicate separate placeholders of the same type, e.g. , | Multiple options are each separated by a '/' in the placeholder, some placeholders with multiple options include literal strings of text which should not be replaced, e.g. '' could be 'y' or 'n' | | is the path or name of a file | is the path to a directory, it should be inside '' or "" if the path includes whitespaces or other special characters | is any valid terminal command | can be any valid whole number, and can have decimals or other restrictions if specified | can be the name of any valid package in a package repository |
can be any valid URL or IP address | is the path or name of an archive file | can be almost any string of characters | can be any valid disk path, e.g. '/dev/sda' | can be any valid disk or partition path, e.g. '/dev/nvme0n1p1' or '/dev/sdb' | can be a file or directory acting as a source | can be a file or directory acting as a destination |