Created
August 19, 2010 18:12
-
-
Save seungjin/538518 to your computer and use it in GitHub Desktop.
my bash shell for ll and lla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function ll { | |
ls -lFh | awk '{if ($9) print $9}' | |
} | |
function lla { | |
ls -lFha | awk '{if ($9) print $9}' | |
} | |
function lls { | |
ls -lFhS | awk '{if ($9) print $5 ", " $9}' | |
} | |
BTW,
gnu ls has --format='single-column'".
life easy.. but man ls is not gnu ls. hahahahaha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
file name with space has the problem..
rewrite my own ls with python or ruby? just reinventing wheels?? idk..
when I get free time, will think more