If you would like to cut some fields of each line of a file you can use command cut -f (number of fields which should stay).
owi@laptop:~$ cut -f1 filename
You will see only the firs field of line of a file. Sometimes the fields are separated with another symbol for example “:” like in file /etc/passwd. Then you must add –d”:”.
owi@laptop:~$ cut -f1 -d":" /etc/passwd
You can print more then one field but you must separate it with “,”.
If you would like to paste two files you can use command paste. You can of course paste more then two files but then you must separate their names with “,”.