8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting.
Can any one guide... (7 Replies)
Discussion started by: ananan
2. Shell Programming and Scripting
i want to make script. In a directory everyday( exclude sat and sun) in between 10 pm to 1 am there are 2 files comes and when file comes it will mail us. Format for files is mentioned below.
please help me on making this, and also have year end consider and if files come after 12 am it... (6 Replies)
Discussion started by: pallvi_mahajan
3. Shell Programming and Scripting
I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis.
file name is in pattern file_2013031801, file_2013031802 etc (2 Replies)
Discussion started by: khattak
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
5. Shell Programming and Scripting
I am trying following ...
ls -ltrh | grep 'Dec 2'
but it is displaying files for last year also ..as this dir is full of files from last 3-5 yrs
I only want to files for today.
ls -ltrh | grep 'Dec 2'
-rw-r----- 1 ajay ajay 0 Dec 2 2010 text23.txt
-rw-r----- ... (19 Replies)
Discussion started by: ajaypatil_am
6. UNIX for Dummies Questions & Answers
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
Discussion started by: meetusha.b
7. UNIX for Dummies Questions & Answers
i'm new here in this forum. I really like the helpful answers in this forum.
Here a short question.
For a script i have to sort files by date and exclude the files of the actual date.
Sorting the files by date and preparing the output for awk is done by this line:
ls -l... (3 Replies)
Discussion started by: carlosdivega
8. UNIX for Dummies Questions & Answers
How to list all the files which are not generated today, and move all the above files to backup dir. (2 Replies)
Discussion started by: redlotus72