Search Results

Search: Posts Made By: vastare
5,596
Posted By vastare
Could you pls give us some suggestion on my...
Could you pls give us some suggestion on my query?????
5,596
Posted By vastare
I got the answer for my dout...find the solution ...
I got the answer for my dout...find the solution

cat sample1

#!/usr/bin/ksh

#value1=90;
#value2=70;

read val1
echo "Val1 =" $val1
read val2
echo "Val2 =" $val2

cat sample2
...
5,596
Posted By vastare
thanks for the suggestion ...but ex: cat...
thanks for the suggestion ...but
ex:

cat sample1

#!/usr/bin/ksh

#value1=90;
#value2=70;

read val1
read val2

if [ $val1 -gt $val2 ];
then
echo "$val1 is normal"
else
echo "$val2...
5,596
Posted By vastare
I want to pass the value from second script to...
I want to pass the value from second script to first script ...so the first script is asking input from the command line ..so I want to suppress this and
I have to pass the input through second...
5,596
Posted By vastare
pass the input to invoking script
How to pass the input to the execution script

ex: test1.sh contains

#! usr/bin/sh

read val
echo $val

test2.sh contains

#! /usr/bin/sh

./test1.sh

now I am calling test2.sh thro...
2,829
Posted By vastare
problem in greping the string from file using awk
I am using awk command for greping an value from the file
the file contains ..

file
----------------------------
content-----------
--------
String main = "81507066666";...
20,919
Posted By vastare
Well if we type history command in UNIX prompt,...
Well if we type history command in UNIX prompt, it will display the command executed by user :cool:

I want to know that which script is executing.... when we execute history command???? :mad: ...
20,919
Posted By vastare
Thanks alot, But i really dont know how to...
Thanks alot,

But i really dont know how to perform that, can u help in this?

In which file can we find "HISTFILE " "HISTSIZE" these 2 variable ???

i want to know ...How the history command...
20,919
Posted By vastare
Date/Time in history command
Hi,

Can we display the Date/time stamp in history command
Ex:
$history

output
-----------
vi pr.sh
ksh -x pr.sh
ksh -n pr.sh
nhoup ksh pr.sh &
nohup ksh pr.sh &

i want the output...
11,079
Posted By vastare
Hey :D Thank you very much :cool: ...
Hey :D

Thank you very much :cool:

one more dout sir .........

Can we display the Date/time stamp in history command :confused:
Ex:
$history

output
-----------
vi pr.sh
ksh...
11,079
Posted By vastare
Redirect the output of prstat
Hi,

How to redirect the output of prstat command to a file.

Ex:

I want to do like this

while :
do
prstat >> prs.log
sleep 5
done

is it possible ???? if No, then how can i...
6,729
Posted By vastare
rsh problem
Hi,

Thank you, very much....

The rsh problem is solved.

If you want to run the rsh in a bcakground, use -n option with the rsh command.

Here is the proper syntax to use the rsh (remote...
6,729
Posted By vastare
Hello, Sorry for the second post on this...
Hello,

Sorry for the second post on this thread ...

I explained every steps here

1. script
root@FRAPRB2BADE1 # cat test-rsh
#!/usr/bin/ksh

rsh 172.16.73.38 ls -l 2>>test.log

2. run...
5,053
Posted By vastare
telnet & su in shell script
Hi,

Any scripting experts out there that can point me to the right direction of writing a script using telnet and su to access a server without any users interaction such as login and entering...
5,686
Posted By vastare
Script for system performance
I need to prepare script which will run as background process ever 30 mins to collect the following information
1. Memory usage.
2. CPU usage.
3. Number processors running.
4. System resource...
6,729
Posted By vastare
rsh problem
Hi,

no one is there to answer for this question ??????? :confused:

its very urgent.....please help me out. :mad:

------------
vastare
6,729
Posted By vastare
rsh problem
Hi,

I am using rsh command in scripting. But I wan to run the script as a bg process.

When I run the script, it says stopped.

My doubt is ....if I use the rsh in scripting ......bg is...
Forum: Solaris 12-15-2005
71,353
Posted By vastare
attachment using sendmail
Hi,
I use the sendmail command to send automatic e-mail in my control programs,
but I'd like to know if there's a non interactive way to send an attachment,
like a small text file through...
Forum: Solaris 12-05-2005
4,951
Posted By vastare
gdb on Sun Solaris 5.8
Hi,

Any buddy knows the site, to Download GNU debugger for Sun Solaris 5.8.

Please help to install gdb on Sun Solaris 5.8 :confused:

----------
vastare
Showing results 1 to 19 of 19

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