The output will be
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
GDM_KEYBOARD_LAYOUT=us
LANG=en_IN
GNOME_KEYRING_PID=1844
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_IN
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
GDM_KEYBOARD_LAYOUT=us
LANG=en_IN
GNOME_KEYRING_PID=1844
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_IN
Just click System/About Ubuntu?
or
Got to Applications -> Accessories -> Terminal and type cat /etc/lsb-release
Then you could see the following
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=”Ubuntu 10.04.2 LTS”
Find out the process id ps aux | grep {process-name}
To find out current working directory of a PID 2234 pwdx pwdx
Output /home/<user-name>
ps aux | grep <process-name>
pwd
/home/<user-name>
unzip pics.zip
This will extract compressed files in a ZIP archive
zip folder-name *
It compress all the files in the respective folder and create an archive folder-name.zip
zip – r folder-name *
It compress all the data including its sub folder contents
Run the below given command from the terminal
sudo apt-get -u install ant