write a program to display all the files from the current
directory which are created in particular month
Answer Posted / pitambar mishra
Mr. Rakesh,
It is a unix forum. You have written the program in C language. Please convert the program in to shell script.
Ans:
ls -l|grep -i sep
ls -l|awk '/Sep/ {print}'
ls -l|sed -n '/Sep/ p'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you emulate wc –l using awk?
What are the advantages of shell scripting?
What is a batch file used for?
What is the equivalent of a file shortcut that we have a window on a linux system?
Why is a script important?
What is echo in shell?
What is k shell?
How do I stop script errors?
What is shell application?
What is a beat in a script?
What is basename in shell script?
What are the different types of commonly used shells on a typical linux system?
What is in a script?
What does $@ mean bash?
How do I set bash as default shell mac?