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