Search Results

Search: Posts Made By: ermur
2,121
Posted By ermur
Thanks a lot for your valuable help. ermur
Thanks a lot for your valuable help.

ermur
2,121
Posted By ermur
Hi fpmurphy, In both cases the PATH variable...
Hi fpmurphy,

In both cases the PATH variable is the same:

$ echo $PATH
/usr/bin::/opt/EMCpower/bin:/etc/emc/bin:/etc

if I use . ./ it works. However, I would like to have it working the...
2,121
Posted By ermur
Not Found message in script execution
Hi gurus,

I'm having a strange problem and I hope you can help me solving it.

I'm working in Unix Solaris, version 5.10, ksh.
I have a script with environment variables which I have to...
2,303
Posted By ermur
One word
Hi zedex,

You just asked a nice question, you should open a poll for it.

The first thing I came up with is just one word: VIRUS!!. Windows is a security hole because of the virus.


Let's...
96,401
Posted By ermur
small code
That's very strange

Try the following code, it worked for me:
sqlplus -s scott/tiger <<EOF
SET SERVEROUTPUT ON
SET FEED OFF
spool aaa.txt
BEGIN
DBMS_OUTPUT.PUT_LINE('xyz');
END;
/
spool...
10,897
Posted By ermur
Semicolon
Hi Vivek

You forgot to put the semicolon (;) at the end of the query, that's why your query is not executed.

Regards

Erwin
22,033
Posted By ermur
shell without job control
Hi all,

What does 'shell without control' means? I ssh to a server and then, run a process like this:

nohup binproc > proc.log 2> proc.err &

But, when I closed the sesion, the process died....
16,067
Posted By ermur
Set Lines
Hi Deepak

The parameter you are looking for is the SET LINESIZE. It sets the number of characters as page width of the query results.

In you example, put this line after 'echo "set head off"':...
3,177
Posted By ermur
Oracle_sid
Hi Dileep

If you get connected without providing the Oracle SID, it's been gotten from the environment, try this:

$ echo $ORACLE_SID

It should show what SID you're connecting to.

Regards,...
1,490
Posted By ermur
Hi Mahek You just have to remove the spaces...
Hi Mahek

You just have to remove the spaces in the assignment of the variable:

#! /usr/bin/ksh

currDate=$1
export currDate;
echo " Date is $currDate"


Regards,

Erwin
4,876
Posted By ermur
Hi rhartleyoh You can try the command: ...
Hi rhartleyoh

You can try the command:

tar -cvf file.tar `ls -1 | grep -v app`

Regards,

Erwin
2,609
Posted By ermur
you can also try the 'cut' command: cut -c4...
you can also try the 'cut' command:

cut -c4 file_name

Regards

Erwin
20,227
Posted By ermur
You can use the '$' symbol to indicate the end of...
You can use the '$' symbol to indicate the end of the line.

In your script, the first line should look like this:

df -k | egrep '/opt|/var|/$' | awk '{print $6"\t"$5}'| while read LINE
...
20,227
Posted By ermur
Hi chiru_h You can try running command: ...
Hi chiru_h

You can try running command:

df -k /

I hope it helps

Erwin
Forum: What is on Your Mind? 07-20-2007
28,252
Posted By ermur
I'd choose Whiskey in first placer because of the...
I'd choose Whiskey in first placer because of the lack of hangover next morning; although it doesn't taste very well.
In second place I would consider Vodka with orange juice or tomato juice.
I...
9,448
Posted By ermur
Hi cwalsek You should try using PWD variable...
Hi cwalsek

You should try using PWD variable instead:

BASE=$PWD
echo "BASE:" $BASE


Regards

Erwin
14,709
Posted By ermur
Hi, the '/usr/ucb/ps -axwww' worked...
Hi,

the '/usr/ucb/ps -axwww' worked wonderful thanks a lot

Erwin
14,709
Posted By ermur
display a process args list
Hi,

I have a problem.

Suppose there's a process running in background which has many arguments, does anyone know how I can display all the arguments?

I tried both commands ‘ps -o args -fu...
Showing results 1 to 18 of 18

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