Linux snippets

Throughout my life as professional I ever had bad memory. In fact, I signed up in every new on-line platform such like Evernote, google keep, remember the milk, etc. hoping to be able to remember every interesting post/snippet that help me in the future.

For this reason, I decided to collect all those linux scripts that you knows that exist but never remember how exactly is spelled out.

SO information

In this section, there are a serie of useful scripts that might give you information about your linux distribution. Information such as the SO version, hard drive space, etc.

LIN-01: Linux distribution information


lsb_release -a

LIN-02: Find process with ps and grep

ps aux | grep <process_name>

LIN-02: Zip and unzip files

unzip <filename> -d <dir>