LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2011, 03:17 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Rep: Reputation: Disabled
Commands in Terminal


Hi! Been reading the "Ubuntu Linux Bible" and that's good but I'm still not understanding why SPM is not recognizing the driver sitting on my Gnome desktop and what I am doing wrong.

I started to follow a Read Me file with commands and instructions to manually install this r8168-8.aaa.bb.tar.bz2 ( driver for my NIC )

I didn't know until I was told by a member to type the command w/o the # sign; due to the locked acct. in Ubuntu-

So, my question is since most of the commands in the Read Me file are with a # sign should I continue to put in the commands w/o the # sign?

Does anyone know a website that could help me?
This is hard for me and I am struggling somewhat to understand these inst's and commands.
 
Old 12-31-2011, 06:00 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I'm not sure I follow you; the "#" symbol in the book is to indicate the command is supposed to be entered into the terminal, not that you are literally supposed to enter that symbol into the terminal.
 
Old 12-31-2011, 06:11 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Open a terminal as normal user and you will see your prompt ends with $. Then su to root, and you will see the prompt ends with #. So, if you see examples of commands which begin with the # sign, that just means that the command must the give by root and not normal user.
 
1 members found this post helpful.
Old 12-31-2011, 06:20 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,193

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Ubuntu is different. In Ubuntu, any commands to be run "as root" (with a # sign) should be prefaced with the "sudo" command.

For example, instead of:

Code:
# apt-get update
try:

Code:
$ sudo apt-get update
Regarding your specific question, have you tried using Ubuntu's Restricted Hardware Drivers application (jockey-gtk) to see if your wireless driver can be easily installed with one mouse click?
 
1 members found this post helpful.
Old 12-31-2011, 09:39 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Original Poster
Rep: Reputation: Disabled
Command typing

Quote:
Originally Posted by bigrigdriver View Post
Open a terminal as normal user and you will see your prompt ends with $. Then su to root, and you will see the prompt ends with #. So, if you see examples of commands which begin with the # sign, that just means that the command must the give by root and not normal user.
Thank you, now I understand what I should be typing in the terminal and what I should not be.
 
Old 12-31-2011, 09:41 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Ubuntu is different. In Ubuntu, any commands to be run "as root" (with a # sign) should be prefaced with the "sudo" command.

For example, instead of:

Code:
# apt-get update
try:

Code:
$ sudo apt-get update
Regarding your specific question, have you tried using Ubuntu's Restricted Hardware Drivers application (jockey-gtk) to see if your wireless driver can be easily installed with one mouse click?
No I have not tried using Ubunts's restricted hardware driver application because I don't know how to and I don't know where it is.
Should I type in jockey-gtk?
Sorry so many question I'm a
 
Old 12-31-2011, 09:57 PM   #7
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,193

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Quote:
Originally Posted by Ztcoracat View Post
No I have not tried using Ubunts's restricted hardware driver application because I don't know how to and I don't know where it is.
Should I type in jockey-gtk?
It's been a little while since I used ubuntu but I believe this will work: Open a terminal or press Alt+F2 and type:

Code:
gksudo jockey-gtk
"gksudo" is used to launch a graphical (GUI) application "as root."
 
1 members found this post helpful.
Old 12-31-2011, 10:17 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MS3FGX View Post
I'm not sure I follow you; the "#" symbol in the book is to indicate the command is supposed to be entered into the terminal, not that you are literally supposed to enter that symbol into the terminal.
MS3FGX : Thank you, I understand now that I'm not to literally enter in those symbols.
If I make a mistake with commands I am Greatly concerned about causing havoc to my OS.
However;
I am at a point where I have to put in commands due to the amount of time ( 32 days ) I've spent trying and learning to install this driver and follow the instructions.
Being a is extremely challenging to say the least-
 
Old 12-31-2011, 10:21 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
It's been a little while since I used ubuntu but I believe this will work: Open a terminal or press Alt+F2 and type:

Code:
gksudo jockey-gtk
"gksudo" is used to launch a graphical (GUI) application "as root."
K, off to the Linux/Ubuntu partition side. I will post the results shortly.
Thank You and Happy New Year!
 
Old 12-31-2011, 11:34 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,663
Blog Entries: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
It's been a little while since I used ubuntu but I believe this will work: Open a terminal or press Alt+F2 and type:

Code:
gksudo jockey-gtk
"gksudo" is used to launch a graphical (GUI) application "as root."
Snowpine:

I opened the terminal and typed: gksudo jockey-gtk :

A window opened and gave me this message-
Proprietary drivers are being used to make this computer work properly.
ATI/AMD proprietary FGLRX graphics driver
Tested by the Ubuntu developers
3D-accelerated proprietary graphics driver for ATI cards.
This driver is required to fully utilise the 3D potential of some ATI graphics cards, as well as provide 2D acceleration of newer cards.
This driver is activated and currently in use.

Sorry I couldn't post sooner but the NIC is still kicking me offline. Now that I know how to type commands in I can get that driver manuallyl installed.
 
Old 12-31-2011, 11:40 PM   #11
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,193

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
It was worth a try... sometimes jockey-gtk is the easiest method (if Ubuntu has provided the driver).
Sounds like in your case you will need to use the slightly-more-complicated instructions. Hopefully the tips we've given will increase your confidence in the terminal. Please follow up with any questions/problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Terminal commands working in terminal but not in a script GreYFoXGTi Linux - Newbie 1 08-04-2010 09:36 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - Software 2 07-02-2008 06:26 PM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - General 2 07-01-2008 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration