Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How would you compare the strings in a shell script?

935


Is bash a shell script?

1010


What is the syntax of while loop in shell scripting?

985


What is the crontab?

1018


Why are there shells on the beach?

1066


What is shell scripting?

993


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

2712


What is bash coding?

873


Differentiate between ‘ and ” quotes.

1099


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

994


What is scripting autism?

1170


What are the different commands available to check the disk usage?

930


How to check if a directory exists?

1117


How can we find the process name from its process id?

1139


Why are shell scripts used?

1031