Have you ever dreamed to have one or multiple password ready to be used just making use of a shortcut?
Well if you make use of ubuntu (even in a VM) here is the solution for you!
xclip is an Ubuntu app for dealing with stuff in the “clipboard”. I order to install it, please execute:
sudo apt-get install xclip
Once xclip has been installed you have to create a file that contains the password.
Creating a shortcut
There is a Keyboard menu in Ubuntu.
- On the 12.04 the menu is at: Applications > System Tools > System Settings > Keyboard
- Select the Shortcuts panel
- Select Custom Shortcuts subpanel
- Click the +
- Enter the name of the shortcut (eg Copy Linux Password to Clipboard)
- in the command field enter: “xclip -i /home/[username]/.my_unix_password -selection clipboard”
- Click Apply
- Right click on Disabled. It should change into New Accelerator
- Now press the combination of keys you want to use to copy your password to clipboard (eg. CTRL+ALT+P)
- Finally close the keyboard menu
Now open a text editor and press your magic key combination…. now try to paste!
If you are trying to mount a Windows shared folder that has its name containing spaces you can easily mount it sticking 40 instead the space character:
For example, if the box is at the address 192.168.0.15 and the name of the shared folder is "Name with spaces" you can add the following line into your /etc/fstab
//192.168.0.15/Name40with40spaces /mnt/name-with-spaces bla bla bla
Meaning of “load average” of the top Linux command
The “load average” information given by the top command is of fundamental importance. But how to correctly understand the meaning of it? Which value are bad? Which good?
This article is just simply brilliant in explaining how to interpret this value: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages