Every day working with Terminal, we need a lot of shortcut to speed up our task. One of my frequently used shortcut is deleting one word in the left side of cursor:
Alt + Backspace
Enjoy!
Alt + Backspace
lsb_release -aThen it will print out some messages like this:
No LSB modules are available.So I has already know what Ubuntu version used in server. It is Natty. Enjoy!
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
ssh-keygen -f "/home/hudan/.ssh/known_hosts" -R server_ip_addressEnjoy :).
apt-get install bcOf course you have to be a root when issuing it. Now we will try bc to perform simple arithmetic operation, such as:
echo 2+3 | bc
echo 2-3 | bc
echo 2*3 | bc
echo 6/2 | bc
deb http://kambing.ui.ac.id/ubuntu maverick main universeKambing is updated mirror and I can easily access this server. Change this address based on your location and nearest repository in your resident. Enjoy!
restricted multiverse