Search Results

Search: Posts Made By: siavash
2,918
Posted By itkamaraj
If the ./IPGen.exe is generating multiple ip...
If the ./IPGen.exe is generating multiple ip addresses, then you need to use it like


./IPGen.exe | while read ip; do ./myScript.sh $ip; done

In the shell script,


echo $1 | while read...
11,031
Posted By citaylor
There is a version of Expect for Perl too if you...
There is a version of Expect for Perl too if you are more familar with that...


Have you investigated the command "screen" at all ? Might give you some ideas...

Good luck
11,031
Posted By methyl
Messing with the terminal device is unwise. It...
Messing with the terminal device is unwise. It can for example make your application behave as if it is in background.

I avoided mentioning the unix "script" command because it has many quirks and...
11,031
Posted By citaylor
Whoa...dont you mean ls 1>ls.out 2>&1 ...the...
Whoa...dont you mean
ls 1>ls.out 2>&1
...the order IS important.


I would be surprised if you couldn't capture this....have you tried something like "script" ? That seems to capture my ssh...
11,031
Posted By methyl
Your abstract questions of late need the context...
Your abstract questions of late need the context of a commercial requirement.

Hard to guess the requirement in this case:

1) If you are trying to write shell to answer the SSH question, it is...
11,031
Posted By Corona688
Your shell can only redirect its own file...
Your shell can only redirect its own file descriptors. It can't stop any program from opening new ones.

Security-wise, unencrypted passwords are grade-A dangerous. They shouldn't ever get stored...
5,700
Posted By vgersh99
Google came up with some interesting finds...
Google came up with some interesting finds (http://tentakel.biskalar.de/similar/)
5,700
Posted By purdym
Hi siavash, the idea behind the script was...
Hi siavash,

the idea behind the script was to replicate what dsh does AIX on all my servers.

The script is nothing special. It's just a loop around ssh. However simpler, it is also very...
5,700
Posted By vbe
That is it but start at the beginning.. I...
That is it but start at the beginning..
I remember now the shell - dsh which was like-but-not rsh for distributed-sh
Was fun ( I worked on a SP2 frame 10 years ago...)
DSH Simplifies the Task of...
5,700
Posted By vbe
There was something of the sort on IBM AIX if you...
There was something of the sort on IBM AIX if you had a SP2 with a few nodes, but that ages since last time I saw one... I think you launched on the SP console a command called perspectives but more...
5,700
Posted By jlliagre
In addition to methyl answer, there are also the...
In addition to methyl answer, there are also the similar rwho and ruptime programs both using the rwhod daemon.
5,700
Posted By methyl
If this were a quiz question I'd answer "finger"....
If this were a quiz question I'd answer "finger".

Many Systems Administrator disable "fingerd" for this reason.
5,700
Posted By pludi
As far as I know, there's no such command. And...
As far as I know, there's no such command. And especially bg won't do that, since it's not even a system command, but a shell builtin that can't even see the background processes of other shells on...
Showing results 1 to 13 of 13

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