linux
Articles and projects relating to 'linux'

My thoughts on Ubuntu Adware

Linux penguin Tux

Recently Canonical announced that in Ubuntu 12.04 Amazon adverts will be included in Unity search results. This would mean that desktop searches through Unity will now be sent to Amazon and in return Amazon adverts will be included in the search results. Now this could spark up privacy concerns but lets face it, lots of […]

Converting an mp4 file to an avi file using ffmpeg

Linux penguin Tux

This post is mostly for my own reference as I keep forgetting the correct parameters. To convert an MP4 file to an AVI file use ffmpeg and supply the codecs like so

Clearing the Bash History

Linux penguin Tux

After awhile the bash history can get filled with loads of commands and sometimes you want to clear it down. Maybe you want to see only the commands that you have recently used or just doing some house keeping. You may even be on another server and you dont want to commands to be audited. In this post I will show you how to completely clear the bash history.

Searching and Running a Command from Bash History

Linux penguin Tux

How many times have you retyped the same bash command over and over again or forgotten the the ssh host address that you used last week? If your answer is lots then read on.  In this post I discuss the bash history command and how to  search for and rerun previous commands that you have […]

Count lines of code in a Linux directory

Linux penguin Tux

In this bash tutorial I demonstrate how to count the lines of code in a directory using the wc command in Linux. This example also details how to use Linux output redirection by combining multiple programs to return the desired output.