9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to replace strings in test2 according to test1 table. In doing so, I`m losing records that I dont need to replace, please suggest modifications.
what i have
$ cat > test1
a b
c d
$ cat > test2
a
a
a
d
d
what i tried
$ awk ' BEGIN {FS=OFS=" "} FNR==NR{a=$2;next}... (2 Replies)
Discussion started by: senhia83
2 Replies
2. Shell Programming and Scripting
Currently I have the following to separate the numeric values. However the decimal point get separated.
ls -lrt *smp*.cmd | awk '{print $NF}' | sed 's/^.*\///' | sed 's/\(*\)/ & /g'
As an example on the files
n02-z30-dsr65-terr0.50-dc0.05-4x3smp.cmd... (8 Replies)
Discussion started by: kristinu
8 Replies
3. What is on Your Mind?
I have been wondering how do Systems Administrators do the jump into Systems Engineering? Is it only a matter of time and experience or could I actually help myself get there?
Opinions? Books I could read?
Thanks a lot for your help! (0 Replies)
Discussion started by: svalenciatech
0 Replies
4. Shell Programming and Scripting
Hello,
Sorry for the poor tilte but I still don't know how to this.
Here is my problem.
I have to huge log file. In this log file I can know where is stored all my files. As I have to get a reporting of of files I only need to keep the file name but I don't know how to do it. I hope you... (5 Replies)
Discussion started by: Aswex
5 Replies
5. Post Here to Contact Site Administrators and Moderators
I am getting a warning that "Your PM box is 92% full." I have received (and kept) 46 messages; the upper limit is 50 messages. Is there a way to increase this limit, or to store the messages off-line in a way that would permit me to import them back to the site if I want to? 50 messages seems... (6 Replies)
Discussion started by: era
6 Replies
6. AIX
Hi All
We have a WEB Based application running on the IBM AIX server. There is a EOD Job which runs a UNIX script containing EOD Jobs. Say If any job fails then we have to explicitly comment out the jobs which were successfully executed and then re run the same.
Is there any was by which we... (7 Replies)
Discussion started by: Prashantckc
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am not aware whether any one has posted this early or not.
I am creating a house keeping script in which I give the user two options:
1. creating a zip file.
2. removing all files given by user.
Before taking any action I am asking user to
enter full path of file or files to be... (7 Replies)
Discussion started by: Rakesh Bhat
7 Replies
8. Solaris
hi
can anyone tell me how or where to set to enable history of command keyed in to be logged? so that it can be used or traced later.
thanks (3 Replies)
Discussion started by: legato
3 Replies
9. Shell Programming and Scripting
Hi all,
Am trying to execute a loop but having some troubles...
Files that will be query'd use the Julian date (eg: cpu032, cpu365) in their naming convention.
I'm a little lost how to maintain the three character format of the numeric portion of the file name while cycling backwards(or... (13 Replies)
Discussion started by: Cameron
13 Replies