how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / raj
sed '51p' filename
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Enlist some filename manipulation commands in unix.
What is pipe command in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the difference between awk and grep?
Why is shebang used?
What is difference between grep and find command in unix?
Is it inbetween or in between?
How do I use nslookup?
What is the use of egrep command in unix?
What is the comma to display different lines that are found when compare two files?
What does #!/ Bin sh do?
How do I search for a file in unix command?
How does shebang work?
What is s and g in sed command?