User Tools

Site Tools


opus:fall2012:bkrishe3:unixpart3

unix Keyword 3

Paste

Definition

A Unix command line utility which is used to join files horizontally (parallel merging) by outputting lines consisting of the sequentially corresponding lines of each file specified.

References

unix Keyword 3 Phase 2

Cut

Definition

Cut removes sections of each line of files.

Print selected parts of lines from each FILE to standard output.

References

  • cut man page

Demonstration

brett@ubuntu:~$ cat file
gidlesd
dddiii
llfees
jfkdasdioels
fjoewaqffcjio

brett@ubuntu:~$ cut -c 2-4 file
idl
ddi
lfe
fkd
joe

brett@ubuntu:~$ 
opus/fall2012/bkrishe3/unixpart3.txt · Last modified: 2012/11/29 14:31 by bkrishe3