With the help of an example for each, write the usage and syntax for the following LINUX commands.

(1)cAT[OPTIONS] FILE  –  concatenate (list) a file

(2) diff [option] file1 file2  – compare the
two files and display the differnces (text files only)

(3) sort [option] file  –  read commands form the file and execute them
in the current shell. source: C shell, :Bpurne charc


(4)cmp[option] file1 file2  –  compress file and save it as file.Z

Leave a Reply