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

in a growing log file how will you see the 1st 99 lines?

Answer Posted / kiruthiga.s

Syntax:
head -99 file name
if file name is test1.txt
Example:
head -99 test1.txt

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

1144


Explain how to use grep command to list find the records of a file containing 10 different strings?

1016


What is sed awk grep?

1074


Explain ‘library functions’ with respect to unix commands?

1114


What is nr in awk command?

1136


Describe the zip/unzip command using gzip.

1103


how to sort the content of the file based on numeric values

1734


What is used to type command?

1012


Give the command for finding the current date.

1040


Explain command to display different lines that are found when compare two files?

1109


How do I run a whois command?

1100


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1150


Why is shebang used?

1043


What is the search command in unix?

1050


What are the commands in UNIX to list the files in a Directory?

1110