红联Linux门户
Linux帮助

Top 10 Ubuntu Tips

发布时间:2007-12-17 10:39:39来源:红联作者:spworks
1) How to restart GNOME without rebooting computer

A) Press ‘Ctrl + Alt + Backspace’
or
B) sudo /etc/init.d/gdm restart

2) How to switch to Console mode in GNOME

A) Press ‘Ctrl + Alt + F1′ (F2 - F6)

To switch between consoles in Console mode

B) Press ‘Alt + F1′ (F2 - F6)

To switch back to GNOME mode

C) Press ‘Alt + F7′

3) How to show all hidden files/folders in Nautilus

A) Press ‘Ctrl + H’

To permanently show all hidden files/folders in Nautilus

B) Edit Menu -> Preferences
Views Tab -> Default View -> Show hidden and backup files (Checked)

4) How to load Web site faster in Mozilla Firefox

A) In FireFox address bar, type “about:config”

Filter: ->
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true

5) How to install/uninstall .deb files

A) To install .deb file

a) sudo dpkg -i package_file.deb

B) To uninstall .deb file

a) sudo dpkg -r package_name

C) To find version of a package installed

a) dpkg -l packagename

D) To convert .rpm files to .deb files

a) sudo alien package_file.rpm

6) How to save “man” outputs into files

A) man ls | col -b > file.txt

7) How to hide GRUB menu on boot-up

A) sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
B) gksudo gedit /boot/grub/menu.lst

a) Look for ‘#hiddenmenu’
b) Uncomment so it’s ‘hiddenmenu’
c) Save file.

C) To change timeout seconds for GRUP menu on boot-up

a) Look for ‘timeout’ and change value.

D) To change default OS for GRUP menu

a) Look for ‘default’ and add value.

8 ) How to temporary skip boot-up services

A) Press ‘Ctrl + C’

9) If your system is unresponsive, here are some tips to bring it to life

A) Press “ALT” + “sysreq-key” + “one of the keys” listed below (The sysreq-key is also known as the ‘print screen’ key):

‘r’ - Turns off keyboard raw mode and sets it to XLATE.
‘k’ - Secure Access Key (SAK) Kills all programs on the current virtual console.
‘b’ - Will immediately reboot the system without syncing or unmounting your disks.
‘c’ - Will perform a kexec reboot in order to take a crashdump.
‘o’ - Will shut your system off (if configured and supported).
’s’ - Will attempt to sync all mounted filesystems.
‘u’ - Will attempt to remount all mounted filesystems read-only.
‘p’ - Will dump the current registers and flags to your console.
‘t’ - Will dump a list of current tasks and their information to your console.
‘m’ - Will dump current memory info to your console.
‘v’ - Dumps Voyager SMP processor info to your console.
‘0′-’9′ - Sets the console log level, controlling which kernel messages will be printed to your console.
‘f’ - Will call oom_kill to kill a memory hog process
‘e’ - Send a SIGTERM to all processes, except for init.
‘i’ - Send a SIGKILL to all processes, except for init.
‘l’ - Send a SIGKILL to all processes, INCLUDING init.

10) How to install P2P BitTorrent Client (Azureus)

A) sudo aptitude install azureus

a) Applications -> Internet -> Azureus
文章评论

共有 0 条评论