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 significance of the shebang line in shell scripting?

673


In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

746


What is an inode block?

712


What are the zombie processes?

672


What happens on a system call?

676






What are the 3 standard streams in linux?

680


Why is used in shell scripting?

670


how will you find the total disk space used by a specific user?

689


What does echo mean in scripting?

704


how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com

2256


What is bash coding?

601


What is meant by dos operating system?

698


What is the first line of a shell script called?

700


What exactly is a shell?

733


How do I run a script on mac?

677