How i'll delete a particular line from the file? Please give
answer as soon as possible. Thanks in advance.

Answer Posted / rajasekhar.v

sed 'nd' filename
n means which line you want to delect

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to sort the content of the file based on numeric values

1496


Why is shebang used?

794


What is the unix command to confirm a remote host is alive or not?

781


How does the system know where one command ends and another begins?

1839


What is grep in bash?

760






What is the significance of the 'tee' command?

804


Explain the steps that a shell follows while processing a command.

899


What is a command and examples?

786


What is ‘ps’ command for?

830


How do you repeat a command in terminal?

819


Explain ‘system calls’ with respect to unix commands?

768


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

835


What is difference between grep and find command in unix?

820


What is grep command in unix with examples?

808


What is the use of the command 'ls -x chapter[1-5]' ?

882