Essential Debian System and Development Commands
Package Management with dpkg
Install a local .deb package:
sudo dpkg -i package.deb
Remove a package while keeping configuration files:
sudo dpkg -r package_name
Purge both the package and its configuration files:
sudo dpkg --purge package_name
List all installed packages:
dpkg -l
Display information about a .deb file:
dpkg -I package.deb
...
Posted on Fri, 08 May 2026 20:08:11 +0000 by naskar
User Account Management in CentOS 7
Key Configuration Files
User and group information in Linux is stored in specific text files within the /etc directory. Understanding these files is crucial for system administration.
/etc/passwd: Contains user account information. Each line represents a user with fields separated by colons: username:password:UID:GID:comment:home_directory:log ...
Posted on Thu, 07 May 2026 20:00:22 +0000 by davestevens_uk