Tuesday, June 30, 2015

sublime 2/3 on Ubuntu

Install Sublime2

sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text

Install Sublime3

sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text

Saturday, June 27, 2015

Show hardware info on Ubuntu

lshw lspci sudo apt-get install hardinfo

gthumb ubuntu image viewer

sudo apt-get install gthumb

Thursday, June 25, 2015

Reduce Initramfs to speed up boot time

edit /etc/initramfs-tools/initramfs.conf, change MODULES=dep instead of MODULES=most

Run below command to rebuild initramfs sudo update-initramfs -u -k all

Sunday, June 21, 2015

Samba Utility

Install samba utility sudo aptitude install cifs-utils

Example for mounting a samba folder sudo mount -t cifs //192.168.0.15/myfiles /home/usr/files -o rw

Wednesday, June 17, 2015

Caching git Password

git config --global credential.helper cache git config --global credential.helper 'cache --timeout=3600'

Friday, June 05, 2015

Ubuntu Enable colored Highlights in Terminal

edit .bashrc sudo nano ~/.bashrc

Uncomment #force_color_prompt=yes

Ubuntu Enable Wireless Network in Terminal

Install wireless tools sudo apt-get install wireless-tools

Enable Wireless network sudo ifconfig wlan0 up

List down all available wireless network sudo iwlist wlan0 scan

Setting up SSID iwconfig wlan0 essid "your_ssid"

Enable DHCP dhclient wlan0