Changing keyboard layout on Ubuntu
Answer:
If you have set a wrong keyboard layout, you can change it using the following command:
# dpkg-reconfigure console-setup
Follow the instructions and change it.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Changing keyboard layout on Ubuntu
Answer:
If you have set a wrong keyboard layout, you can change it using the following command:
# dpkg-reconfigure console-setup
Follow the instructions and change it.
Install Mercurial in Ubuntu
Answer:
Mercurial is a scalable distributed version control system, to install it in Ubuntu, type
# sudo apt-get install mercurial
That's it.
Clone an existing project using Mercurial
Answer:
To clone an existing Mercurial project, use the following simple command:
# hg clone https://bitbucket.org/ellislab/codeigniter
That's all.
Install Git in Mac using MacPort
Answer:
To install Git in Mac using MacPort, following the method below:
1. Search if Git is available
# port search git
2. You will found the package named "git-core", go ahead to install it
# sudo port install git-core
That's all.
Simple date calculation using date command
Answer:
Date command is useful to calculate date, e.g. Assume today is 2011-01-15
1. Find a date in the past, e.g. 60 days ago
# date --date='60 days ago' "+%Y-%m-%d"
2010-11-16
2. Find a date in the future, e.g. 60 days in the future
# date --date='60 days' "+%Y-%m-%d"
2011-03-16