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


Please Help Members By Posting Answers For Below Questions

Print the 10th line without using tail and head command.

1970


Where is bash history?

700


How does shell scripting work?

874


What are scripts in psychology?

798


What are the various stages of a linux process it passes through?

868


How do I read a .sh file?

775


How do I debug a shell script?

826


Is shell scripting useful?

828


How do you find out What is your shell?

803


What happens when you type ls?

763


What are the different types of shell scripting?

781


What is the command to find out users on the system?

769


How do you create a shortcut in linux?

823


What does $$ mean in shell script?

817


What is mac default shell?

828