du -sch FOLDER-NAME
Tag Archives: Ubuntu
Install rar on ubuntu
1) Goto terminal and type the command sudo apt-get install rar
OR
2)Goto System->Administration->Synaptic Package Manager
Search for the package named rar and mark for installation. Then Apply.
Install font Ubuntu
2) Create the folder mkdir /home/<YOUR_USERNAME>/.fonts
3) Move the downloaded font to the folder “.fonts“
Linux command install tasksel – ubuntu
sudo apt-get install tasksel
Set environment variables permanently – ubuntu linux
For eg : export some_var=some_value
list environment variable ubuntu linux
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
Ubuntu 10.04 : Make Pidgin run at startup
How To Find Out Your Ubuntu Version
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 current working directory of a process
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>
Find out process id of a process – Linux
ps aux | grep <process-name>