Visit Our UNIX and Linux User Community


Command for showing IP Address


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Command for showing IP Address
# 8  
Old 08-23-2002
I think ifconfig -a can be used by any user on all systems, problem is its in /usr/sbin and thats not always in your path.

/usr/sbin/ifconfig -a

but if your root it gives you mor einformation, MAC adress ect etc
thangorn
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #800
Difficulty: Medium
In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 632.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command showing no output!

Hi Folks, I have a situation here, where no command is giving any output, and it's not even showing any error message also. What could be the reason? (3 Replies)
Discussion started by: nixhead
3 Replies

2. Shell Programming and Scripting

Time field showing Zero in ps command output

F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 401 S catmgr 5748 5742 0 154 20 e0000006d48cd080 133 e0000003fb6e7200 11:22:32 ? 0:00 /opt/ssh/libexec/sftp-server 3401 R catmgr 5742 5631 0 152 20 e0000005f974fa00 750 ... (4 Replies)
Discussion started by: TomG
4 Replies

3. Shell Programming and Scripting

Ps command showing different states for same process

I am using HP-UX,KSH $ jobs -l + 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 & $ ps -p 19377 -fl F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD 401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies

4. Solaris

PSR showing - in ps command

Hello, running into a bind when im inputting the following command: bash-3.00$ ps -p 874 -L -o pid,psr,pcpu PID PSR %CPU 874 - 0.0 874 - 0.2 874 - 0.0 874 - 1.1 874 - 0.2 Now when i run it on my other SUN machine i get this: bash-3.00$ ps -p 3874... (0 Replies)
Discussion started by: Nolph
0 Replies

5. Shell Programming and Scripting

Grep command showing wrong output in Linux

Hi All I am trying to run a script in linux wherein i have a command like this grep ^prmAttunityUser= djpHewr2XFMAttunitySetup_ae1_tmp djpHewr2XFMAttunitySetup_ae1_tmp is a temporary file in which the user value is stored but this command in the script returns me balnk value whereas it has a... (4 Replies)
Discussion started by: vee_789
4 Replies

6. Shell Programming and Scripting

command showing error

Hi, I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies

7. Solaris

uptime command not showing how long the system has been up

Hello folks, uptime command not shows how long the system has been up. I know it come from a corruption of /var/adm/utmpx file. I've done : cat /dev/null > /var/adm/utmpx Now who and last commands work fine. But uptime still give me back an answer without the "up time". In which... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

8. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

9. UNIX for Dummies Questions & Answers

ls command showing skewed listing

Hello, I'm running the ls command on an HP-UX 11i platform and am getting skewed listings. In other words, I see 3 columns of perfectly aligned file names, except 1 file is shifted by 2 or 3 bytes. The file to the immediate left of it seems to be causing the problem, for when I do an ls on... (1 Reply)
Discussion started by: bsp18974
1 Replies

10. UNIX for Dummies Questions & Answers

df and du command showing different results

I recently encountered this on the AIX system df command showed usage is 100% i.e 1.5 GB while du command showed usage is only 500MB Why are the 2 commands showing different output This command shows usage is 1.5 GB nlxdsm29:deqadm 24> df -k . /usr/sap/DEQ ... (3 Replies)
Discussion started by: ameya_joshi
3 Replies
in.rarpd(1M)						  System Administration Commands					      in.rarpd(1M)

NAME
in.rarpd, rarpd - DARPA Reverse Address Resolution Protocol server SYNOPSIS
/usr/sbin/in.rarpd [-d] -a /usr/sbin/in.rarpd [-d] device unit DESCRIPTION
in.rarpd starts a daemon that responds to Reverse Address Resolution Protocol (RARP) requests. The daemon forks a copy of itself that runs in background. It must be run as root. RARP is used by machines at boot time to discover their Internet Protocol (IP) address. The booting machine provides its Ethernet address in a RARP request message. Using the ethers and hosts databases, in.rarpd maps this Ethernet address into the corresponding IP address which it returns to the booting machine in an RARP reply message. The booting machine must be listed in both databases for in.rarpd to locate its IP address. in.rarpd issues no reply when it fails to locate an IP address. in.rarpd uses the STREAMS-based Data Link Provider Interface (DLPI) message set to communicate directly with the datalink device driver. OPTIONS
The following options are supported: -a Get the list of available network interfaces from IP using the SIOCGIFADDR ioctl and start a RARP daemon process on each interface returned. -d Print assorted debugging messages while executing. EXAMPLES
Example 1: Starting An in.rarpd Daemon For Each Network Interface Name Returned From /dev/ip: The following command starts an in.rarpd for each network interface name returned from /dev/ip: example# /usr/sbin/in.rarpd -a Example 2: Starting An in.rarpd Daemon On The Device /dev/le With The Device Instance Number 0 The following command starts one in.rarpd on the device /dev/le with the device instance number 0. example# /usr/sbin/in.rarpd le 0 FILES
/etc/ethers File or other source, as specified by nsswitch.conf(4). /etc/hosts File or other source, as specified by nsswitch.conf(4). /tftpboot /dev/ip /dev/arp ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbsu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), boot(1M), ifconfig(1M), svcadm(1M), ethers(4), hosts(4), netconfig(4), nsswitch.conf(4),attributes(5), smf(5), dlpi(7P) Finlayson, R., Mann, T., Mogul, J., and Theimer, M., RFC 903, A Reverse Address Resolution Protocol, Network Information Center, SRI Inter- national, June 1984. NOTES
The in.rarpd service is managed by the service management facility, smf(5), under the service identifier: svc:/network/rarp Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 20 Aug 2004 in.rarpd(1M)

Featured Tech Videos