This tutorial provides a foundational understanding of core Linux management concepts. It focuses on the Linux file system, handling packages on Debian-based systems, managing services with systemd, and monitoring processes. These practical areas are essential for anyone working with Linux in a system administration or support capacity.
The Linux File System Hierarchy organizes files logically within the Linux system, essential for administration, troubleshooting, and software management.
Debian-based systems utilize APT (Advanced Package Tool), managing software through repositories hosting pre-compiled software packages.
/etc/apt/sources.list
and additional PPA repositories.apt update
: Refresh package listsapt upgrade
: Upgrade installed packagesapt install
: Install new packagesapt remove
: Uninstall packages, leaving configuration filesapt purge
: Completely remove packages and configurationsapt search
: Search available softwaredpkg
(Debian Package): Low-level package manager used for installing, removing, and managing .deb
packages directly.
dpkg -i package.deb
dpkg -r package_name
dpkg -P package_name
dpkg -l
systemd is the default initialization and service manager system in modern Linux distributions. It handles startup and management of system services through units and targets.
systemctl status <service>
systemctl start|stop|restart <service>
systemctl enable|disable <service>
journalctl -u <service>
Processes are active executing programs managed by the Linux kernel, identified by unique PIDs, resource allocation, and scheduling.
ps
, top
, htop
kill <PID>
, pkill <process_name>
bg
, fg
, jobs
uname
: Kernel infohostnamectl
: Hostname managementlscpu
: CPU infofree
: Memory usageLogging Directories: /var/log/syslog
, /var/log/auth.log
, /var/log/dmesg
This tutorial introduces the essential skills for managing a Linux environment. From understanding the file system hierarchy to installing packages, controlling services, handling processes, and writing shell scripts — these foundational practices are critical for effective Linux system administration. Mastery of these topics enables greater confidence in real-world IT environments where Linux plays a central role.
Back to Home