Thursday, June 3, 2010

Simple use of cut

ls -l | cut -d " " -f 1 : to print the permissions only
ls -l | cut -d " " -f2- : for the rest of fields

No comments:

Post a Comment