Tuesday, December 31, 2019

It is All About Slash(es)


Stupid, simple, useful things you learn by total accident...
There is a "-p" flag for ls that adds a trailing slash to directories, making really easy to find if you're looking at a directory or a file.
Right now, my ls aliases looks like this:

alias ls='ls -CFp --color=auto'
alias lsa='ls -lshap --color=auto'
alias lst='ls -lshapt --color=auto'

Labels: , ,

0 Comments:

Post a Comment

<< Home