Search This Blog

Loading...

Monday, April 4, 2011

ls exclude

http://www.unix.com/shell-programming-scripting/100038-ls-exclude-pattern.html

# See all files ending in .html
ls | grep "\.html$"
# see all files not ending in .html
ls | grep -v "\.html$"

0 comments:

Fractal

Loading...

Blog Archive

Bacteria

Loading...