Archive for February, 2015

Bash list only hidden files

A shortcut / alias for listing only hidden files and folders<

alias us="ls -la | grep ^- | awk '{print \$9}' | grep ^\\\."

print only file name with ls -l

There is an easy trick to display only the filename with ls -l

ls -l | awk '{print $9}'

Archives by Subject:

Archives by Month: