Can anyone direct me to a resource that explains scripting in simple terms?
I have visited many sites and browsed this forum and have yet to find simple explanations. (8 Replies)
from CLI pressing Tab and character like a shows result of the commands starting with a,
can i use this in a script too and post the results to a file?
thanks (1 Reply)
I am creating a hierarchical tree structure and I was wondering what commands I needed to do that. I have 4 directories and sixteen sub directories and 4 files. Thank you for your help in getting my started in right direction.:confused: (1 Reply)
Hi,
We have a website running on a local centos 5.4 surfer, static IP.
The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server.
My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine.
However, we cannot see... (3 Replies)
Hello Experts,
In my current job I need to upgrade a web GUI to execute Unix commands in a server....I am completely new to programming--So can anyone here help me out with initial steps...
Please notice that statement completely new to programming means-I never did it, SO I might keep on coming... (1 Reply)
I wish to create an executable bash script that will run the following commands as root, that is, using sudo su
iptables-save | awk '/^
/ { print $1 }
/^:+ / { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restoreMy first attempt at bash... (9 Replies)
Hi Good morning all,
I want to create script file with multiple commands.
For ex:
pmrep connect is one of the command to connect to repository.
pmrep objectexport is another command to export objects to a file.
These commands should run sequentially.But when i try to execute this, the first... (4 Replies)
Hi Guys,
this is the scenario:
ubuntu pc and I have 10 wireless devices that I need to check their firmware version.
I would like to create a script that it will ask me IP, after I enter it, I hit enter then it will show me the version of the firmware.
this is what i do.
ssh... (9 Replies)
Discussion started by: gabak
9 Replies
LEARN ABOUT HPUX
lanscan
lanscan(1M)lanscan(1M)NAME
lanscan - display LAN device configuration and status
SYNOPSIS
Remarks
The and commands are deprecated. See for more information.
DESCRIPTION
displays the following information about each LAN device that has software support on the system:
o Hardware Path.
o Active Station Address (also known as Physical Address).
o Card Instance Number
o Hardware State.
o Network Interface "NamePPA". The Network Interface "Name" and the "PPA" (Physical Point of Attachment) number are concatenated
together. A single hardware device may have multiple "NamePPA" identifiers, which indicates multiple encapsulation methods may
be supported on the device. For Ethernet/IEEE 802.3 links, the "Name" is used to designate Ethernet encapsulation, and for IEEE
802.3 encapsulation. For other links (FDDI, Token Ring), only the encapsulation designation is used.
o Network Management ID.
o MAC Type.
o HP DLPI Supported. Indicates whether or not the lan device driver will work with HP's Common Data Link Provider Interface.
o DLPI Major Number.
o Extended Station Address for those interfaces which require more than 48 bits. This is displayed only when the option is
selected.
o Encapsulation Methods that the Network Interface supports. This is displayed only when the option is selected.
Options
recognizes the following command-line options:
Display station addresses only. No headings.
Display interface names only. No headings.
Display information about PPAs that are acquired by APA.
No headings.
Display MAC types only. No headings.
Display Network Managements IDs only. No headings.
Display PPA numbers only. No headings.
Same as except link aggregate PPA's will be followed by a list of LAN interface PPA's that are configured in the corresponding link
aggregate. No headings.
Verbose output. Two lines per interface. Includes displaying of extended
station address and supported encapsulation methods.
WARNINGS
does not display information about LAN devices that do not have software support such as LAN interface cards that fail to bind properly at
boot-up time.
Obsolescence
The and commands are deprecated. These commands will be removed in a future HP-UX release. HP recommends the use of replacement command
nwmgr(1M) to perform all network interface-related tasks.
AUTHOR
was developed by HP.
SEE ALSO ifconfig(1M), ioscan(1M), nwmgr(1M), lanadmin(1M), linkloop(1M), lan(7).
TO BE OBSOLETED lanscan(1M)