11-29-2002
Quote:
I am going to shift my Unix workstation
Well i Guess Unix so ipconfig won't work :Hugerolleyes:
If you have to change the IP then you should check with you system administrator to obtain the new IP. They should help you re-set the machine depending on how they like to set-up the network.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to change the IP address of my computer (743i card using HP-UX 10.2) using "set_params ip_address". The problem is the following:
1. I'm using a touch panel to enter in the IP address.
2. The set_params routine asks two questions; do I want to use the IP address entered and do I want... (3 Replies)
Discussion started by: maddog0606
3 Replies
2. UNIX for Advanced & Expert Users
Hopefully someone can help with this. I need the command to change the IP address on a machine (7 Replies)
Discussion started by: kkinnon
7 Replies
3. AIX
I need to change the IP address on one of your Unix machines - P630, AIX5.2.
I plan on using SMIT to perform this function. These are the steps that I have put together so far:
1. Select Communications Applications & Services
- Select TCP/IP
- Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies
4. IP Networking
Help me save my Unix box. I've had this Unix box (Enterprise 450) for about 7 years now. It was being used as a file server for a Macintosh Prepress department. All of our networking was done through Helios Etharshare. I am still currently up and online (however the location has changed). Our ip... (1 Reply)
Discussion started by: ubed
1 Replies
5. IP Networking
hi,
i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session..
also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies
6. Windows & DOS: Issues & Discussions
Hi ,,, i just come across this forum and i make it a must to be pay a visit here everyday and through it am learning a lots of things which am sure i will be able to share later...
So i have a prob with my pc when i try to change my Ip address in the dos command using ipconfig command i got a... (1 Reply)
Discussion started by: Lutchumaya
1 Replies
7. Post Here to Contact Site Administrators and Moderators
Hello,
Is there a link somewhere to my profile where I can change my email address to my new work email address? I have a new job and would like to receive a notification of responses to my new work address - how can I get that address to you without posting it online for everyone to see?
... (1 Reply)
Discussion started by: tekster757
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to solars admin. My company want to change the ip adress
presently it is 10 series they want to 20 serices i have done like this
1) #ifconfig -a (to check the interface)
2) #ifconfig <interface> new ipaddress up
3) #vi /etc/hosts
20.*.*.*
wq!
presently my version is 9 please... (3 Replies)
Discussion started by: phatan
3 Replies
9. AIX
Hi,
I am using aix 5300-07, I am facing strange issue in aix.
I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address.
I have used netstat -r command and found it is showing 2 Default gateway.
I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
10. IP Networking
My work has a Unix based system that currently has the IP address 192.9.2.25
We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)