10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to unix. Kindly help me on this.
My requirement is as below:
I have a path temp/input , temp/CL and temp/CM
I have files in temp/input as below (dates in YYYYMMDDHHMISS)
NMP1515O.CL.20181026111213
NMP1515O.CM.20181025111213
... (4 Replies)
Discussion started by: Shanmugapriya D
4 Replies
2. Shell Programming and Scripting
I have a file with the following content:
a-123-345-232
a-23343-4545-545
a-67676-45454-8787
a-129-8912-9824
b-564-78678-2322
b-5454-76767-8899
b-85554-124-152-29
c-34534-654543-323
(... and so on, actually these are pretty huge records)
Now, I want that the file should not be broken in to... (8 Replies)
Discussion started by: askerbis
8 Replies
3. Shell Programming and Scripting
Not sure how to do the following, but any help would be appreciated.
Has to be done using C shell (sorry about that).
I have about 300 files that I need this done for, but I am only going to give one example. I will just need to know how to execute your solution through some type of loop to... (2 Replies)
Discussion started by: jclanc8
2 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
Just want to ask how can I make a script that will perform like this.
1. Execute the command
2. Then the output of the command will be redirected to a file
2. The file that has been created will have a date on it equivalent to the date and time it was created (or maybe after the... (5 Replies)
Discussion started by: rymnd_12345
5 Replies
5. Shell Programming and Scripting
Hi All,
This is what I am trying to achieve but to no avail.
I have three sets of files which are:
1. One big dictionary file which looks like this:
apple
orange
computer
pear
country
2. Some thousands of text files which are named as 1.dat, 2.dat, 3.dat etc
The text files... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
6. Shell Programming and Scripting
do you have any simple script on how to change the color and font of a string in a script example
echo "===================================="
echo " sample color script"
echo "===================================="
echo " hello "
echo " bye"
on hello,... (3 Replies)
Discussion started by: lhareigh890
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I've set up a script so that a user answers questions, and then these answers come back onto the screen accompanied by text that I've echoed. Is there a way of putting this into a new file?
Thanks (7 Replies)
Discussion started by: likelylad
7 Replies
8. Shell Programming and Scripting
I am writing into a file testfile.txt values like
./XXXXXXCZ1/tprcm10c.bin
./XXXXXXCZ1_HOT/tprcm09c.bin
./XXXXXXCZ_cold/tprcm05c.bin
I want to store the values of tprcm*.bin and XXXXXXCZ* in separate variables
Can anybody Pls hlp me out with this ...
Thanks (2 Replies)
Discussion started by: ultimatix
2 Replies
9. Shell Programming and Scripting
I want to output screen messages to a logfile when executing an automated script. I have tried the script and command to do this but with no luck.
Thanks,
Nicole (5 Replies)
Discussion started by: nsutti
5 Replies
10. UNIX for Dummies Questions & Answers
I was sure there was a way to put a timestamp ina logfile but I can't seem to figure out how.
What I would like to do is after the last messages in the rptmgr.err log is put a timestamp so I know the next time I look whats new. I am using AIX 5.1
any help will great
Thanks (2 Replies)
Discussion started by: rocker40
2 Replies