Skip to content

Instantly share code, notes, and snippets.

@seungjin
Created August 19, 2010 18:12
Show Gist options
  • Save seungjin/538518 to your computer and use it in GitHub Desktop.
Save seungjin/538518 to your computer and use it in GitHub Desktop.
my bash shell for ll and lla
#!/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}'
}
@seungjin
Copy link
Author

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

@seungjin
Copy link
Author

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