Difference between pages "Dmidecode" and "Alias"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
(Created page with "<tt>'''dmidecode'''</tt> is a command for displaying BIOS hardware information. When working remotely with several computers, you sometimes want to verify that you are on th...")
 
imported>ThorstenStaerk
(Created page with "An alias is a string that stands for a command. For example you can define "greet" to be an alias for "echo 'hello world'" like this: # alias greet="echo 'hello world'" # greet...")
 
Line 1: Line 1:
<tt>'''dmidecode'''</tt> is a [[command]] for displaying BIOS hardware information.
+
An alias is a string that stands for a command. For example you can define "greet" to be an alias for "echo 'hello world'" like this:
 
+
# alias greet="echo 'hello world'"
When working remotely with several computers, you sometimes want to verify that you are on the right iron. For that, the program dmidecode exists - just start it by typing <tt>dmidecode</tt>.
+
# greet
You get all information about the computer that the vendor put into the BIOS. There are different paragraphs ("handles"), for example like that:
+
hello world
    Handle 0x0100
 
          DMI type 1, 25 bytes.
 
          System Information
 
                  Manufacturer: Dell Computer Corporation
 
                  Product Name: Dimension 4600i
 
                  Version: Not Specified
 
                  Serial Number: 664S31J
 
                  UUID: 44454C4C-3600-1034-8053-B6C04F33314A
 
                  Wake-up Type: APM Timer
 
 
 
[[Category:Command]]
 

Revision as of 03:44, 23 January 2012

An alias is a string that stands for a command. For example you can define "greet" to be an alias for "echo 'hello world'" like this:

# alias greet="echo 'hello world'"
# greet
hello world