Unix/linux Cheat Sheet

ADVERTISEMENT

Unix / Linux cheat sheet
Franck Jeannot,
Montreal, Novembre 2016, H227
SLES - Suze
Red Hat - Centos
HPUX
Solaris
Numéro de version détaillé de serveur
Server Release info
cat
cat
uname -r;swlist
cat /etc/release
/etc/SuSE-release
/etc/redhat-release
HPUX*OE*
Type de serveur
Server type
/usr/platform/ uname
dmidecode
dmidecode
uname -a
-i /sbin/prtdiag -v
Mémoire
Memory
/usr/platform/ uname
cat /proc/meminfo
cat /proc/meminfo;
dmesg | grep -i
-i /sbin/prtdiag -v ;
cat /proc/slabinfo;
physical
prtconf | grep -i mem
free -om
Gestionnaire de packages
Packages manager
zypper
yum; rpm -ivh
swlist; swinstall
pkginfo; pkgadd
Lister les drivers
list device drivers
cat /proc/devices
cat /proc/devices
lsdev
prtconf -D ; sysdev
Analyse réseau
Network analysis
tcpdump -i
tcpdump -i
tcpdump -i
snoop -d
<interface>
<interface>
<interface> ;nettl
<interface>
-start; nettl
-status all
Routeur par défaut
Default router
/etc/sysconfig/network/
edit /etc/sysconfig/network
/etc/rc.config.d/netconf
/etc/hostname.hme0
page 1 of
1

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go