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

What is the conditional statement in shell scripting?

895


How to find all the files modified in less than 3 days and save the record in a text file?

837


Write a script to print the first 10 elements of fibonacci series.

2080


Explain how you Automate your application using Shell scripting.

2062


How will you pass and access arguments to a script in linux?

787


What is the fastest scripting language?

738


Is shell and terminal the same?

797


What are the two files of crontab command?

857


Is powershell a language?

763


Is it possible to substitute "ls" command in the place of "echo" command?

819


Explore about environment variables?

779


How does ls command work?

782


What language is used in terminal?

737


What is wc in shell script?

740


What is another name for a bash shell script that you might see?

1217