10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies
2. Shell Programming and Scripting
Hello,
I have a list of files, an example below:
-rw-r--r-- 1 smf_oper esg 910773 Jul 6 12:52 am1slc02_ACS_201607061242571_20346.cdr
-rw-r--r-- 1 smf_oper esg 995838 Jul 6 12:52 am1slc01_ACS_201607061243125_19895.cdr
-rw-r--r-- 1 smf_oper esg 557235 Jul 6 12:52... (5 Replies)
Discussion started by: nms
5 Replies
3. Shell Programming and Scripting
Hi ,
I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder.
Thanks in advance. (8 Replies)
Discussion started by: Anupam_Halder
8 Replies
4. Shell Programming and Scripting
Hi,
I need to grep for a string "Color Yellow" in all log files dated 5 days back until today's date .
So, as today is 20 Dec i need to find in all logs from 16th dec to 20 dec.
Also, i need ls -ltre output for the files that have the "Collor Yellow" string.
Below is my OS:
... (1 Reply)
Discussion started by: mohtashims
1 Replies
5. Shell Programming and Scripting
Hi All,
I'm a new member of this Forum. I have need your help to handle this request.
"Compress a file name not of today but of yesterday only".
For example
0 mar 08:00 TEST_RPT_STATUS_M1I_CMI20120320.xls
20 mar 08:00 TEST_RPT_STATUS_M1I_CMI20120320.rep
21 mar 08:00... (6 Replies)
Discussion started by: gio123bgg
6 Replies
6. Shell Programming and Scripting
i want to find unix file created how many days ago? (4 Replies)
Discussion started by: utoptas
4 Replies
7. Shell Programming and Scripting
I am interested in creating a new file from a KSH script where the first line is printed. I know how to create the file, but creating with a pre-defined first line is what I need help with.
My code below creates the file, but how do I accomplish that and do it so that when I open that txt file... (5 Replies)
Discussion started by: royarellano
5 Replies
8. UNIX for Dummies Questions & Answers
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
Discussion started by: glev2005
5 Replies
9. Shell Programming and Scripting
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (2 Replies)
Discussion started by: YoungBlood
2 Replies
10. UNIX for Dummies Questions & Answers
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies