10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
2. Shell Programming and Scripting
i want to find a command in history for specific date .
is it possible that i can view ?? (1 Reply)
Discussion started by: scriptor
3. Shell Programming and Scripting
I am looking to find files of a specific date.
I am on Sun Solaris so newermt doesnot work..
I thought of using mtime but not getting how to use it.
Please help me with this..
Abhinav (3 Replies)
Discussion started by: abhi1988sri
4. Shell Programming and Scripting
I am new to UNIX , I am looking for a script which can show me list of file created on previous date within specified directory.
Mack (9 Replies)
Discussion started by: mackjack
5. Shell Programming and Scripting
kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory
do u have any command (4 Replies)
Discussion started by: maxim42
Can I print the date of a specific date?
Let say, today is 20 and I want to print in date format the day 14
I know that I can do this:
date --date='last Mon'
How can I do this?:
date --date='last 14'
?? (7 Replies)
Discussion started by: kernel_panic
7. UNIX Desktop Questions & Answers
Guys, I am wondering how to remove files for a specific date in a directory?
for instance when I do ls -l , i see many files. And i want to delete files for date May 15:
58252015 May 10 03:45 my_05102012.log
58252015 May 15 06:45 my_05152012.log
Thanks (8 Replies)
Discussion started by: DallasT
8. Shell Programming and Scripting
i have few files generated everyday with a date stamp. Sometimes it happens that if the files are generated late i.e after 00:00 hrs the date stamp will be of the next day.
in the above example file4 is also for the previous... (2 Replies)
Discussion started by: gpk_newbie
9. UNIX for Dummies Questions & Answers
Howto view gzipped files with name file.gz.$DATE on a Solaris box (without unzipping first)
$ ls -lrt
-rwxrwxr-x 1 oracle dba 569745 Apr 4 19:45 4_person2profileCon.txt.gz.04.04.11*
-rwxrwxr-x 1 oracle dba 3783 Apr 4 19:45... (4 Replies)
Discussion started by: slashdotweenie
10. Shell Programming and Scripting
I have a UNIX box where in files are created every 5 minutes. I need to write a shell script which will take in the date as parameter and return me all files created on that day. Also I will like it to show me only files which have a size greater than 0 i.e. non-empty files. how do I go abt this? I... (6 Replies)
Discussion started by: krahuliyer