Search Results

Search: Posts Made By: madmat
3,091
Posted By madmat
Sorry Pludi but I'm not agree with your comment...
Sorry Pludi but I'm not agree with your comment on b) because it usually works fine with double quotes...

However, I've found a simple solution (TY Hergp to the way of using print command instead...
3,091
Posted By madmat
Pludi, could you please explain me b) ? TY
Pludi, could you please explain me b) ? TY
3,091
Posted By madmat
Nice way guys, but end-of-line sets problem again...
Nice way guys, but end-of-line sets problem again :

$ print -r "$ret"
C:\oracle\admin\TUA7\udump

$ print -r "$ret" | sed -e "s:^:#:g" | sed -e "s:$:#:g"
#C:\oracle\admin\TUA7\udump

Many...
3,091
Posted By madmat
Thank you Scott but It doesn't work.
Thank you Scott but It doesn't work.
3,091
Posted By madmat
SQL*Plus under SFU
Hi all

I have a problem again under Korn Shell with SFU.

If I use sqlplus.exe like this :

$ sqlplus.exe "/ as sysdba"

SQL*Plus: Release 9.2.0.1.0 [...]

SQL> select value from...
2,573
Posted By madmat
How to use ps command on SFU emulator ?
Hi all

How can I use ps command on korn shell emulated by SFU on Windows Server ?

All others commands work fine, but this one I don't know :confused:

Many thanks

---------- Post updated...
3,721
Posted By madmat
Please do $ find . in your directory
Please do

$ find .

in your directory
21,454
Posted By madmat
maybe you must loop on sample.txt and affect each...
maybe you must loop on sample.txt and affect each line in a variable which can be used later, like this :

cat sample.txt | while read myline
do
i=$((${i}+1))
v${i}=`echo ${myline}`
done
3,721
Posted By madmat
please ls your directory
please ls your directory
6,964
Posted By madmat
How to activate Korn Shell functionnalities in Bourne Shell
Hi All

I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell.

Some operations like calculation don't...
8,515
Posted By madmat
Perfect ! month[$2] of course ;) Many...
Perfect !

month[$2] of course ;)

Many thanks
2,843
Posted By madmat
Or something like that : cat file1 | while...
Or something like that :

cat file1 | while read a
do
b=`echo ${a} | cut –d’=’ –f1`
c=`echo ${a} | cut –d’=’ –f2`
cat file2 | while read x
do
y=`echo {x} | cut –d’=’ –f1`
z=`echo {x}...
2,843
Posted By madmat
diff file1 file2 > result.diff
diff file1 file2 > result.diff
2,130
Posted By madmat
You could schedule your wednesday's script in...
You could schedule your wednesday's script in cron daemon and begin it by matching sunday logfile.
8,515
Posted By madmat
Convert date with awk
Hi all,

I'm fighting with awk because I didn't find any way with other commands :(

I need to convert a date from format A to format B :
format A : "YYYY MM DD"
format B : "DD-MON-YYYY"
...
2,873
Posted By madmat
print $NF !!! TY Abhi ;)
print $NF !!!

TY Abhi ;)
2,873
Posted By madmat
find the last field in a string
Hi all

I have strings with fields separated by <space> and I want to automatic find the value of "the last field -1" for each string

Strings don't have the same nb of fields

I know it's...
2,020
Posted By madmat
It's not possible because the only command I have...
It's not possible because the only command I have used on this session was "top" during 1 hour... :confused:
2,020
Posted By madmat
message about glibc
Hi

I have a strange phenomenon on putty session connected to RHEL4 server.

My session is active but without any activity for 2 or 3 hours and suddenly this message appears on the prompt :

$...
19,542
Posted By madmat
Thank you, but I'd like to automatic create the...
Thank you, but I'd like to automatic create the correct path on destination but maybe it's not possible...
19,542
Posted By madmat
OS/platform is Linux RHEL4. With your code,...
OS/platform is Linux RHEL4.

With your code, the file is directly copied on <PATH> and <NEW_DIR> is not created.

Another way ?
19,542
Posted By madmat
scp : recursive copy doesn't work
Hi

I have a problem with scp command :

I try to copy a list of files from source to destination, it works fine but if there is a directory not existing on destination, it doesn't automatic...
5,319
Posted By madmat
Thanks for your help men :)
Thanks for your help men :)
5,319
Posted By madmat
root privileges
Hello,

As admin with root rights, to execute any command from another user without password-ask, I do : su - <user> -c "<cmd>"

But how can I do to give the same rights to another physical user...
3,871
Posted By madmat
find jdk 1.3.1
Hello,

I try to find the file jdk-1.3.1_03-fcs.rpm (pre-requisite for Oracle Applications 11.5.8) for Linux x86 but it doesn't available anywhere...

Maybe here, somebody have it ? :o

Rgds
Showing results 1 to 25 of 97

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