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 powerful.
Here is how it works:
Here's a real example (I did change the host names):
In order to make this work I had to setup a separate physical network.
I then run a second SSH daemon.
I had to do those two things because I have different security on this interface and a different ssh configuration.
hi
can u help me?
i need this software (Go-Global for Unix V 2.2.4) to work on Unix throught the Windows XP operating
system, i had looke for this software in the internet and i didn't find it :(
So, if any body have this software plz provide it for me and put it as a link
to... (1 Reply)
I want to write a script to go into a unix directory and recursively change all the instances of a word in every file in every directory and sub directory.
Here's where I am now:
I can execute
find . -print | xargs grep "my_word"
to recuresively return all the files with my_word in it. ... (7 Replies)
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Hi,
My team does not have root access however many a times my members logon to the unix server and fire the rm command mistakenly on wrong folder and later realise that they have made a mess.
The rm -i option prompts for a confirmation before actually deleting the files/folders.
I want to... (5 Replies)
I am wondering what way, I can remove a certain text with nothing.
for example:
MyVariable=Y7UHNI
to only:
Y7UHNI
removing 'MyVariable=' globally?
thanks (1 Reply)
Hi all,
I have a small Question here in Unix File System.I am unable to get a proper answer in Internet. Hope someone can get back to me soon.
A Unix file system can mount filesystem of several disk partitions to form a single global space.
Suppose that you wish to virtualize this global... (1 Reply)
Defined a user alias in unix. Not able to use that alias in a ksh scritp. I dont want to change/source in the script to set the value. Need to set the user alias as a gloabal alias to use it in a new ksh shell window. Can you please help on this? (3 Replies)
Hello -
I am trying to use a global replace command but its not working.
Here is the cmd I am using in vi:
:%s/OLD/NEW/g
However, in my "NEW" I already have a "/" which is not making the replace work:
:%s/mytestscript.com:33232/mytestscript:70245/test.com/g
the... (2 Replies)
hi all,
Just a simple question but i cant get the answers in the book -
In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone
Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Hi,
If I change date and time in global zone, then it will affect in non global zones.
During this process what files will get affect in non global zones and which mechanism it's using to change.
gloabl zone:Solaris 11.3 X86
TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies
LEARN ABOUT NETBSD
intro
INTRO(1) BSD General Commands Manual INTRO(1)NAME
intro -- introduction to general commands (tools and utilities)
DESCRIPTION
Section one of the manual contains most of the commands which comprise the BSD user environment. Some of the commands included in section
one are text editors, command shell interpreters, searching and sorting tools, file manipulation commands, system status commands, remote
file copy commands, mail commands, compilers and compiler tools, formatted output tools, and line printer commands.
All commands set a status value upon exit which may be tested to see if the command completed normally. The exit values and their meanings
are explained in the individual manuals. Traditionally, the value 0 signifies successful completion of the command.
SEE ALSO man(1), intro(2), intro(3), intro(4), intro(5), intro(6), intro(7), intro(8), intro(9)
The Regents of the University of California, UNIX User's Manual Supplementary Documents, University of California, Berkeley,
http://www.netbsd.org/docs/bsd/lite2/usd.html, June, 1993.
HISTORY
An intro(1) manual appeared in Version 6 AT&T UNIX.
BSD May 5, 2010 BSD