
48
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Examples
Display entry for host eris:
arp -a eris
Set a permanent cache entry for host illuminati, whose hardware
address you know:
arp -s illuminati 00:05:23:73:e6:cf
Set an ARP proxy for host fnord using the eth0 interface’s hard-
ware address:
arp -Ds fnord eth0 pub
Remove the fnord ARP proxy:
arp -i eth0 -d fnord pub
as
as [options] files
Generate an object file from each specified assembly-language
source file. Object files have the same root name as source files but
replace the .s suffix with .o. There may be some additional system-
specific options.
Options
-- [ | files]
Read input files from standard input, or from files if the pipe is
used.
-a[cdhlmns][=file]
With only the -a option, list source code, assembler listing,
and symbol table. The other options specify additional things
to list or omit:
-ac Omit false conditionals.
-ad Omit debugging directives.
-ah Include the high-level source code, if available.
-al Include an assembly listing.
-am Include macro expansions.
-an Suppress forms processing.
-as Include a symbol listing.
=file
Set the listing filename to file.
--defsym symbol=value
Define the symbol to have the value value, which must be an
integer.
-f Skip whitespace and comment preprocessing.
--fatal-warnings
Treat warnings as errors.
--gstabs
Generate debugging ...