Sponsored Content
Full Discussion: Change IP and Hostname
Operating Systems HP-UX Change IP and Hostname Post 92572 by catwomen on Monday 12th of December 2005 09:13:06 PM
Old 12-12-2005
Java

Thanks for the quick responce.

Last edited by catwomen; 12-12-2005 at 10:23 PM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

2. UNIX for Dummies Questions & Answers

change hostname

Hi, ( running solaris 8 ) I know how to change the hostname temparily, by login in as root typing hostname = xxxxx but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change. Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies

3. UNIX for Advanced & Expert Users

Change of Hostname

Dear All. I will like to know beside the following command "hostname hostname" what other command that can change the hostname of the Unix. Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies

4. UNIX for Dummies Questions & Answers

change hostname

Hi, I asked this question whenI was running solaris 8 and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again. https://www.unix.com/showthread.php?t=8547 ------------ Hi (now solaris 10) I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies

5. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

6. Solaris

Change hostname in Solaris 9

Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies

7. Linux

how to change hostname permanentaly

i want to change my hostname permanentaly in my Fedora core 6. could any one tell me how it is possible .... (1 Reply)
Discussion started by: useless79
1 Replies

8. Red Hat

Change hostname

Hello, I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... :confused: And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies

9. UNIX for Dummies Questions & Answers

Change HostName

How to change host name in NCR Unix version 3.0 release 4.0 I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies

10. Solaris

change hostname in SUNOS 5.10

What file I need to edit if I need to change hostname in SUN OS 5.10 Please advice ....... (1 Reply)
Discussion started by: chuikingman1
1 Replies
WORDWRAP(3)								 1							       WORDWRAP(3)

wordwrap - Wraps a string to a given number of characters

SYNOPSIS
string wordwrap (string $str, [int $width = 75], [string $break = "0], [bool $cut = false]) DESCRIPTION
Wraps a string to a given number of characters using a string break character. PARAMETERS
o $str - The input string. o $width - The number of characters at which the string will be wrapped. o $break - The line is broken using the optional $break parameter. o $cut - If the $cut is set to TRUE, the string is always wrapped at or before the specified $width. So if you have a word that is larger than the given width, it is broken apart. (See second example). When FALSE the function does not split the word even if the $width is smaller than the word width. RETURN VALUES
Returns the given string wrapped at the specified length. EXAMPLES
Example #1 wordwrap(3) example <?php $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap($text, 20, "<br /> "); echo $newtext; ?> The above example will output: The quick brown fox<br /> jumped over the lazy<br /> dog. Example #2 wordwrap(3) example <?php $text = "A very long woooooooooooord."; $newtext = wordwrap($text, 8, " ", true); echo "$newtext "; ?> The above example will output: A very long wooooooo ooooord. Example #3 wordwrap(3) example <?php $text = "A very long woooooooooooooooooord. and something"; $newtext = wordwrap($text, 8, " ", false); echo "$newtext "; ?> The above example will output: A very long woooooooooooooooooord. and something SEE ALSO
nl2br(3), chunk_split(3). PHP Documentation Group WORDWRAP(3)
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy