Today I Learned

hashrocket A Hashrocket project

List files vertically with ls

The ls command can list files in a directory with the 1 (one) flag:

$ ls -1
foo.txt
bar.txt

I used to use the -l flag for this behavior, but the long listing wasn't what I actually needed.

See More #command-line TILs