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
Name the various commands that are used for the user information in unix.
Can you explain a little bit about command substitution?
What does the command ' $who | sort –logfile > newfile' do?
What is pipe command in unix?
Can you enlist some commonly used network commands?
How do I clear my terminal history?
Which command is used to create a directory?
What is difference between grep and find command in unix?
Which command can you use to find the currently running process in unix server?
What does awk stand for?
Describe the zip/unzip command using gzip.
Name the unix command to find how many days the server has been up.
How to use grep command to list find the records of a file containing 10 different strings?
Explain ‘library functions’ with respect to unix commands?
What is sed awk grep?