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

If we want to see first 35 lines of a file which command we
have to use?

Answer Posted / pitambar mishra

head -35 filename

awk 'NR<=35 {print}' filename

sed '35 q' filename
sed -n '1,35 p' 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 function of grep command in unix?

1187


Who command in unix?

1147


What is the behavioural difference between cmp and diff commands?

1289


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

1251


What is the use of find command in unix?

1157


What does #!/ Bin sh do?

1068


Explain mount and unmount command.

1226


What are filter commands in unix?

1204


What are the dos commands?

1267


Enlist some filename manipulation commands in unix.

1162


How can you see the command line history?

1143


What command is used to switching between users in unix?

1084


Write a command to kill the last background job?

1107


What does pipe () return?

1077


What will the following command do?

1125