Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- find * -maxdepth 0 ! -name '*.o' -print0 | xargs -0 ls -dl
- function lso {
- find * -maxdepth 0 ! -name "*.$1" -print0 | xargs -0 ls -dl
- }
- $ ls -l
- total 8
- -rw-r--r-- 1 danielbeck staff 0 2 Sep 12:52 pi.c
- -rw-r--r-- 1 danielbeck staff 0 2 Sep 12:52 pi.o
- -rw-r--r-- 1 danielbeck staff 278 31 Aug 06:52 pi.py
- -rw-r--r-- 1 danielbeck staff 0 2 Sep 12:52 pi.pyc
- $ lso
- -rw-r--r-- 1 danielbeck staff 0 2 Sep 12:52 pi.c
- -rw-r--r-- 1 danielbeck staff 278 31 Aug 06:52 pi.py
- -rw-r--r-- 1 danielbeck staff 0 2 Sep 12:52 pi.pyc
- ls -1F | grep -v '[/@=%|]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement