hi
i have error like this' syntax error end of file unexecpeted.and give me the example of cut command
as soon as possible:
Looks like there is a syntax problem. check if all the loops are closed.
cat file1 | tr -s " " | cut -d " " -f 2
This command opens the file, tr-s command deletes the extra spaces, so that space can be used as a delimiter.
For more information, man cut...