03-04-2010
You're not wrong. Do make the necessary amendment and retry. If you face any issues, let us know.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI All,
Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef
ex: ./xyz this xyz program pid not showing in ps-ef
Pls let me know what is the reason for the same.
Thanks a lot in advance
Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
2. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
3. HP-UX
Hello :),
I really am stuck with something, I am trying to boot my machine into single user mode (GCCS-M) but it acts like it does not recognize the key board. I have taken over the system as a pass down item and no one can fine the passwords. I don't want to reload it :(and I was wondering if... (1 Reply)
Discussion started by: Ham
1 Replies
4. Shell Programming and Scripting
Hi all,
I am very new to shell scripting.I have the requirement like
one program is there, if it is running leave like that only and if it is stopped it has to be restart and once again keep watching and it is stopped we a have to restart once agian.I want a shell script for this.Please help me... (10 Replies)
Discussion started by: bhas85
10 Replies
5. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
0 Replies
6. Solaris
hi ,
I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
7. Shell Programming and Scripting
I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like:
#cd /opt/appserver/images
#cp * /opt/appserver02/public/images
Argument list is too long
Also above mention error appear again when i run:
... (1 Reply)
Discussion started by: telnor
1 Replies
8. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
9. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
10. Shell Programming and Scripting
Hi,
when i am trying below script
assume that below values are taken in code
#!/bin/ksh
if
then
echo usage: aNlist.sh QMGR NAME MQREQ
fi
NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1`
echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies
LEARN ABOUT HPUX
setuname
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)