10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
In HP-UX how to find the date time difference ?
Start time: 28-APR-2019 21:36:01
End time : 29-APR-2019 00:36:04
----------------------
Difference is
----------------------
Much appreciate any pointer or view on this.
... (3 Replies)
Discussion started by: Siva SQL
3 Replies
2. Red Hat
Hi,
I am facing a problem with the command - TOUCH on Linux.
See the example below:
File on Linux: rw-rw-r-- user1 user1 Jan 01 09:00 test.txt
The file - test.txt was created by the user - user1.
Now, I want to change the date and time, but using other user - user2
The user2... (12 Replies)
Discussion started by: brjohnsmith
12 Replies
3. Shell Programming and Scripting
I want to add/append the info in the following format to my.txt file.
20130702|abcd20130702.txt FN|SN|DOB
I tried the below script but it throws me some exceptions.
<#!/bin/sh
dt = date '+%y%m%d'members;
echo $dt+|+members+$dt;
/usr/bin/awk -f
BEGIN { FS="|"; OFS="|"; } { print... (6 Replies)
Discussion started by: harik1982
6 Replies
4. Shell Programming and Scripting
Hi All,
I have a process which after some time continues move a files to some folder(say the name of the folder is logdir)
What i am trying to do is as the files are coming to the logdir folder, I want the latest updated time and date
of the folder in PERL. (1 Reply)
Discussion started by: parthmittal2007
1 Replies
5. Shell Programming and Scripting
Everyday 15 files are written to a folder \app\where\thefiles\are\destined\CURRFOLDER
Task1:
I need to add date in YYYYMMDDHHMISS format to each of them.
Example:
File: ACCOUNT.txt
Should be updated as: ACCOUNT_20101005175059.txt
Task 2:
After I update the files, they need to be
... (2 Replies)
Discussion started by: Duminix
2 Replies
6. Shell Programming and Scripting
Dear All,
Please apology to me if this question already posted, because I try to find it but not found.
I have make bash script to automatically download data from ftp and this running very well. and after the data downloaded it will automatically extract the data and keep in the specific... (2 Replies)
Discussion started by: chenboly
2 Replies
7. Shell Programming and Scripting
Hi All,
I really need help in figuring out how to determine the filenames from the time that is specified as parameter.
The script should take as input - the start time and end time in minutes and also start date and end date.
Example: reporter.sh -instance Instance_Name -startTime 13:10... (0 Replies)
Discussion started by: chiru_h
0 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Discussion started by: primp
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
I operate and use HF radars along the California coast for ocean surface currents. The devices use Mac OS as the control and logging software. The software generates thousands of files a week and while I've used PERL in the past to solve the problems of finding files I come to realize some... (6 Replies)
Discussion started by: dpath2o
6 Replies
10. AIX
Hi,
I wanna to find files with specific date and time. I know this command: ls -ltr /system1/*.505 | grep 'Jan 18 09:00'.
I want the 'Jan 18 09:00' not hard coded, I want it coming from the system date and time. And I want the time varies from 09:00-09:05.
Is this possible without heavy... (3 Replies)
Discussion started by: itik
3 Replies