write a program to display all the files from the current
directory which are created in particular month

Answer Posted / sathish kumar p

echo "Enter the month name"
read Month
ls -lt | grep $Month

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is $1 in shell scripting?

593


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

522


What is c in shell script?

642


Why should we use shell scripts?

595


Can we run shell script in windows?

584






Explain about shebang?

624


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

584


How to get the 3rd element/column from each line from a file?

699


How do you find out What is your shell?

592


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

599


What is the best scripting language?

568


How to print pid of the current shell?

606


What are the different types of commonly used shells on a typical linux system?

556


Explain about login shell?

638


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

560