ls - list directory contents
List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Show all files including hidden files. That is entries starting with .
Same as above, except do not list implied . and .. directories
print the author of each file
print C-style escapes for nongraphic characters
scale sizes by SIZE before printing them; e.g., ‘—block-size=M’ prints sizes in units of 1,048,576 bytes; see SIZE format below
do not list implied entries ending with ~
-c (with -lt)
sort by, and show, ctime (time of last modification of file status information); with -l: show ctime and sort by name; with -lt: sort by ctime, newest first
list entries by columns
- Ordered list
- Another list
- unordered list
- Another list item
- Sub item
- First ordered list item
- Another item
- Unordered sub-list.
- Actual numbers don’t matter, just that it’s a number
- Ordered sub-list
- And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we’ll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ Note that this line is separate, but within the same paragraph.⋅⋅ (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
- Unordered list can use asterisks
- Or minuses
- Or pluses
Colons can be used to align columns.
|col 3 is||right-aligned||$1600|
|col 2 is||centered||$12|
|zebra stripes||are neat||$1|