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...

A file has 1000 lines and i want to display only 1st line
how to do it?
pls ..tel me

Answer Posted / eswar

head -n 1 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 is the command to find maximum memory taking process on the server?

1223


What is the function of grep command in unix?

1187


What is grep in bash?

1068


What are the differences among a system call, a library function, and a unix command?

1232


How do you grep a case insensitive?

1052


What is ‘ps’ command for?

1187


What is the use of find command in unix?

1157


Which command is used to create a directory?

1172


Which command is used to kill the last background job?

1337


What does the md command do?

1147


What do know about tee command and its usage?

1185


What command will change your prompt to myprompt?

1332


What is awk used for?

1135


What is difference between grep and find command in unix?

1217


Which command is used to find whether the system is 32 bit or 64 bit?

1153