Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

Command Line

The Ultimate Guide for the rest of us


Command Line

Postby Redeemed » Tue Nov 04, 2008 10:21 am

Man i'm at this site http://linuxcommand.org/ its like a command line for dummies...i've learned alot from it..and i never knew how powerful command line is. its pretty sweet...def worth checkin out if your new to command line like me! :)
Laptop Specs
Intel core 2 Duo Proessor 2.00 GHZ
200GB serial ATA hard disk Drive
1.3 mp Webcam
(Everything else is Onboard)
User avatar
Redeemed
Moderator
 
Posts: 135
Joined: Thu Oct 23, 2008 9:47 am
Location: VA
Age: 38
Operating System: Ultimate Edition 3.1 64 BIT



Re: Command Line

Postby deate » Tue Nov 04, 2008 12:17 pm

Redeemed wrote:Man i'm at this site http://linuxcommand.org/ its like a command line for dummies...i've learned alot from it..and i never knew how powerful command line is. its pretty sweet...def worth checkin out if your new to command line like me! :)

Thanks for the input...now I make the following suggestion for you, check out the "Quick Links section" also, you'll find a ton more great sites to help guide you!
User avatar
deate
Site Admin
 
Posts: 1336
Joined: Tue Dec 18, 2007 9:54 am
Location: South Texas
Age: 75
Operating System: Ultimate Edition 3.0 Lite



Re: Command Line

Postby Redeemed » Tue Nov 04, 2008 1:03 pm

sweet will do....lookin forward to learning the guts of linux!!
Laptop Specs
Intel core 2 Duo Proessor 2.00 GHZ
200GB serial ATA hard disk Drive
1.3 mp Webcam
(Everything else is Onboard)
User avatar
Redeemed
Moderator
 
Posts: 135
Joined: Thu Oct 23, 2008 9:47 am
Location: VA
Age: 38
Operating System: Ultimate Edition 3.1 64 BIT



Re: Command Line

Postby 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~
User avatar
LeadFingers
U.E. God
U.E. God
 
Posts: 1303
Joined: Fri Nov 23, 2007 1:46 am
Location: Salem Oregon
Age: 63
Operating System: Ultimate Edition 3.1 64 BIT


Return to Newbie's Corner

Who is online

Users browsing this forum: No registered users and 6 guests