Page 2 of 2 [ 31 posts ]  Go to page Previous  1, 2

Daedulus
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 13 Dec 2008
Age: 35
Gender: Male
Posts: 70

13 Feb 2009, 3:37 am

I have a bunch of aliases in my dotfiles for this sort of thing

and a script that will auto add it if I forgot it for certain commands



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 77
Gender: Male
Posts: 9,798
Location: Somerset UK

13 Feb 2009, 11:51 am

yesplease wrote:
sudo su/sudo -i ftw! Having to type sudo every couple seconds is annoying for post-install stuff.

I just type
Code:
sudo bash
- once.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 36
Gender: Male
Posts: 12,518
Location: Room 101

13 Feb 2009, 3:08 pm

yesplease wrote:
sudo su/sudo -i ftw! Having to type sudo every couple seconds is annoying for post-install stuff.

I personally like the ability to run a command with or without superuser privileges as needed, using only as powerful of privileges as I need rather than logging in as root and then exiting later when I want to execute a command but not be root anymore. Of course, if I need to be root for a prolonged period of time, sudo su is always there.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


Rafter613
Blue Jay
Blue Jay

User avatar

Joined: 24 Dec 2008
Age: 35
Gender: Male
Posts: 96

13 Feb 2009, 3:13 pm

Quote:
You need to put a # in front of the deb cdrom part like below

I put the # but I don't know how to actually initiate that change. Nothing changed when I merely did that then quit. I'm an Ubuntu n00b, so I don't know how to use terminal.


_________________
Humans: Proof against intelligent design.
"There is no law or ordinance greater then understanding" -Plato
"Repeat after me: Morality pays poorly"-Sergent Schlock


Dokken
Veteran
Veteran

User avatar

Joined: 11 Oct 2007
Age: 46
Gender: Male
Posts: 998
Location: DeeSee/Merryland Area

13 Feb 2009, 4:19 pm

you have to save it


_________________
I hereby accuse the North American empire of being the biggest menace to our planet.


lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 77
Gender: Male
Posts: 9,798
Location: Somerset UK

13 Feb 2009, 4:56 pm

and restart whatever package management tool your are using and/or tell it to refresh the repository data and have a wired Ethernet connection (as the whole point of this is that you haven't got to WiFi working yet).


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


yesplease
Veteran
Veteran

User avatar

Joined: 28 Dec 2006
Age: 45
Gender: Male
Posts: 517

13 Feb 2009, 5:03 pm

Dokken wrote:
yesplease wrote:
sudo su/sudo -i ftw! Having to type sudo every couple seconds is annoying for post-install stuff.
I imagine it would, but you don't have to type sudo every couple of seconds :).
Post install I do, er, did. Too much stuff to do to bother with sudo fdhrfjkdshfsdkj for every command.
lau wrote:
yesplease wrote:
sudo su/sudo -i ftw! Having to type sudo every couple seconds is annoying for post-install stuff.

I just type
Code:
sudo bash
- once.
Too many characters. ;)
Orwell wrote:
yesplease wrote:
sudo su/sudo -i ftw! Having to type sudo every couple seconds is annoying for post-install stuff.

I personally like the ability to run a command with or without superuser privileges as needed, using only as powerful of privileges as I need rather than logging in as root and then exiting later when I want to execute a command but not be root anymore. Of course, if I need to be root for a prolonged period of time, sudo su is always there.
I end to open up a few terminal emulators w/ root/whatever user if I need to do anything beyond a few lines.



Dokken
Veteran
Veteran

User avatar

Joined: 11 Oct 2007
Age: 46
Gender: Male
Posts: 998
Location: DeeSee/Merryland Area

13 Feb 2009, 5:26 pm

yesplease wrote:
Post install I do, er, did. Too much stuff to do to bother with sudo fdhrfjkdshfsdkj for every command.

Sounds like a personal problem :wink: I don't have to type sudo hngkjgkjhgk for every command. I must be special :D
yesplease wrote:
I end to open up a few terminal emulators w/ root/whatever user if I need to do anything beyond a few lines.
You should award yourself a cookie :wink:


_________________
I hereby accuse the North American empire of being the biggest menace to our planet.


lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 77
Gender: Male
Posts: 9,798
Location: Somerset UK

13 Feb 2009, 6:17 pm

In reality, I usually do Ctrl/Alt/F1 and login as root.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


yesplease
Veteran
Veteran

User avatar

Joined: 28 Dec 2006
Age: 45
Gender: Male
Posts: 517

14 Feb 2009, 12:37 am

Dokken wrote:
yesplease wrote:
Post install I do, er, did. Too much stuff to do to bother with sudo fdhrfjkdshfsdkj for every command.
Sounds like a personal problem :wink: I don't have to type sudo hngkjgkjhgk for every command. I must be special :D
Yes, "special". :lol:
Dokken wrote:
yesplease wrote:
I end to open up a few terminal emulators w/ root/whatever user if I need to do anything beyond a few lines.
You should award yourself a cookie :wink:
As a "special" person, you can have it, honest. ;)



Rafter613
Blue Jay
Blue Jay

User avatar

Joined: 24 Dec 2008
Age: 35
Gender: Male
Posts: 96

14 Feb 2009, 9:28 pm

Okay, once I saved the newly-commented script the terminal showed up blank and the software manager could no loner even upload the upgrades from the folders.


_________________
Humans: Proof against intelligent design.
"There is no law or ordinance greater then understanding" -Plato
"Repeat after me: Morality pays poorly"-Sergent Schlock


Dokken
Veteran
Veteran

User avatar

Joined: 11 Oct 2007
Age: 46
Gender: Male
Posts: 998
Location: DeeSee/Merryland Area

15 Feb 2009, 12:58 am

Rafter613 wrote:
Okay, once I saved the newly-commented script the terminal showed up blank and the software manager could no loner even upload the upgrades from the folders.

what do you mean it showed up blank? You weren't supposed to erase anything.


_________________
I hereby accuse the North American empire of being the biggest menace to our planet.


Rafter613
Blue Jay
Blue Jay

User avatar

Joined: 24 Dec 2008
Age: 35
Gender: Male
Posts: 96

15 Feb 2009, 10:53 am

I didn't. When I next opened up terminal, there was an error message and the terminal opened up blank.


_________________
Humans: Proof against intelligent design.
"There is no law or ordinance greater then understanding" -Plato
"Repeat after me: Morality pays poorly"-Sergent Schlock


Dokken
Veteran
Veteran

User avatar

Joined: 11 Oct 2007
Age: 46
Gender: Male
Posts: 998
Location: DeeSee/Merryland Area

15 Feb 2009, 11:34 am

what did the error say?


_________________
I hereby accuse the North American empire of being the biggest menace to our planet.


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 36
Gender: Male
Posts: 12,518
Location: Room 101

15 Feb 2009, 1:50 pm

If you gave us some details like the output of lspci and the model of your netbook we could give more useful advice.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH