if we create a file, in that 10 rows(means 1,2,....9,10
like). i want 7 row exactly, which command use in unix?
plz send this question.
Answer Posted / srinivas bolusupati
sed '7d' fileName.txt
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Name the unix command to find how many days the server has been up.
How do I delete files from command prompt?
What does this command do,"$more readme.txt“?
How do you repeat a command in terminal?
Which command is used to create a directory?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is grep and how do you use it?
What is {} in find command?
What does the command ' $who | sort –logfile > newfile' do?
Name the various commands that are used for the user information in unix.
How does pipe () work?
What is time_t?
How does shebang work?
What is the difference between grep and grep?
Can you explain a little bit about command substitution?