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
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.
What is shell terminal?
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.
What is a shell environment?
How do I open a jshell in cmd?
Why should we use shell scripts?
How will you print the login names of all users on a system?
What exactly is a shell?
What are the different commands available to check the disk usage?
How to pass an argument to a script?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What are the advantages of shell scripting?
How many fields are present in a crontab file and what does each field specify?
What is bash command used for?
Explain about debugging?