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 path in shell script?

641


What does $@ mean in shell?

594


What is the meaning of $1 in shell script?

600


How do I debug a shell script?

570


How do I run a shell script on a mac?

633






What is the difference between break and continue commands?

579


Is shell a scripting language?

576


What are the different communication commands available in the shell?

521


what is info area how many types?

2297


What language is used in terminal?

560


What does debug script mean?

555


How can I send a mail with a compressed file as an attachment?

558


What is the significance of the shebang line in shell scripting?

533


What shell is bin sh?

536


What happens on a system call?

565