Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

to list a particular line in the file

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


Please Help Members By Posting Answers For Below Questions

Describe the zip/unzip command using gzip.

1223


What is the use of tee command?

1233


What is the functionality of a top command?

1157


What is the use of sed command in unix?

1258


What is $0 bash?

1255


What does grep v do?

1098


What is the use of egrep command in unix?

1240


What is the search command in unix?

1131


What are grep patterns?

1148


Why is it called grep?

1085


what is the advaantage of each user having its own copy of the shell?

2614


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1448


What is awk command used for?

1327


What does 'mkdir' command do in UNIX?

1367


What does touch command do in unix?

1476