Environment and Hardware

Print motherboard information
dmidecode

Print full date and time:
date

Print the hostname of this machine:
echo $HOSTNAME

Print information about current linux distro:
lsb_release -a

Print linux kernel version:
uname -a

Print information about kernel modules:
lsmod

View Installed packages:
dpkg –get-selections

Print environment variables:
printenv

List hardware connected via PCI ports:
lspci

List hardware connected via USB ports:
lsusb

Print hardware info stored in BIOS:
sudo dmidecode

Dump captured data off of wireless card:
dumpcap

Dump info about keyboard drivers:
dumpkeys

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: