Yep, I can also never remember the useful ls command combos so I'm adding them all here so I can check in and grab them.
List files by modified date in reverse order (last edited on last line, the most useful way to do it!)
List all directories in current directory
ls -d */
List everything on a new line
Show hidden files
Show files recursively - not massively useful unless piped to something else.
Show list of files including inode value, useful when you want to delete those files with crappy filenames.
Article Category Tags
Click one to see related articles hand-written by Cowshed WorksCode