Hii...
I want to list folders (no files and no symbolic links)..
But my
is giving me error..
please help...
Esham
Hii...
I want to list folders (no files and no symbolic links)..
But my
is giving me error..
please help...
Esham
Is there any option like
d* not working..
thanks..
ls -l | grep "^d"
Thank you for the reply..
Can i do the same with awk..
esham
ls -l | awk '/^d/'
also ....
[ -d dir ] && some_command
I want to list the contents which is not symolic links...
I know to list which is symbolic link like
test -L filename
but i want the negation of this..
Please help
esham
negation ....
[ ! -L filename ] && some_code
Thanks a lot..
cheers
esham