cal: adjust osx version to make it more useful, and add linux version along the same lines
This commit is contained in:
23
pages/linux/cal.md
Normal file
23
pages/linux/cal.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# cal
|
||||
|
||||
> Prints calendar information, with the current day highlighted.
|
||||
|
||||
- Display a calendar for the current month:
|
||||
|
||||
`cal`
|
||||
|
||||
- Use monday as the first day of the week:
|
||||
|
||||
`cal -m`
|
||||
|
||||
- Display a calendar for the current year:
|
||||
|
||||
`cal -y`
|
||||
|
||||
- Display a calendar for a specific year (4 digits):
|
||||
|
||||
`cal {{year}}`
|
||||
|
||||
- Display a calendar for a specific month and year:
|
||||
|
||||
`cal {{month}} {{year}}`
|
Reference in New Issue
Block a user