How to use cut Here are some basic examples of using cut command. $ designates the shell prompt.
cut first 10 characters:
$ cut -c1-10
cut from third character to the end of the line
$ cut -c3-
cut 1 and 5 fields from passwd file
$ cut -f 1,5 -d : /etc/passwd
How to delete a very large number of files on Unix When you are trying to delete a very large number of files in a directory on Unix you may get an error message similar to this: "Argument list too long" (I also had this problem on Windows running cygwin). In this case you can use the following command, which will ...