Enhancing Skills

Author Archives: Mr. Q

shutdown: Shutdown the system

Command: shutdown The shutdown command is used to power off or halt the system in an orderly manner. It ensures that all processes are terminated, filesystems are unmounted, and the system is safely powered down. It requires superuser privileges to execute. Sample Commands and Outputs: Description: Description: Description: Description: Note: […] Read more »

reboot: Reboot the system

Command: reboot The reboot command is used to restart the system. It initiates a shutdown sequence, terminating all running processes, unmounting filesystems, and then rebooting the computer. It requires superuser privileges to execute. Sample Commands and Outputs: Description: Description: Description: Note: The reboot command is essential for system administration, especially […] Read more »

killall: Send a signal to all processes matching a given name

Command: killall The killall command sends a specified signal to all processes matching a given name. By default, killall sends the SIGTERM signal, which requests a graceful shutdown of the processes. It is a powerful tool, especially when you need to terminate multiple instances of the same process. Sample Commands […] Read more »

kill: Send a signal to a process to terminate it

Command: kill The kill command sends a signal to a process, typically to terminate it. By default, kill sends the SIGTERM signal, which requests a graceful shutdown of the process. You can also send other signals, such as SIGKILL, which forces an immediate termination. Sample Commands and Outputs: Description: Description: […] Read more »

ps: Display a snapshot of currently running processes

Command: ps The ps command provides a snapshot of the current processes running on the system. It shows information like process IDs (PIDs), user ownership, CPU usage, memory usage, and more. The output can be filtered and formatted using various options to display specific details. Sample Command and Output: Description: […] Read more »

uname: Print all information about the current operating system

uname -a All information: Displays all available system information. Command: uname -a Example Output: The uname command provides information about the system on which it is run. The -a option prints all available system information, including the kernel name, version, and architecture, as well as the system’s hostname. uname -s […] Read more »

systemctl: System service manager to start, stop, and manage services

Command: sudo systemctl systemctl is a command-line utility that interacts with systemd, a system and service manager used in many Linux distributions. It controls and manages system services, including starting, stopping, restarting, and checking the status of services. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: […] Read more »

dpkg: Package management system used on Debian-based distributions

Command: dpkg dpkg is the core package management system for Debian-based distributions (such as Ubuntu and Debian). It provides the basic functionality for installing, configuring, and removing software packages in .deb format. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: Description: Description: Note: […] Read more »

rpm: Package management system used on Red Hat-based distributions

Command: rpm The RPM Package Manager (RPM) is a package management system used primarily on Red Hat-based distributions (such as CentOS, Fedora, and RHEL). It allows users to install, update, remove, and query software packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: […] Read more »

yum: Package manager for Red Hat-based distributions

Command: yum A package management tool used on Red Hat-based Linux distributions (like CentOS, Fedora, and RHEL). yum (Yellowdog Updater, Modified) simplifies the process of installing, updating, and managing software packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: Note: yum is used […] Read more »