Wednesday, November 04, 2015

Thursday, October 22, 2015

Sunday, July 19, 2015

qemu virtual machine manager

Install qemu virtual machine manager sudo apt-get install virt-manager Reboot your system after installation.

Sunday, July 12, 2015

nmap for ip/hostname scan

install nmap via below command sudo apt-get install namp Scan IP (example) nmap -sP 192.168.1.0/24 Scan Hostname nmap -A 192.168.1.0/24

Thursday, July 09, 2015

wireless network setting

edit /etc/network/interfaces sudo nano /etc/network/interfaces Here is an example for setting a wirless network with fixed ssid auto wlan0 iface wlan0 inet dhcp wireless-essid my_ssid wireless-mode Managed

Wednesday, July 08, 2015

Fix Network Tray Icon Missing

Install following package to fix this problem sudo apt-get install indicator-applet-complete

Tuesday, July 07, 2015

config boot process - sysv-rc-conf

Install sysv-rc-conf sudo apt-get install sysv-rc-conf

Run it

sudo sysv-rc-conf

Wednesday, July 01, 2015

uget on ubuntu

A good gui tool for batch download. sudo apt-get install uget

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

Friday, May 15, 2015

Ubuntu 15.04 Build Single Module

Get source code from apt-get sudo apt-get source linux-3.19.0
change directory to linux source code and type following commands cd linux-3.19.0
copy current kernel config as .config in current folder (or you can config it by typing make oldconfig) cp /boot/config-`name -r` .config
type following commands for parparations sudo make prepare sudo make scripts
copy Modules.symvers to current folder cp /usr/src/liunx-headers-&(uname -r)/Module.symvers .
compile specified module (ex. I'd like to rebuild block module) sudo make M=drivers/block

Monday, March 02, 2015

Vim with ctag & taglist

Just follow below instructions to install ctags & taglist under vim.

Install vim and ctags
sudo apt-get install vim ctags vim-scripts

Install taglist via
vim-addons install taglist