Cheatography
https://cheatography.com
Linux Command Frequently Used
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Using Help Files [man]
man ls |
| defines the command |
|
| shows requirements for use |
|
| describes the use in more detail |
Q |
| how to exit the man pages |
SYNOPSIS
The SYNOPSIS section of a man page can be difficult to understand but is very important because it provides a concise example of how to use the command. For example, consider the SYNOPSIS of the man page for the cal command: |
- ls [OPTION]... [FILE]... |
Cal Utility
Name |
| cal [-31jy] [-A number] [-B number] [-d yyyy-mm] [[month] year] |
|
| cal [-31j] [-A number] [-B number] [-d yyyy-mm] -m month [year] |
|
| ncal [-C] [-31jy] [-A number] [-B number] [-d yyyy-mm] [[month] year] |
Description |
| cal utility displays a simple calendar in traditional format |
|
| ncal unitility offers an alternative layout, more options and the date of Easter. The new format is a little cramped but it makes a year fit on a 25x80 terminal. |
|
| If arguments are not specified, the current month is displayed. |
The options are as follows: |
{{-h}} |
| turns off current day highlighting |
{{-J}} |
| displays JUlilan calendar |
{{-m}} |
| |
|