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

Enlist some filename manipulation commands in unix.

1089


How do you grep recursively?

1058


What is awk used for?

1080


Can you explain a little bit about command substitution?

1066


What is the significance of the 'tee' command?

1139


Does cp command overwrite files?

1136


Which command can you use to find the currently running process in unix server?

1073


What does the command '$ls | wc –l > file1' do?

1176


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1159


What is pipe command in unix?

1232


hw will u use awk in replacing cahrs and files

3183


What is sed awk grep?

1074


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

2177


What is unix command?

1204


What is used to type command?

1012