Posts

Showing posts with the label System

[ Level 2 ] Enable USB 3.0 in Ubuntu 12.04

After I upgrade 12.04, the USB 3.0 port seems not work. Then I google the solution: add "blacklist uas" in the file /etc/modprobe.d/blacklist.conf Wish this helps. regards, Stanley Huang

[Level 1] Get partition uuid on Ubuntu.

# blkid /dev/sda1: UUID="05580ede-bec4-44ae-b1a5-8e8c7b2e7c58" TYPE="ext4" /dev/sda2: UUID="3df58602-322b-437a-b65c-de21293f6840" TYPE="swap" /dev/sda5: UUID="5417e3d4-4b7d-4a79-a58a-a53cbeab6112" TYPE="ext4" Wish this helps. regards, Stanley Huang

[Level 1] Backup directories by cpio.

#!/bin/bash source=$1 target=$2 (cd $source; find . -print | cpio -ocv) | (cd $target; cpio -icuvd) # cd $source; find . -print | cpio -ocv > /tmp/tmp.cpio # cd $target; cpio -icuvd Wish this helps. regards, Stanley Huang

[Level 1] Ubuntu 32 bit support more than 3G memory.

If you want Ubuntu 32 bit supoort more than 3G memory, You can install following packages. $ sudo apt-get update $ sudo sudo apt-get install linux-headers-server linux-image-server linux-serve Wish this helps. regards, Stanley Huang

[Level 1] How to get hardware information in Ubuntu.

How to list hardware in Ubuntu. Just type the command: # lshw stanley-ubuntu                description: Desktop Computer ... Wish this helps. regards, Stanley Huang

[Level 1] ntpclient in Ubuntu

If you want to sync system time. You can use command ntpdate. # sudo ntpdate ntp.ubuntu.com Wish this helps. regards, Stanley Huang