178 Part (Cpanel web hosting) II . Getting Around in Linux

178 Part II . Getting Around in Linux The correct syntax of the joinutility is shown below. The output produced consists of one line for each pair of input lines. The default join field used is the first line of each file. join -options FILE1 FILE2 Some of the options used with the utility are shown in Table 4-10. Table 4-10 Options Used with join Option Use -1 FIELD Specifies the FIELD in FILE1 to use when joining files. -2 FIELD Specifies the FIELD in FILE2 to use when joining files. -t CHAR Specifies that the character CHAR is to be used as the separator of the input and output fields. -v FILE# Instructs that a line is to be printed for each unpairable line located in the specified FILE#. –help Displays help information and exits. –version Displays version information and exits. -I Specifies that case is to be ignored when combining files. Following is an example of the use of this utility. # cat list_1 drew jason joe john mike todd # cat list_2 derek jason john pete scott # join list_1 list_2 jason john
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Leave a Reply