showing and monitoring processes
To install: sudo apt-get install xclip
xclip id_rsa.pub
should copy the content into primary selection. To copy into clipboard, follow the command with xclip -o | xclip -sel clip
Add alias for cd to folder
alias shortcutname="cd /c/target/directory"
add the command on your .bashrc. Next time you can just run commannd shortcutname
to change the directory to c/target/directory.
Add symbolic link
sudo ln -s <src-path> <dest-path>
Remove symbolic link
rm <dest-path>
apt-cache policy <package-name>
More useful commands using apt-get
Using apt-get
sudo apt-get install package-name
Using .tar.xz file
- download .tar.xz file.
Using .deb file
- download .deb file.
- run command
sudo dpkg i <file.deb>
- if errors outs due to dependencies, run command
sudo apt-get install -f
and rerun step 2.
sudo apt-get install packagename=2.3.5
- Download eclipse(*.tar.gz) from its website
- Make sure you have java installed]()
- Extract eclipse*.tar.gz into /opt
cd /opt && tar -zxvfw ~/Downloads/eclipse*.tar.gz
- Create launcher shortcut for eclipse, create eclipse.desktop file in /usr/share/applications or ~/.local/share/applications and add following contents.
[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
- create symbolic link to open an eclipse from command line
sudo ln -s /opt/eclipse/eclipse /usr/bin
or use update-alternatives
sudo update-alternatives --install /usr/bin/eclipse eclipse /opt/eclipse/eclipse
Setting your environment variables
Installing various packages into unbuntu