19 April, 2010

Essential commandline for driving your system

Turn off
sudo shutdown
 
Reboot
sudo reboot
List mounted devices and disks and other info
 
sudo fdisk -l
 
Static file system information
 
/etc/fstab
 
Fcsk – boot from live CD (for booting from a mounted drive)
open a console with ctrl+alt+f1
then sudo fsck /dev/sdb, etc
Another option: sudo e2fsck -p -f -v /dev/sda
 
Force fsck on boot
sudo touch /forcefsck and reboot!
Change screen resolution using command line
xrandr -s new_widthxnew_height
example: xrandr -s 1920×1200

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger