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

how to find the 51th record of a file containing 100 records
in unix.

Answer Posted / dinesh babu

awk '{if (NR==51) print$0}' filename

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you grep recursively?

1105


Who wrote grep?

1060


How many unix commands are there?

1148


How do you grep a case insensitive?

1044


How do you repeat a command in terminal?

1222


What is the use of find command in unix?

1145


What does awk stand for?

1075


What will the following command do?

1117


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1310


Is ‘du’ a command? If so, what is its use?

1145


What is the use of cut command in unix?

1368


Which command should you use to find the remaining disk space in unix server?

1302


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

1227


What does grep v grep do?

1073


Who command in unix operating system?

1130