The ls command

NAME

ls - list directory contents

DESCRIPTION

List information about the FILEs (the current directory by default).  Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.

SYNTAX

-a, —all

Show all files including hidden files. That is entries starting with .

-A, —almost-all

Same as above, except do not list implied . and .. directories

—author(with -l)

print the author of each file

-b, —escape

print C-style escapes for nongraphic characters

—block-size=SIZE

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

-B, —ignore-backups

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

-C

list entries by columns

Normal Text

  1. Ordered list
  2. Another list
  3. unordered list
  4. Another list item
  5. Sub item

Link to Google

  1. First ordered list item
  2. Another item
  3. Unordered sub-list.
  4. Actual numbers don’t matter, just that it’s a number
  5. Ordered sub-list
  6. 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.

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1