Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?
A. –m.n
B. +m.n
C. +n.m+1
D. +(m+l).n
E. None of the above
Answer: Option B
Solution(By Examveda Team)
In the Unix sort command, the -k option is used to specify the key fields to be used for sorting. It allows you to define a custom sort field based on column position. The syntax for using this option is -k start[,end], where start and end are the positions of the starting and ending columns of the key field, respectively. The +m.n option specifies sorting starting after the nth column of the mth field.Therefore, Option B is the correct choice.
Join The Discussion
Comments ( 1 )
Related Questions on Unix
Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
A. ^pat
B. $pat
C. pat$
D. pat^
E. None of the above
Which command is used to sort the lines of data in a file in reverse order
A. sort
B. sh
C. st
D. sort -r
E. None of the above
Which command is used to display the top of the file?
A. cat
B. head
C. more
D. grep
E. None of the above
A. cp chap?? progs
B. cp chap* progs
C. cp chap[12] /progs/*.*
D. cp chap?? /progs/*
E. None of the above
why option A,B AND C is same ?