How to get the last ten lines of a file using awk utility?
Answer / ajay
awk '{x[NR]=$0} END{for (i=NR-10;i<=NR;i++) print x[i]}'
| Is This Answer Correct ? | 7 Yes | 5 No |
how many internal commands is there in UNIX?
what are the different commands used to create files?
How will you know who are the users logged in to the system before 15 minutes?
hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command
How to install scsi driver in unix? give me explanation clearly?
What does grep v do?
What is an Unix command to convert HEX value to ASCII value located in any flat file.
How to identify whether a file is normal file or directory?
How to check the flavor of UNIX?
when we installing aix os the ssh installed default?
what is the default signal kill in unix?
What are the dos commands?