Tag Archives: grep

Finding a string through your source codes

Not sure if the title is accurate but what I really wanted to say is to find a certain string, which file and which line within your project directory no matter how deep the directory level is. This is extremely … Continue reading

Posted in Linux, Slackware | Tagged , , , , , , , , , | 3 Comments

Creating shortcut for finding installed Slackware packages

Lazy I am so I created a shortcut for checking if a package is installed in Slackware. Packages are listed on /var/log/packages so basically a basic ls | grep combo is needed to see if a package is already installed. … Continue reading

Posted in Linux, Slackware | Tagged , , , , , , | Leave a comment

Log parsing – grep, cat, zgrep and zcat

More on log parsing, I’m taking notes on how to read log files and get the information that I need. On Linux environment, these tools are perfect: grep, cat, zgrep and zcat. Extracting patterns with grep We can extract information … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment