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 meaning of $1 in shell script?
How to write a function?
What is echo in shell?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
Print the 10th line without using tail and head command.
How do I open the shell in cmd?
How do I run a shell script on a mac?
How does ls command work?
is this growing field and what is average package in this?
How to get script name inside a script?
What is a shell script in windows?
What is awk script?
What is k shell?
How do I run a bin bash script?
How do we create command aliases in a shell?