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
Describe the zip/unzip command using gzip.
What is the use of tee command?
What is the functionality of a top command?
What is the use of sed command in unix?
What is $0 bash?
What does grep v do?
What is the use of egrep command in unix?
What is the search command in unix?
What are grep patterns?
Why is it called grep?
what is the advaantage of each user having its own copy of the shell?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is awk command used for?
What does 'mkdir' command do in UNIX?
What does touch command do in unix?