Search Results

Search: Posts Made By: gilberteu
1,837
Posted By gilberteu
Same outcome.
Same outcome.
1,837
Posted By gilberteu
Mailx appending exclamation mark and newline in a long line
Hi,

I have a shell script which automates reporting and at times, requires the report line to be very long (sometimes as long as 2131 chars). The output I get is similar to this:

XXXX XXXXXXX...
6,107
Posted By gilberteu
Thanks Corona688. I didn't think of using the -f...
Thanks Corona688. I didn't think of using the -f option :D I'll try this out.

I would also try out the suggestion posted by elixir and see which works out better for me.
6,107
Posted By gilberteu
Well, I actually have more than 4. Right now, I...
Well, I actually have more than 4. Right now, I have 27 of them and the list may just increase later on. The idea is to make it as dynamic as possible so that no changes to the script would be...
6,107
Posted By gilberteu
AWK : Load variables from file
Hi,

I'm looking for a way for me to load a set of variables (threshold values) from a file using AWK so that when my AWK script processes a file, I can use the threshold values (loaded into an AWK...
Forum: Solaris 04-27-2012
1,504
Posted By gilberteu
How to log an alarm with a specific message ID on Solaris
Hi gurus,

I was wondering if it's possible to log an alarm using logger to hardcode the alarm with a specific message id?

For example:
Apr 27 13:43:55 testhost sendmail[19224]: [ID 702911...
Forum: Solaris 12-26-2007
5,557
Posted By gilberteu
Not sure if this works or not. Try turning...
Not sure if this works or not.

Try turning on passive mode.

ftp> passive

Turning on progress also helps you see if the transfer is running or not.

ftp> progress
Forum: Solaris 12-26-2007
20,573
Posted By gilberteu
Input power unavailable for PSU @ PS0
I have a question here about the OS logs (/var/adm/messages) where it should write most alarms.

I ran a hardware test by showing the Power Supply redundancy. Removing PS0 while PS1 is still...
Forum: Solaris 08-06-2007
21,508
Posted By gilberteu
Hi Awadhesh, Unfortunately, this is not what...
Hi Awadhesh,

Unfortunately, this is not what I am really looking for. I've already set this up on the boxes I have. What I really want is the "Unsuccessful Login" the same way a "Successful Login"...
Forum: Solaris 08-06-2007
21,508
Posted By gilberteu
Last Failed Login
Hi,

Would appreciate it if someone could shed me some light here as I'm yet to find any related information in this forum with regards to my problem.

Basically, I would like to display "Last...
2,068
Posted By gilberteu
Sorry mate. I'm using Solaris 8 and the...
Sorry mate.

I'm using Solaris 8 and the script is written in Korne Shell.
2,068
Posted By gilberteu
Is this a bug or a limitation?
Hi,

I'm having a problem with a while loop syntax that doesn't seem to loop correctly.

TODAY=`date +%d%m%Y`
while read hostname
#for hostname in $(cat $CONFIG)
do...
12,541
Posted By gilberteu
I assume that you only want a particular group to...
I assume that you only want a particular group to receive the message. Do:

[B]man wall

Read about the -g option which allows you to broadcast to a specified group.

Hope this helps.
13,489
Posted By gilberteu
Yeah, that works but you must also make sure that...
Yeah, that works but you must also make sure that the .rhosts for that particular is setup accordingly, if not, you'll get an error:

Permission denied.
26,540
Posted By gilberteu
Thanks for the response. I think my...
Thanks for the response.

I think my alternative works but I am just curious if there's any there is any other way to go about it by NOT creating a stderr file on the remote host.

"rsh $hostname...
26,540
Posted By gilberteu
I think I found an alternative: su -...
I think I found an alternative:

su - username -c "rsh $hostname /opt/gilberteu/scriptname 2>stderr" 1>stdout
26,540
Posted By gilberteu
STDERR output
Hi,

Need some help here on a script I'm writing. I know that STDERR is normally done is this manner:

script 2>stderr.out

However, if I wanted to output the stderr from a rsh command how do I...
4,009
Posted By gilberteu
How do I parse passwords into passwd command.
Do you know of any methods where I can send an input of passwords into the passwd command? For instance, I have a file which has the password stored and I want it to be sent into this command "passwd...
Showing results 1 to 18 of 18

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