03-11-2015
On my AIX 6.1.8.2 server, they are hard linked (same inode #)
#ls -li /usr/sbin/lsconf /usr/sbin/prtconf
463 -r-xr-xr-x 2 root system 14120 Jul 2 2012 /usr/sbin/lsconf
463 -r-xr-xr-x 2 root system 14120 Jul 2 2012 /usr/sbin/prtconf
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies
2. Solaris
Hello,
Case: If I want to run a script background and logout, which command should I use ?
1)# ./script_name &
2)# nohup script_name
3)# nohup script_name &
And any differences ?
What happens if I redirect the output to a file?
I learned somewhere that the (1) format will stop... (5 Replies)
Discussion started by: billshu
5 Replies
3. Shell Programming and Scripting
For executing a shell script, i know 2 ways:
1) using sh command
2) making the script file executable & then use ./
But i can across another way for executing the scripts... using ". ./"
I tried this way.. but i was able to understand the difference between "./" and ". ./"
I would be very... (2 Replies)
Discussion started by: abishekmag
2 Replies
4. UNIX for Dummies Questions & Answers
I've come stuck when I was making sure the hour of the day was not been two times so that the rest of the script could not be executed.
Seems simple enough.
I used the -a to join the two conditions together and it would run if the conditions was t/f ( it is only supposed to run if was t/t).... (3 Replies)
Discussion started by: spookyrtd99
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Please let me know the equalent Linux command for "prtconf".
Thanks in Advance,
Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies
6. AIX
put prtconf command,after show this error message:
bash-3.00# prtconf
/usr/sbin/prtconf: msize=msize + 12544^J12544: syntax error
pleae help me...........waiting for replay
by
mohan.s
Aix sysadmin
(deleted email, rule violation) (2 Replies)
Discussion started by: smohan62
2 Replies
7. AIX
Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS )
This article or post covers upgrades for
- Hardware Management Console ( HMC )
- Firmware ( also known as microcode )
- VIO ( Virtual I/O Server = PowerVM )
- AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies
8. Shell Programming and Scripting
Hello All,
I was having a look on threads on the Forum about time calculation but didn't find exactly this issue.
For instance, if we have these 2 dates, begin & end :
20100430235830
20100501000200
Is there anyway, awk, ksh, perl to calculate the difference in sec and get for... (6 Replies)
Discussion started by: rany1
6 Replies
9. Red Hat
Hi All,
The scripts developed in AIX can be executed in Red Hat Linux too? Because, we are migrating OS from AIX to LINUX.
Will there be any differences in commands?
Thanks in advance!!!
Regards,
U (2 Replies)
Discussion started by: unme
2 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please help me understanding what the difference between the below two?
1. script.sh &
2. nohup script.sh & (2 Replies)
Discussion started by: Anupam_Halder
2 Replies
LEARN ABOUT OSF1
iprsetup
iprsetup(8) System Manager's Manual iprsetup(8)
NAME
iprsetup - Internet Protocol router setup
SYNOPSIS
/usr/sbin/iprsetup -s
/usr/sbin/iprsetup -sd
/usr/sbin/iprsetup -r
/usr/sbin/iprsetup -rd
/usr/sbin/iprsetup -fvalue
/usr/sbin/iprsetup -fvalued
/usr/sbin/iprsetup -d
OPTIONS
Sets ipforwarding and ipgateway to one, which means the system functions as an IP router. This option cannot be combined with the -r
option. Resets ipforwarding and ipgateway to zero, which means the system does not function as an IP router. This option cannot be com-
bined with the -s and -f options. Sets ipforwarding and ipgateway to one (like the -s option), and also sets ipfirewall to one, which
means the system functions as an IP firewall. Additionally, sets ipsrcroute and ipchkredirects according to the specified value. The fol-
lowing table shows the valid values and their meaning:
----------------------------------------------------------
Value Meaning
----------------------------------------------------------
0 Sets both ipsrcroute and ipchkredirects to zero
1 Sets ipsrcroute to zero and ipchkredirects to one
2 Sets ipsrcroute to one and ipchkredirects to zero
3 Sets both ipsrcroute and ipchkredirects to one
----------------------------------------------------------
This option cannot be combined with the -r option. Only application gateways for firewall services use this option. Displays the
values of ipforwarding and ipgateway. The values are displayed after the values are changed when combined with the -s, -r, and -f
options.
DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in the running kernel allowing your system to function as an Internet
Protocol router.
When ipfirewall variable is set to one, the following variables are also set: Indicates whether IP source-routed packets are accepted (1)
or dropped immediately (0). Indicates whether ICMP Redirect messages are authenticated (1) or accepted with no authentication (0).
The iprsetup command is automatically executed by netsetup when you configure your network daemons. It is also executed by the
/sbin/init.d/inet script when you reboot your system or restart the network on your system.
FILES
Contains the /usr/sbin/iprsetup command Contains the /usr/sbin/iprsetup command
SEE ALSO
Network Administration
iprsetup(8)