Enhancing Skills

Monthly Archives: August 2024

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 »

aptitude: Package manager for Debian-based distributions, an alternative to apt-get

Command: aptitude A package management tool that provides a text-based user interface for managing packages on Debian-based systems. It offers a more user-friendly interface compared to apt-get and integrates advanced features for package management, including searching, installing, and removing packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: […] Read more »

apt-get source package_name: Download the source code for a package

Command: apt-get source package_name Used to download the source code of a specific package. This command retrieves the source code archive of the specified package, which can be used for examining or modifying the package before building it from source. Sample Command and Output: Description: Additional Commands and Sample Outputs: […] Read more »