Linux Hacks for everyone

  • 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…

    Read more …

  • 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…

    Read more …

  • 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…

    Read more …

  • 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…

    Read more …

  • ss

    ss The ss command is a powerful tool that provides a snapshot view of socket connections in the system. It’s often used by network administrators, sysadmins, and advanced Linux users to diagnose connection issues, monitor network activity, and optimize system performance. What does ss do? sx (where s stands for „socket“ and s is an…

    Read more …

  • sed

    sed: Stream Editor Sed (Stream Editor) is a powerful command-line utility that allows you to perform complex text manipulation tasks. It’s commonly used for editing files, transforming data, and modifying text within streams of input. What is sed used for? Text replacement: Replace specific words or patterns with other strings. Pattern matching: Find specific patterns…

    Read more …