Search Results

Search: Posts Made By: nimo
1,065
Posted By nimo
Thanks a lot everyone; both solutions from...
Thanks a lot everyone; both solutions from in2nix4life and bartus11 worked for me.
1,065
Posted By nimo
[Solved] Issue with grep
Hi everyone
I am trying to write a script to check if file systems are mounted, and also validate the permission; then do a whole bunch of other things. I am facing a problem with grep. For example,...
1,443
Posted By nimo
Hi I figured out the problem; it was the html...
Hi
I figured out the problem; it was the html code. After correcting it, everything was OK. Thanks a lot Yoda for your help.
1,443
Posted By nimo
Thanks a lot Yoda. I used the following in the...
Thanks a lot Yoda. I used the following in the header and sent it by sendmail. This worked, but I lost all the colors in the html. Did I miss any step?

From: me@my_domain.com
To:...
1,443
Posted By nimo
mailx on AIX does not recognize "-m". Also, fromo...
mailx on AIX does not recognize "-m". Also, fromo uuencode help, I found that -m will output mime.
1,443
Posted By nimo
Another mailx question
Hi
I am trying to send an html file as an attachment from AIX server and recieve it using Outlook 2007 client. I tried every possible command, such as:

uuencode file file | mailx -s "subject"...
6,278
Posted By nimo
Thanks again. My question is: when I run backup...
Thanks again. My question is: when I run backup via shell script where I use the following command
brbackup -c -p profile
I get an output file, where somewhere there is a log file name

...
6,278
Posted By nimo
Hi Thanks a lot for your help; using "echo $?"...
Hi
Thanks a lot for your help; using "echo $?" did half the job, which is capturing the return code. Is there a way to capture the last line from the backup log witout going to the log file?
6,278
Posted By nimo
How to capture script return code?
Hi
I am executing database backup via shell script (Korn). The backup log is long, but I would like to capture only the last line so I can send an email if it fails

Example of failed backup...
2,242
Posted By nimo
Did I miss something here? I do not see the...
Did I miss something here? I do not see the "justdoit" code?!
2,242
Posted By nimo
Both sed and awk work fine when I execute from...
Both sed and awk work fine when I execute from command line against input file, but not when I run with variable from script. I tried to get the name of every category and the list



# list...
2,242
Posted By nimo
Thank you. That works.
Thank you. That works.
2,242
Posted By nimo
Hi Let's assume that this is the file tha I am...
Hi
Let's assume that this is the file tha I am handling.

# Start
# List (first header)
test 1
Lab 2
test 3
...

# Trials (second header)
round 1
run 5
...
# Users
John
Sally...
2,242
Posted By nimo
Script to extract certain lines
Hi
I have a text file with the following information:

# List 1 (first header)
test 1
test 2
test 3
...

# Trials (second header)
round 1
run 5
...

and so on


I want to create...
1,534
Posted By nimo
This will always give you $i = W, or X, or Y or...
This will always give you $i = W, or X, or Y or Z, but not the value assigned to $W or the rest.
1,534
Posted By nimo
These are the steps that I am trying to do: 1....
These are the steps that I am trying to do:
1. Start script and read few env variables that should be set; ie: W, X, Y & Z
2. Run a loop to check that the variables are not empty
1,534
Posted By nimo
Thanks for the reply. My question was actually...
Thanks for the reply. My question was actually related to looping this. For example

for i in W X Y Z
do
if [ ! -n "${i}" ]
then echo "Please enter a value for i: \c"
read i
...
1,534
Posted By nimo
I use Bourne shell script.
I use Bourne shell script.
1,534
Posted By nimo
Help with variables
Hi
I have 4 variables W, X, Y & Z where I read from env for a user. I am trying to check for the value of each, and if any is empty, I want to ask the user to enter it via script. How do I do that?
9,830
Posted By nimo
This will not work because I have menu and...
This will not work because I have menu and selection of steps, etc. Also, there are Yes/No answers for some of these steps :-(
9,830
Posted By nimo
It is a script that I wrote (bourne) and I...
It is a script that I wrote (bourne) and I display list of foulder, create some files with specific content, export some database tables, etc.

How do I proceed? I tried using "tee -a" at the end...
9,830
Posted By nimo
Capturing script output and input to log
Hi
Is there a way that I can capture a shell script (both output and input) to a log file where I can analyze it?

Thanks
8,398
Posted By nimo
Thank you soooooooooo much for all your help....
Thank you soooooooooo much for all your help. This is great.
8,398
Posted By nimo
Get value between brackets
Hi
I am having hard time getting this right and need some help. I Have several log files, and everyone contains the following 3 lines at the end:

4 ETW000 Disconnected from database.
4 ETW000...
Forum: AIX 10-23-2010
19,204
Posted By nimo
Thanks. Do you have example of "expect"...
Thanks.
Do you have example of "expect" script?
Showing results 1 to 25 of 43

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