Search Results

Search: Posts Made By: khalidou13
1,584
Posted By khalidou13
Thanks a lot I also find the command paste:)
Thanks a lot
I also find the command paste:)
1,584
Posted By khalidou13
I don't know how to malipulate 2 files with awk. ...
I don't know how to malipulate 2 files with awk.
I don't know where to start :confused:
1,584
Posted By khalidou13
Manipulate the columns of 2 files
Hello,

I have two files to be treated.
First file:

col1 col2 col3 col4


Second file:

colbis


- I try to add the unique column of the file 2 towards the file 1.
- To obtain the...
1,267
Posted By khalidou13
Interactive script through ssh AIX UNIX
I wish to launch a script with ssh command.
This script launches a menu.
The menu displays well but I can't interact with it.

Can you help me :confused: ?
1,294
Posted By khalidou13
Thank you it's good :b:
Thank you it's good :b:
1,294
Posted By khalidou13
It's good !!! It is possible to do it with awk...
It's good !!!
It is possible to do it with awk function ?

Thank you very much
1,294
Posted By khalidou13
[Solved] Argument list with awk
Hello,

I want to execute remote command with ssh.
For exemple, i have a variable

SERVERS=lpar1,lpar2,lpar3


I want to execute some commands like:


ssh -q lpar1 ls /
ssh -q lpar2...
2,142
Posted By khalidou13
Hi, I have oslevel AIX 6.1. I just want to...
Hi,
I have oslevel AIX 6.1.
I just want to change the day of the script in crontab file for 60 servers with ssh

Thank you
2,142
Posted By khalidou13
I have to modify many entries in crontab for this...
I have to modify many entries in crontab for this line.
I would like to change the day with a script shell by ssh command with a awk or sed command.

Thank you for your response
2,142
Posted By khalidou13
Modify hour crontab UNIX
Hello,

I wish to modify the day of launch of a "batch" in the crontab on several servers with awk or sed.
Can you help me ?

Beforehand thank you


00 18 * * 1...
1,629
Posted By khalidou13
Thanks , it'good But it is possible to...
Thanks , it'good

But it is possible to execute the ssh command in the awk function ?
1,629
Posted By khalidou13
This is tne content of a file: /tmp/conf-1...
This is tne content of a file:

/tmp/conf-1 servers=lpar1 lpar2 lpar3
/tmp/conf-2 servers=lpar4 lpar5 lpar6


By leaving of the file, I would like to get back data with awk and launched an unix...
1,629
Posted By khalidou13
Ssh with awk
hello,

I wish to launch a command ssh by getting back certain values in a file with awk.

Example of command ssh:

ssh -q lpar1 mount|grep /tmp/conf-1
ssh -q lpar2 mount|grep /tmp/conf-1

...
1,423
Posted By khalidou13
Hi, I tested the various codes, it works...
Hi,

I tested the various codes, it works with no problem at all.
Thanks to all for your reactivity it is exactly what I wanted.

Good day

---------- Post updated at 06:31 AM ----------...
1,423
Posted By khalidou13
awk to format file
Hello,

I shall like using the function awk to modify the contents of the following file:


/tmp/conf-1 -sec=sys,rw=lpar1:lpar2:lpar3,access=lpar1:lpar2:lpar3
/tmp/conf-2...
2,484
Posted By khalidou13
Thank you for your reply. No errupdate is a...
Thank you for your reply.

No errupdate is a command.
And the other are parameters to give to this command.
With enter to validate parameter and at the end CTRL D CTRL D to quit
2,484
Posted By khalidou13
Use 3 descriptors with ssh command
Hi,

I want to execute some commands via ssh.


errupdate <enter>
=5A7598C3: <enter>
Report=False <enter>
Log=False <enter>

<CTRL + D>
<CTRL + D>



how can i do this ? I...
2,448
Posted By khalidou13
Thanks a lot !!
Thanks a lot !!
2,448
Posted By khalidou13
search several words with awk command
Hello,

I want to test if i find the word CACCIA AND idlck in a file, i have to print a message Ok.

For that , i need to user a awk command with a && logical.
Can you help me ?
:confused:
...
2,014
Posted By khalidou13
Generate command with awk
Hello,
I have the line underneath generated by lssyscfg command:

...
1,729
Posted By khalidou13
Hello, Yes Thank you very much !!
Hello,

Yes Thank you very much !!
1,729
Posted By khalidou13
Reverse a change of character
Good morning,

i have two chaines of characters to be reversed in shell script (red with blue).
It was only one line.
Can you help me to write a script in awk or sed?

...
Forum: AIX 05-28-2010
6,548
Posted By khalidou13
I don't have .kshrc. root@pcya00h5:/ #...
I don't have .kshrc.


root@pcya00h5:/ # grep Environment *
unix:
unix:
unix:
unix:
unix:
unix:
unix:Translate Off Environment - Kernext Checkers not available
unix:
unix
...
Forum: AIX 05-27-2010
6,548
Posted By khalidou13
/etc/profile trap "" 1 2 3 readonly...
/etc/profile


trap "" 1 2 3
readonly LOGNAME

MAIL=/usr/spool/mail/$LOGNAME
MAILMSG="[YOU HAVE NEW MAIL]"

TERM_DEFAULT=lft
TERM=`termdef`
TERM=${TERM:-$TERM_DEFAULT}

if [...
Forum: AIX 05-27-2010
6,548
Posted By khalidou13
I dont't have a file environment under .ssh/ ...
I dont't have a file environment under .ssh/



.profile

if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi ...
Showing results 1 to 25 of 39

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