Answer Posted / pitambar mishra
Different types of command using delimiter :
1. cut -d "|" -f6 emp.lst
d : delimiter or field separator
2. sort -t "|" -nk6 emp.lst
t : delimiter or field separator
3. awk -F "|" '{print $6}' emp.lst
F : delimiter or field separator
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the best scripting language?
What is the command to find out users on the system?
What does echo mean in scripting?
wats the deinitions for shell utility and filter?
How to use arguments in a script?
Is shell a scripting language?
how to get part of string variable with echo command only?
What is option in shell script?
What is subshell?
Print the 10th line without using tail and head command.
Where are cowrie shells found?
Why are there shells on the beach?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What makes c shell a more preferable option than the bourne shell?
What will happen to my current process when I execute a command using exec?