Answer Posted / jam
To print a specific line without using a string.
sed -n '1p' <filename>
Where 1 is teh line number
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the comma to show the space allocation of files?
What does this command do? Cat food 1 > kitty
What does the metacharacter mean?
Name the various commands that are used for the user information in unix.
What is the use of egrep command in unix?
How to use grep command to list find the records of a file containing 10 different strings?
What is the difference between cat command and more command?
What is the first character of the output in ls l command?
What does #!/ Bin sh do?
Is ‘du’ a command? If so, what is its use?
What is difference between grep and find command in unix?
What is awk command used for?
Differentiate cmp command from diff command.
How do you grep recursively?
What are the differences among a system call, a library function, and a unix command?