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
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
What is the significance of the shebang line in shell scripting?
What is scripting autism?
is this growing field and what is average package in this?
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.
How do I debug a shell script?
How will you print the login names of all users on a system?
Is shell a scripting language?
What is shell and terminal?
How to print all array elements and their respective indexes?
Why do we use shell scripting?
wats the deinitions for shell utility and filter?
What is shell prompt?
Please give me example of " at command , contrab command " how to use
Why do we write bin bash in shell scripts?