10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
We want to call a parameter file (.txt) where my application read dynamic values when the job is triggered, one of such values are below:
I am trying to write a... (3 Replies)
Discussion started by: pradeepp
2. Shell Programming and Scripting
SunOS -s 5.10 Generic_147440-04 sun4u sparc SUNW,SPARC-Enterprise
In a folder, there are files. I have a script which reads the current date and subtract the modification date of each file.
How do I achieve this?
Joe (2 Replies)
Discussion started by: roshanbi
3. Shell Programming and Scripting
i have file 1.txt
i want to add today's date and time in the end of each row
todays date... (10 Replies)
Discussion started by: radius
4. Shell Programming and Scripting
Following is my small script:-
for i in `cat /users/jack/mainfile-dr.txt`
sudo cp -r $i /users/jack/DR01/.
sudo tar cvf system1-DR.tar *
scp system1-DR.tar backupserver:/DRFiles/system1
sudo rm -rf system1-DR.tar
In this script I... (10 Replies)
Discussion started by: manalisharmabe
5. UNIX for Dummies Questions & Answers
I am trying to display future date from the current date but unable to do so in UNIX (not in PERL). For eg: if today is March 5 then I want a variable wherein I can store Mar 7 date, but unable to get the future date from the current date.
I have tried many possible ways as mentioned below... (11 Replies)
Discussion started by: amit.mathur08
6. UNIX for Dummies Questions & Answers
I am hoping someone can help me with the required code/script to make this work. I have the following file with records starting at line 4:
NETW~US60~000000000013220694~002~~IT~USD~2.24~20110201~99991231~01~01~20101104~... (4 Replies)
Discussion started by: chumsky
7. Shell Programming and Scripting
I'm using HP-UX B.11.23 operating system.
I've been trying to extract this log info based on the current date and month, but was having some issues as the date column which on the 4th column has a comma and the 5th column has a dot tied to it.
Here is the output from my shut... (5 Replies)
Discussion started by: superHonda123
8. Shell Programming and Scripting
I want to add current date into the begin of the first line of the file.
please show me the way please with "date" commond and sed (4 Replies)
Discussion started by: yanglei_fage
9. Shell Programming and Scripting
how to make bash script to create foo.txt file and add current date into file content and that file always append.
example: today the script run and add today date into content foo.txt
and tomorrow the script will run and add tomorrow date in content foo.txt without remove today... (3 Replies)
Discussion started by: chenboly
10. Shell Programming and Scripting
I need to extract the date part from the file name (20080221 in this ex) and compare it with the current date and delete it, if it is a past date.
$file = exp_ABCD4_T-2584780_upto_20080221.dmp.Z
really appreciate any help.
mkneni (4 Replies)
Discussion started by: MKNENI