How to display a file name which has zero bytes in size.
Answer Posted / akula
ls -ltr | grep "^-" | sort -nk5 | head -1
or
ls -ltr | grep "^-" | sort -nk5 | head -1 | awk '{ print $9 }'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What command will change your prompt to myprompt?
Which command will print your home directory on screen?
What is command substitution?
What is the significance of the 'tee' command?
What is sed awk grep?
What is grep short for?
What command is used to check the current users?
What is the size of time_t?
What is merge command in unix?
How do you grep recursively?
What do chown command do?
What does grep v grep do?
Why is shebang used?
Give the command for finding the current date.
What is grep r?