πŸ’»Command πŸ”ƒPurpose 🐧Flavours
ls List directory contents All
dnf,yum Package manager Fedora, RHEL
apt Package manager Debian, Ubuntu
systemctl Manage systemd services Most modern distros
pwd Print working directory All
cat /etc/debian_version,lsb_release -a,cat /etc/os-release Check Debian version Debian, Ubuntu
dmidecode View hardware infomation including serial numbers etc. RHEL, Ubuntu
dmidecode -s system-manufacturer Check physical / virtual (vm) RHEL, Ubuntu
dmidecode -s system-product-name Check physical / virtual (vm) RHEL, Ubuntu
zypper refresh --force Force a Repository Refresh Suse
zypper up Update the packages in suse Suse
zypper update Update the packages in suse Suse
zypper remove packagename Remove the package in suse Suse
zypper install packagename Install the package in suse Suse
cat /etc/*release Find the OS version All
cal Calendar All
uname -r Kernel version of the OS All
Β© Kuri. All rights reserved.