by LeadFingers » Tue Nov 04, 2008 10:13 pm
One of the cool things about Ultimate Edition is you don't have to use the terminal or Command line, but you can if you want.
As you get more comfortable with Linux you will realize how much quicker & easier you can do things by using the terminal.
When I first started using Linux I kept a list of the useful commands.
Although it's grown it's pretty basic.
Basic -Bash Commands
To do anything as root ......... sudo rest_of_the_command
To remove a file................ rm filename
To remove Directory .......... rm -R directory_name
o create a directory............ mkdir directory_name
to create a file ................. touch file_name
to rename a file................ mv old_name new_name
To mount CD ................... mount /dev/cdrom /media/cdrom0
o unmount CD.................. umount /dev/cdrom
to copy CD files ................ cp /media/cdrom0/* /directory_name/directory_name
to copy a problem file......... cp -R
to UnTar a file ................. tar zxf filename.tar.gz
to make & install.............. make; make install (best done in 2 steps)
To restart GUI ................. sudo /etc/init.d/gdm restart (or Ctrl + Alt + Backspace)
To stop GUI..................... sudo /etc/init.d/gdm stop
To start GUI .................... sudo /etc/init.d/gdm start
To drop out of "X".............. sudo /etc/init.d/xdm stop
To kill all gdm .................. sudo killall gdm
To edit a file ................... sudo nano /address/to/be_edited
To reconfigure xorg.conf...... dpkg-reconfigure xserver-xorg
. . . . .With high switch ....... dpkg-reconfigure -phigh xserver-xorg
To edit a file..................... sudo gedit filename (from inside dir contaning file)
To verify glx .................... glxinfo
To Verify fglrx................... fglrxinfo
To check dri ..................... glxinfo | grep direct
To backup Grub.................. sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
To backup xorg.conf ............ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.911
To find the ip of a device....... /sbin/ifconfig
To find Architecture ............. uname -m (this will tell you 32bit or 64bit)
*********************************Things to edit*****************************************
To change hardware parameters... sudo gedit /etc/hdparm.conf
To edit xorg .......................... sudo gedit /etc/X11/xorg.conf
to edit Grub menu.1st............... sudo gedit /boot/grub/menu.lst
To edit repos ......................... sudo gedit /etc/apt/sources.list
To Edit Host Name ................. sudo gedit /etc/dhcp3/dhclient.conf
******************************************************************
to mount a USB harddrive:
mount -t (file sys type) /dev/sda(whatever number) /media/mountpoint
to permenently mount: edit fstab
/dev/sda(whatever) /media/mountpoint (file sys type) iocharset=utf8,umask=000"
( where iocharset.... in fstab after fils sys type)
*****************************************************************
Envy section
To uninstalled all drivers installed by Envy.... sudo envyng --uninstall-all
To start envy from a terminal.................. sudo envyng -t
To start envy in Gnome......................... sudo envyng -g
***************************************************************
Compiz issues
................................................. metacity --replace
To restart compiz ............................ compiz --replace
(tip from DaddyX3, solves most issues)
**************************************************************
Not Bash commands
************************************KeyRings********************************************
(To be run from the desktop)
To run a program in Ultimate Edition........ Alt + F2
To kill gdm ...................... Ctrl + Alt + F12
To restart gdm................... Ctrl + Alt + F7
To restart X ...................... Ctrl + Alt + Backspace
(To be run while booting)
To stop a hang @ filecheck..... Enter (then) Ctrl + D
**************************************************************
1st Box: Ultimate Edition 2.0 x64/ 1.8 x64
2nd Box: XP (dusty)
3rd Box: Stable Media box Ultimate Edition 1.8 x64 with XBMC
The Oxen are slow but the Earth is patient ~Chuen~