Search Results

Search: Posts Made By: ja156194
4,151
Posted By ja156194
You save the saved the day. It wasnt an if...
You save the saved the day. It wasnt an if statement but i take it. I have to find another time to brush up on if. Thanks to everyone, but if someone still has the time to place a if statement. I...
4,151
Posted By ja156194
for nawk do I use the same format of text...
for nawk do I use the same format of text statment, just sub awk for nawk?
4,151
Posted By ja156194
echo "$tacg"| awk `{ ($2 == 4)? $2 = "Major": $2...
echo "$tacg"| awk `{ ($2 == 4)? $2 = "Major": $2 = "Critical"} {print}`
~
~
~
:wq!
"acgstatus" 17 lines, 746 characters
dalsys:dalmso2 > acgstatus

Database selected.


4452 row(s)...
4,151
Posted By ja156194
"acgstatus" 17 lines, 743 characters ...
"acgstatus" 17 lines, 743 characters
dalsys:dalmso2 > acgstatus

Database selected.
# By MSO Tech II Jason C. Kelsey
db=airgen_cm_db@urban_dbhost
tacg=`echo "select a.neinstanceid,...
1,382
Posted By ja156194
not sure what a samba box is but try using rcp of...
not sure what a samba box is but try using rcp of ftp, but you might have to type xhost+ of the unix box..

If I am way off, I would try to just snake through a few servers who have ftp protocol...
4,151
Posted By ja156194
awk ?
Now i am pretty familar with awk but it appears you are using it in a csh format. Am I mistaken? I ihave payed with it abit and continuiously get a awk statement failure.

It appears it woud work...
4,151
Posted By ja156194
thanks but sed is an easy fix..
I am trying to get a bit more into the arguementive script, because I have another script I am working on and sed would become a problem. I would like to keep it simple and neat. I apprecate the...
1,705
Posted By ja156194
another way i ust thought of
cat file | tee $OLDPWD
cat file > $OLDPWD

this should work from where ever you are in the database. if you hit cd <enter>
this will place you in your home directory. from there type the word set...
4,151
Posted By ja156194
Sub. numbers in column of output with If
This is my script. I am pulling the status of some hard where, but the status is in numerical form. The number 4 means Major and the 5 means Critical. In my script I would like to show the alarm type...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy