Search Results

Search: Posts Made By: srage
Forum: Solaris 02-14-2012
1,838
Posted By srage
Hi, How do I see what is the current...
Hi,

How do I see what is the current startup/shutdown sequence of the SMF services?

Regards
Eugene
Forum: Solaris 02-13-2012
1,810
Posted By srage
Service shutdown sequence via SMF
Hi all,

Is there any way to configure a certain service to be shutdown first via SMF?

Thanks in advance
Eugene
Forum: Solaris 02-13-2012
1,838
Posted By srage
Service shutdown sequence via SMF
Hi all,

Is there any way to configure a certain service to be shutdown first via SMF?

Thanks in advance
Eugene
Forum: Solaris 01-26-2011
1,741
Posted By srage
Hi, If it's installed on /opt (of...
Hi,

If it's installed on /opt (of global-zone), and we will be on whole root, can it still work sharing out as lofs?

Do we present out as /Opt/App1 or /opt?
Forum: Solaris 01-26-2011
1,741
Posted By srage
Accessing global-zone installed application
Hi,

Is it possible to access application installed on global-zone from a non-global zone?

Is there any configuration to achieve the above requirement?

Tried looking up information but unable...
Forum: Solaris 02-01-2010
14,743
Posted By srage
Found the source for the 3 MOTD messages... ...
Found the source for the 3 MOTD messages...

1st: Tectia's banner config
2nd: /etc/profile
3rd: Tectia's MOTD setting.

Thanks to all for the inputs :D
Forum: Solaris 01-25-2010
14,743
Posted By srage
Hi, So far I managed to locate 2 locations...
Hi,

So far I managed to locate 2 locations where MOTD is configured:

1) /etc/profile
2) SSH Server's configuration file.

Is there any other file which is configured with MOTD? There's still...
Forum: Solaris 01-25-2010
14,743
Posted By srage
MOTD Display
Hi all,

Wish to check which setting is set to display the MOTD AFTER successful password verification. I am logging in via a 3rd party ssh tool tectia.

Eg.

Login: [username]
password:...
27,721
Posted By srage
If may be as part of a line Eg. value =...
If may be as part of a line

Eg.

value = testtest
value1 = etstetst
value1 = testetst
value2 = testtttt
value1 = etsttest
value2 = testtesttest
value1 = testtest

Regards
Eugene
27,721
Posted By srage
Exact String replacement with sed
Hi,

What should be the syntax to match and replace an exact string using sed? And not replacing any string that contain the value?

Eg.

testtest
etstetst
testetst
testtttt
etsttest...
1,713
Posted By srage
if hyphen is the only concern, add a grep -v "-"...
if hyphen is the only concern, add a grep -v "-" after the 1st grep condition.

grep -i -w $s1 6-29data | grep -v "-" | tr "[A-Z]" "[a-z]" | sed 's/^[^,]*,//' | sed 's/200906/2009-06-/g' >> $s1.txt...
3,452
Posted By srage
To-date what I know is that based on the below...
To-date what I know is that based on the below pattern should be unique.

<tr>
<td><img alt......> condition as a starting,

and

src.....</td>
</tr>

<tr>
<td><img alt
.
.
.
....
22,968
Posted By srage
That would be an entire shell script handling all...
That would be an entire shell script handling all the way, including what the sql file is doing.

However you need to ensure your oracle environment settings are all set
22,968
Posted By srage
What I did previously was to verify the...
What I did previously was to verify the connection status only after the connection. For your reference as follow (ksh):

LOGIN_STATUS=`sqlplus -s /nolog <<SQLEND
connect ${UserName}/${PassWord}...
27,207
Posted By srage
head -1 file1.txt |awk '{print $1 , $3}'; head -1...
head -1 file1.txt |awk '{print $1 , $3}'; head -1 file2.txt |awk '{print $1 , $3}'
3,452
Posted By srage
egrep --binary "." test2.txt |sed...
egrep --binary "." test2.txt |sed "/\<tr\>/,/\<\/tr\>/d" > temp5.txt

The above trimmed the last 2 lines of f and g as well.

However, there may be other blocks there is embedded with <tr> and...
3,452
Posted By srage
sed pattern matching
Hi all,

if I have the following piece (repeating) of text within a file and I wish to delete it via sed

a
b
c
d
e

<tr>
<td><img alt="" height="1" width="3"...
7,060
Posted By srage
When do we use set command
Hi all,

Some clarification regarding the unix set command for ksh env.

I read up the man pages, but ended up more blur. Eg.

- Turns off -x and -v flags and stops examining argu-
...
12,921
Posted By srage
so is avi.sas or sas the file you gonna execute? ...
so is avi.sas or sas the file you gonna execute?

ssh serverA "cd /directory/sas; pwd;ls; sas"

or

ssh serverA "cd /directory/sas; pwd;ls; avi.sas"

If it's genuinely "sas avi.sas" ,...
12,921
Posted By srage
Is the executable file sas, and is it executable?...
Is the executable file sas, and is it executable?
avi.sas is a parameter passed in?
1,922
Posted By srage
Forgot to add on, the function was called from a...
Forgot to add on, the function was called from a while loop:

cat user.cfg | while read LINE
do
RETRIEVE_PASSWORD
done
1,922
Posted By srage
Wierd behaviour setting stty echo
Hi all,

Encountered a wierd behaviour which I am unable to understand.

I have a function doing the follow:

function RETRIEVE_PASSWORD
{
if (( $DC_ACCOUNT ))
then
...
2,114
Posted By srage
Any difference for these internal variables...
Any difference for these internal variables between the different shells? Eg. bash,ksh,csh etc
2,114
Posted By srage
Environment Status Variable
Hi all,

understood that upon executing a script, we can get various in-built variable like:

$? => Exit status
$$ => Process PID
${0##*/} => Process ID Name

Is there any readily available...
Forum: Solaris 03-20-2009
4,891
Posted By srage
Found out that xvnc is only listening on :1...
Found out that xvnc is only listening on :1 because it's configured in svccfg under application/x11/x11-server as display1.

Attempted to add display0, it works, however, it will shut out my...
Showing results 1 to 25 of 33

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