Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

setuname(1m) [hpux man page]

setuname(1M)															      setuname(1M)

NAME
setuname - change machine information SYNOPSIS
name] node] DESCRIPTION
The command is used to modify the value for system name and/or the node name by using the appropriate option(s). The command attempts to change the parameter values in both the running kernel and the system configuration to cross reboots. A temporary change affects only the running kernel. Options The command supports the following options: Changes the system name (for example, HP-UX) in the field of the structure where name is the new system name and consists of alphanumeric characters and the special characters dash, underbar, and dollar sign. Changes the name in the field of the structure where node specifies the new node name and consists of alphanumeric characters and the special characters dash, underbar, and dollar sign. Signifies a temporary change. The change will not survive a reboot. Either or both of the or options must be given when invoking The size of the name and node is limited to characters. is defined in Only users having appropriate privileges can use this command. EXAMPLES
To permanently change the system name to and the node name to issue the following command: To temporarily change the system name to and the node name to issue the following command: WARNINGS
Setting a nodename of more than 8 bytes is possible only with the appropriate configuration options enabled. It is strongly recommended that all related documentation be completely understood before setting a larger node name. A node name larger than 8 bytes can cause anomalous or incorrect behavior in applications which use the command or the system function to access the name. SEE ALSO
uname(1), uname(2), nodehostnamesize(5). setuname(1M)

Check Out this Related Man Page

nodehostnamesize(5)						File Formats Manual					       nodehostnamesize(5)

NAME
nodehostnamesize - size of node name and host name DESCRIPTION
The HP-UX operating system default configuration allows the system node name and host name to be up to 8 and 64 bytes in length, respec- tively. The node name supports the UUCP utilities. The host name supports the internet Domain Name Services (DNS) host name label. Setting a node name of more than 8 bytes or a host name of more than 64 bytes is possible only with the appropriate configuration options enabled. APPLICATION USAGE
See the whitepaper for more information. WARNINGS
It is strongly recommended that all related documentation be completely understood before setting a larger node or host name. A node name larger than 8 bytes, or host name larger than 64 bytes, can cause anomalous behavior or failure in applications which use the and/or com- mands or the and/or system functions to obtain the names. SEE ALSO
hostname(1), uname(1), uucp(1), setuname(1M), gethostname(2), sethostname(2), uname(2), hostname(5). whitepaper, available on nodehostnamesize(5)
Man Page

14 More Discussions You Might Find Interesting

1. Linux

Find node of a command

I want to know how to find a node path of a unix command. I tried the command which, but it didn't find the "makekey" command node path... Are there any tricks about the "which" command? Should I use this command on a special level of directories? Moreover, I am accessing in remote the computers of... (5 Replies)
Discussion started by: blueberryffin
5 Replies

2. UNIX for Dummies Questions & Answers

ifconfig

I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

3. UNIX for Dummies Questions & Answers

file deleting question

somehow one of my directories got a number of files whose names start with a dash - e.g. -1129.txt how can I remove them? If I issue rm -1129.txt I get the message of illegal options if I issue rm /-1129.txt I get a message that -1129.txt is not found Lisa HP-UX 11.23 i64 (3 Replies)
Discussion started by: LisaS
3 Replies

4. Shell Programming and Scripting

Removing ^M characters from a file

Hi, I want to removing ^M characters from a file and combine the line with the next line. ex: issue i have: ABC^M^M DEF solution i need: ABCDEF I found that you by using the following command you can remove new line characters. tr -d '\r' < infile.csv > outfile.csv still... (10 Replies)
Discussion started by: mwrg
10 Replies

5. Shell Programming and Scripting

Help in preserving special characters from input file

Hi Forum. I've tried to search online for a solution but I cannot seem to find one. Hopefully, someone here can help me out. I would appreciate it. Input file abc.txt: $InputFile_Borrower=CMTSLST\EDW_COMMERCIAL_MTGE_BORROWER_dat.lst... (14 Replies)
Discussion started by: pchang
14 Replies

6. Solaris

libmathpack issue

Hey, I am getting the following error when I try to run a particular binary. fatal: libmathpack.SunOS.so.1: open failed: No such file or directory I have tried searching the Sun forums as well as google for any pointers towards what I might be missing. Anyone seen this before ? Thanks a... (7 Replies)
Discussion started by: shriyer123
7 Replies

7. UNIX for Dummies Questions & Answers

How to see special characters?

Hi all, I was wondering how can i see the special characters like \t, \n or anything else in a file by using Nano or any other linux command like less, more etc (6 Replies)
Discussion started by: gvj
6 Replies

8. Shell Programming and Scripting

Sed or trim to remove non alphanumeric and alpha characters?

Hi All, I am new to Unix and trying to run some scripting on a linux box. I am trying to remove the non alphanumeric characters and alpha characters from the following line. <measResults>883250 869.898 86432.4 809875.22 804609 60023 59715 </measResults> Desired output is: 883250... (6 Replies)
Discussion started by: jackma
6 Replies

9. Shell Programming and Scripting

First post; Extracting data from Oracle WSM

Hello all, I'll try to be as descriptive as possible, but the issue was described extremely vague to me. Essentially, we were running a performance test today and ran into configuration mismatch issues with our Oracle Web Services Manager, which in the end caused delays in our efforts. I believe... (3 Replies)
Discussion started by: hammockboard007
3 Replies

10. AIX

Quorum and hdisk issue

Hi. I found an issue with my appvg present in my server.my server is a single node and not part of hacmp. pmut3# lspv hdisk0 00c5c9cf92ebb96a rootvg active hdisk1 00c5c9cfcf30eee9 appvg hdisk2 00c5c9cfcf30ef98 ... (5 Replies)
Discussion started by: newtoaixos
5 Replies

11. Shell Programming and Scripting

Control Characters

Hallo Team, I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one. -bash-3.2$ cat -e missing_revenue_20141112.csv|less|head BW0522168531211141180935668@196.23.110.141$ BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Discussion started by: kekanap
4 Replies

12. Shell Programming and Scripting

Read line, issue with leading - and {}'s

Heyas With my forum search term 'issue with leading dash' i found 2 closed threads which sadly didnt help me. Also me was to eager to add the script, that i didnt properly test, and just now figured this issue. So i have this code: if ] then while read line do line="${line/-/'\-'}"... (7 Replies)
Discussion started by: sea
7 Replies

13. Shell Programming and Scripting

Need help in an issue related to mailx

Hello, I have a file temp.txt with the below contents : Sep 9 03:04:51 adcsdp01 MAPDR2_00: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable) Sep 9 03:05:35 adcsdp01 MAPDR2_00: SAP Service ADPMR2_00 successfully started. Sep 9 03:04:51 adcsdp01... (7 Replies)
Discussion started by: rahul2662
7 Replies

14. Shell Programming and Scripting

Ignore dollar value in sed

Hi Guys, I need to replace the string based on specific value by keeping dollar sign input=$1 var=$(echo "@code_temp_table_$value_table"| sed -r "s/\@code/${input}/;s/(nz|sa)_\$value_/\$value1_\1_/" ) Expected if input=nz,sa then nz_temp_table_$value1_table else if any other... (5 Replies)
Discussion started by: Master_Mind
5 Replies