Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
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.
Read input files from standard input, or from files if the pipe is used.
With only the -a option, list source code, assembler listing, and symbol table. The other options specify additional things to list or omit:
Omit false conditionals.
Omit debugging directives.
Include the high-level source code, if available.
Include an assembly listing.
Include macro expansions.
Suppress forms processing.
Include a symbol listing.
Set the listing filename to file.
Define the symbol to have the value value, which must be an integer.
Skip whitespace and comment preprocessing.
Treat warnings as errors.
Generate debugging information in stabs format.
Generate DWARF2 debugging information.
Place output in object file objfile (default is file.o).
Print information on how much time and space assembler uses.
Display the version number of the assembler.
Include path when searching for .include directives.
Don't warn about signed overflow.
Combine both data and text in text section.
Don't show warnings.
Generate object file even if there are errors.