Systeeminformatie-opdrachten

df

The df command displays filesystem disk space usage for all partitions (df stands simply for "disk free").

df -h

will give information using megabytes (M) and gigabytes (G) instead of blocks (-h means "human-readable").

free

De opdracht free geeft de hoeveelheid gebruikt en vrij geheugen weer van uw systeem.

free -m

geeft de informatie weer in megabytes, wat waarschijnlijk het meest geschikt is voor hedendaagse computers.

top

De opdracht top geeft informatie weer over uw GNU/Linux systeem, lopende processen en systeembronnen, inclusief CPU, RAM & swap-gebruik en het totaal aantal draaiende taken. Druk op q om top te verlaten.

uname

De uname opdracht zal met de -a optie, alle systeminformatie weergeven, inclusief computernaam, kernelnaam & versie, en een aantal andere gegevens. Zeer handig om na te kijken welke kernel u gebruikt.

lsb_release

The lsb_release command with the -a option prints version information for the Linux release you're running. For example, typing:

lsb_release -a

will give you:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04
Release:        8.04
Codename:       hardy

ifconfig

The ifconfig command reports on your system's network interfaces (ifconfig stand for "interface config").

ifconfig is commonly used to find out the IP address of your computer on its network or the internet. To find this information easily type:

ifconfig | grep "inet addr"