LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Commands in Terminal (https://www.linuxquestions.org/questions/linux-newbie-8/commands-in-terminal-921413/)

Ztcoracat 12-31-2011 03:17 PM

Commands in Terminal
 
:study: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.

MS3FGX 12-31-2011 06:00 PM

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.

bigrigdriver 12-31-2011 06:11 PM

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.

snowday 12-31-2011 06:20 PM

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?

Ztcoracat 12-31-2011 09:39 PM

Command typing
 
Quote:

Originally Posted by bigrigdriver (Post 4562817)
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.

Ztcoracat 12-31-2011 09:41 PM

Quote:

Originally Posted by snowpine (Post 4562822)
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 :newbie:

snowday 12-31-2011 09:57 PM

Quote:

Originally Posted by Ztcoracat (Post 4562906)
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."

Ztcoracat 12-31-2011 10:17 PM

Quote:

Originally Posted by MS3FGX (Post 4562812)
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 :newbie:is extremely challenging to say the least-

Ztcoracat 12-31-2011 10:21 PM

Quote:

Originally Posted by snowpine (Post 4562913)
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!

Ztcoracat 12-31-2011 11:34 PM

Quote:

Originally Posted by snowpine (Post 4562913)
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.

snowday 12-31-2011 11:40 PM

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.


All times are GMT -5. The time now is 02:46 AM.