Show Menu
Cheatography

Linux II Cheat Sheet (DRAFT) by

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 requir­ements 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 [OPTIO­N]... [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]
Descri­ption
| cal utility displays a simple calendar in tradit­ional format
 
| ncal unitility offers an altern­ative 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 highli­ghting
{{-J}}
| displays JUlilan calendar
{{-m}}
|