Another nice little bash tool that I’ve recently come across is stat.

More details can be found here:

but basically it returns the status of a file or filesystem.

Ubuntu Mate Lenovo microphone fix

On a Lenovo G50 I have access to there was no sound being recorded by the internal microphone. This was a problem with Skype and Hangouts. The following fixed the issue:

  • sudo apt-get install pavucontrol
  • Type pavucontrol in the terminal
  • A new window will open. Click on the Input Devices tab at the top of the window
  • With Port set to Internal Microphone:
  • Move the Front Left slider bar to more than 85% and the Front Right slider bar to between 60% and 70%
  • Start your Skype conversation and keep tweeking the sliders in pavucontrol

Based on a post here:



A little trick to help test the cpu load on a multi-core machine.

Open a Terminal and type the following and press Enter.

yes > /dev/null &

You may need to repeat the command for as many cores as your CPU has in order to stress to the maximum. To kill the ‘yes’ command (which writes a string continuously) use:

killall yes

And use it at your own risk 🙂

Search for last command of type…

If you need to find a previous command of a specific type e.g. mount

history | grep -i mount

Tagged , ,

Shared folders update

This is an update on an earlier post, regarding read/write access to  a shared folder on a host machine from a linux guest in Virtualbox:

mount -t vboxsf -o uid=1000,gid=1000 <folder name given in VirtualBox> /home/<user>/where/ever/you/want

To add ownership and automatically mount in virtualbox via vboxsf in Ubuntu add to the /etc/rc.local file before the exit 0 line