rendered paste bodyCommand Debian Redhat
Install a package apt-get install jpilot rpm -hiv jpilot.i386.rpm
Get basic package info dpkg -s jpilot rpm -qi jpilot
List all files in a pkg dpkg -L rsync rpm -ql rsync
Check owning pkg dpkg -S /bin/rsync rpm -qf /usr/bin/rsync
Remove a package apt-get remove rsync rpm -e rsync
List all packages dpkg -l rpm -qa
Find package with str dpkg -l 'rsync*' rpm -qa | grep rsync
Update system apt-get update up2date -uv
apt-get upgrade
Start/stop daemons /etc/init.d/service stop services name start
/etc/init.d/service start services name stop
/etc/init.d/service restart services name restart