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

Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

1320


What is shell terminal?

997


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.

2823


What is a shell environment?

1040


How do I open a jshell in cmd?

1318


Why should we use shell scripts?

1098


How will you print the login names of all users on a system?

1013


What exactly is a shell?

1129


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

1054


How to pass an argument to a script?

1281


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

3520


What are the advantages of shell scripting?

1088


How many fields are present in a crontab file and what does each field specify?

1179


What is bash command used for?

1113


Explain about debugging?

1074