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 |
Give the command to display space usage on the UNIX file system.
what will be the output of ls ~/..
Describe the zip/unzip command using gzip.
What command will bring user back to their home directory in UNIX?
What is the first character of the output in ls l command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
use of ls command
what is shell?
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
Enumerate some of the most commonly used network commands in unix?
why unix operating system provides more security than other operating systems?
Which command is used to restrict incoming messages?