Kategorie: Allgemein
-
vmstat
VMSTAT The vmstat command is a powerful tool used to display information about system resources and memory usage on Linux systems. It’s a simple yet informative utility that provides detailed statistics about various system metrics, making it an essential tool for sysadmins and power users. Use of VMSTAT When you run the vmstat command without…
-
selinux
SELINUX SELinux stands for Security-Enhanced Linux, a kernel feature that provides a robust security policy framework. It’s designed to restrict access to system resources based on labels assigned to users, processes, files, and other objects. SELinux helps prevent unauthorized access, malware propagation, and privilege escalation by enforcing a strict access control model. Use of SELINUX…
-
ip
IP: The Command You Never Knew You Needed The ip command is a powerful tool that has been available in Linux since the days of Netfilter, but its usage has increased dramatically with the introduction of the IPROUTE2 suite. This command has largely replaced the older ifconfig and route commands, offering more features, flexibility, and…
-
watch
Watch The watch command is a utility that allows you to run a command repeatedly over time, displaying its output each time it runs. It’s often used to monitor system processes, network traffic, or file system activity. Use cases: Monitoring a specific process: You can use watch to run ps aux every few seconds to…
-
semanage
semanage semanage is a command-line tool used to manage SELinux (Security-Enhanced Linux) contexts and policies. It provides a way to view, modify, and update the SELinux security context of files, users, and processes on a Linux system. The main use of semanage is to: View and modify SELinux contexts for various resources (files, users, domains)…
-
hexdump
Hexdump The hexdump command is a utility that displays the contents of a file or input stream in hexadecimal format, along with optional ASCII and binary conversions. This powerful tool is often used for debugging, data analysis, and reverse engineering. What’s its use? The primary use of hexdump is to: Examine binary data, such as…
-
jq
jq Jq (JSON Query) is a lightweight and powerful command-line JSON processor used to parse, filter, and transform JSON data. It’s a must-have tool for any Linux user who works with JSON data. What can jq do? Parse and validate JSON data Filter and select specific fields or values from JSON data Transform and modify…
-
setfacl
Setfacl The setfacl command is used to set Access Control Lists (ACLs) on files and directories. An ACL is a way to assign permissions to users or groups, beyond just the owner, group, and other three categories. While chmod can only change the ownership of a file or directory, setfacl allows you to add additional…
-
shopt
shopt The shopt command stands for „shell options“ and is used to set or display shell configuration options. It’s a powerful tool that allows users to customize their shell experience, enabling features such as file name completion, spelling correction, and more. What can I do with shopt? With shopt, you can: Enable or disable specific…
-
gdb
GDB GDB, or GNU Debugger, is a powerful tool used to debug programs written in various programming languages, including C, C++, Fortran, and others. It allows developers to step through their code line by line, set breakpoints, examine variables, and even modify the execution of the program on-the-fly. What’s GDB for? GDB is primarily used…