Thursday, April 24, 2008

Linux:command:cut

see 'man cut' for help information. Example here:

$ who am i | cut -f1-2 -d " " #print the first column
$ who am i | cut -f2- -d " " #print non-first columns

No comments:

Locations of visitors to this page