10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Good day to all.
I'm relatively new in using the Sun Solaris OS. I would like to request your expertise in helping to solve a problem that I have at work. Not sure if this has been asked before but I have tried searching through the internet to no avail.
Basically I have 2 sun solaris... (8 Replies)
Discussion started by: Fossil_84
8 Replies
2. Shell Programming and Scripting
I am trying to do a comparison of files based on their last modified date.
I am pulling the first file from a webapp folder using curl.
curl --silent -I http://localhost:8023/conf/log4j2.xml | grep Last
Last-Modified: Tue, 22 Mar 2016 22:02:18 GMT
The second file is on local disk.
stat... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
3. HP-UX
I have a file like this
-rwxr-xr-x 1 rewq other 168 Jan 13 07:05 check_files.sh
I want to compare (check_files.sh time) with the current time to see if its is older than 2 hours or not
if it is not older than 2 hrs then do something.can someone help me on this?.I dont... (7 Replies)
Discussion started by: haadiya
7 Replies
4. Shell Programming and Scripting
I am trying to compare identically named files in different directories and replace a file only with a newer version. Is there a way of doing this?
TIA (4 Replies)
Discussion started by: wbport
4 Replies
5. Shell Programming and Scripting
I want to write a shell script which will run when a new terminal is opened and will display Good Morning or Good Evening depending on the current time? (2 Replies)
Discussion started by: shounakdas
2 Replies
6. Shell Programming and Scripting
Hello All,
I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are 20091125114556,
20091125114556,20091125114556,20091125114556 respectively.
I need to differentiate... (9 Replies)
Discussion started by: RSC1985
9 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are 20091125114556,
20091125114556,20091125114556,20091125114556 respectively.
I need to differentiate... (1 Reply)
Discussion started by: RSC1985
1 Replies
8. UNIX for Dummies Questions & Answers
Hi guys,
Is there a way whereby i can grep the last updated time of a log file and compare it with the server time?
Thanks (5 Replies)
Discussion started by: hanyou.lin
5 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
i have two variables with date/time in the following format:
07/09/08 02:38:32 (mm/dd/yy hh:mm:ss).
I need to do a comparison to find latest one.
Can anyone please help me?
Regards,
G1 (2 Replies)
Discussion started by: jeevan_fimare
2 Replies
10. UNIX for Dummies Questions & Answers
I've looked at several of the previous posts and can't seem to find any that pertain to my problem, I'd appreciate some help if possible.
I have a directory with numerous logs of various names all named by heading and date ie.
dog.20050529.log
dog.20050530.log
... (2 Replies)
Discussion started by: gillr
2 Replies