Skip to content
Home » debugging

debugging

Want to Find Hidden Strings in Your Binary Files? Try the Strings Command in Linux

The Linux “strings” command extracts readable text from binary files, enabling users to search for strings in files, filter the output using regular expressions, and perform a recursive search for strings across multiple files. The command is easy to use and comes with options and flags that can be combined… Read More »Want to Find Hidden Strings in Your Binary Files? Try the Strings Command in Linux

Optimize & Debug Nested Loops for Performance

TLDR; Nested loops are a programming construct providing increased complexity and ability to process multi-dimensional data, but at expense of slow performance and difficulty in debugging. To optimize, avoid too many nested loops, use early exit conditions, and use appropriate data structures. Debugging can be done with print statements, debugger,… Read More »Optimize & Debug Nested Loops for Performance

Master Verbose Mode for More Insightful Command Line Use

TLDR; Verbose mode in the CLI can be enabled by using an appropriate command-line option (e.g. v for tar). It is useful for debugging, understanding commands, and troubleshooting scripts and automation. Verbose mode is supported by many Unix commands, package managers, and build systems. It is important to understand the… Read More »Master Verbose Mode for More Insightful Command Line Use

Make Vagrant Snapshots Your Secret Weapon to Boost Your Workflow

Vagrant snapshots are a built-in feature of Vagrant that allows you to save the current state of your VM at a particular point in time. Once you’ve taken a snapshot, you can revert back to that state later if necessary. This can be incredibly useful for testing and development, as… Read More »Make Vagrant Snapshots Your Secret Weapon to Boost Your Workflow

Take Your Logging Skills to the Next Level with Linux Logger

As a Linux user, you’ve likely come across the logger command at some point. This handy tool allows you to record messages, or “logs,” from the command line or within scripts. But there’s more to logger than meets the eye – keep reading to learn some lesser-known features and practical… Read More »Take Your Logging Skills to the Next Level with Linux Logger