to list a particular line in the file

Answer Posted / ramesh

grep "pattern" filename

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the command ' $who | sort –logfile > newfile' do?

892


What are some command words?

669


What is command substitution?

734


What does grep v do?

642


How can we use grep command in unix?

700






What is the command to view process running?

673


What is the difference between grep and grep?

669


What is the use of finger command?

680


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

767


Write a command to display a file’s contents in various formats?

711


Write a command that will display files in the current directory, in a colored, long format.

781


What is the search command in unix?

678


What is the use of find command in unix?

661


What is the difference between cat and more command?

759


What is ‘ps’ command for?

721