Sponsored Content
Operating Systems Linux Red Hat trying to use arp command... it doesnt exist Post 302096242 by HMSS013 on Tuesday 14th of November 2006 02:22:57 PM
Old 11-14-2006
but i dont have FC5... i want to do this in FC6...and the installation is fine...
 

10 More Discussions You Might Find Interesting

1. Solaris

SSH doesnt exit properly from command line

I ssh to another server and run a few commands - start a few processes that run on the server. I then type exit - by my command line hangs. I have heard that it is waiting until anything processes you are running complete, but these processes are going to run 24*7*365 so obviously I cant wait.... (4 Replies)
Discussion started by: frustrated1
4 Replies

2. HP-UX

ls command doesnt work

Good Day I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek: crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002 I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Discussion started by: shawnbishop
2 Replies

3. Shell Programming and Scripting

find command with exec doesnt work

Hi There, I have a script which finds for log files and removes them if the file has changed in the last day. The script runs fine without errors. The log file is still there. So, I decided to print the find command and run the command outside the script. Getting "Incomplete statement" Can you... (6 Replies)
Discussion started by: funtochat2002
6 Replies

4. UNIX for Dummies Questions & Answers

Does command for reading from memory exist?

Does exist in unix any command which could read data from any memory address or port and return result on screen? (2 Replies)
Discussion started by: linuxchemist
2 Replies

5. Shell Programming and Scripting

Check file and if it doesnt exist , exit script

Hi, Another problem, here is my code #!/bin/sh dir='/opt/apps/script/CSV' datadir='/opt/apps/script/data' while : ; do ls -1rt $dir/*.csv > /dev/null 2>&1 if ;then cp $datadir/weekly.txt $dir/weekly.csv else exit 0 fi done (10 Replies)
Discussion started by: tententen
10 Replies

6. UNIX for Dummies Questions & Answers

Removing a user that doesnt exist from a group

Hi there, normally if I want to remove a user tht I have added to a specific group, i would do the following this is what my group2 looks like # grep group2 /etc/group group2:x:7777:user2,user1,user4 user1 has been defined in a few groups # id -nG user1 group1 group2 group3 So... (3 Replies)
Discussion started by: rethink
3 Replies

7. UNIX for Dummies Questions & Answers

Check the exist status of the cd command

Hi, As in scripting , some cd commands getting failed, so we do check the exist status as 0 or 1. But every time we call to function for it. But does any single line exist will do the job with || , && ? i.e ls -l Logs cd Logss | exit echo hias Logss is not exist , Before printing "hi" we... (5 Replies)
Discussion started by: posix
5 Replies

8. UNIX for Advanced & Expert Users

Accident use of arp -d command:Not able to login to server

Hi , I am working in a Unix Solaris server which has apache installed. I was logged into the server using ssh . I accidentally ran the arp -d command with the hostname of the logged in server and deleted the entry :confused:. Now I am not able to access the server. Is there anyway I can access... (14 Replies)
Discussion started by: Blunder49
14 Replies

9. Shell Programming and Scripting

Code to remove files when corresponding file doesnt exist isnt working.

I am trying to add some code to the begging of a script so that it will remove all the .transcript files, when their is no coressponding .wav file. But it doesnt work. This is the code I have added: for transcriptfile in `$voicemaildir/*.transcript`; do wavfile=`echo $transcriptfile | cut -d'.'... (2 Replies)
Discussion started by: ghurty
2 Replies

10. UNIX for Dummies Questions & Answers

[SOLVED] Mv command doesnt work in shell script

Hi All, i created the below script to move file with xml extension from one directory to another,but the mv command is not working inside the shell script, #!/us/bin/ksh filepath="/apps/extract" filename="*.xml" foldername=2191POB000_$(date +%Y%m%d%H%M%S) mkdir -p "$filepath/$foldername"... (3 Replies)
Discussion started by: Radhas
3 Replies
arp(8c) 																   arp(8c)

Name
       arp - address resolution display and control

Syntax
       arp -a [vmunix] [kmem]
       arp [-d] hostname
       arp -f filename
       arp -s hostname ether_addr [temp] [pub] [trail]

Description
       The program displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol

       The hostname is the name of the host system for which information will be displayed or modified.

       With no flags, the program displays the current ARP entry for hostname.

Options
       -a   Displays current Address Resolution Protocol (ARP) entries from the specified name list and core files (next arguments).  If not spec-
	    ified, uses and respectively.

       -d   Deletes the entry for the host specified by name (next argument).

       -f   Reads information from the specified file (next argument) and modifies entries accordingly.  Entries in the file should be of the fol-
	    lowing form, with argument meanings as given previously:
	    hostname ether_addr [ temp ] [ pub ] [ trail ]

       -s   Creates an ARP entry for the host called hostname with the Ethernet address ether_addr.  The Ethernet address is given as six hexadec-
	    imal bytes separated by colons.  The entry will be permanent unless the word temp is given in the command.	If the word pub is  given,
	    the  entry will be published.  That is, the system will act as an ARP server, responding to requests for hostname even though the host
	    address is not its own.  The word trail indicates that trailer encapsulations may be sent to this host.

See Also
       arp(4p), ifconfig(8c)

																	   arp(8c)
All times are GMT -4. The time now is 06:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy