[05:35] <Glombool> alright
[05:35] <jrib> Glombool: your script works fine, it just doesn't do what you want it to
[05:36] <Glombool> ok...
[05:36] <Glombool> This is the command... export PATH=/media/UNIVERSAL/oe/bitbake/bin:$PATH
[05:36] <jrib> PATH will be set in the script
[05:36] <Glombool> ah
[05:36] <jrib> not outside of it
[05:36] <Glombool> ok, that makes sense...
[05:36] <jrib> just like if you run 'bash' inside bash.  Then expor FOO=BAR, and exit the inside shell, your outside shell won't be affected
[05:37] <jrib> Glombool: is this just for your user or system wide?
[05:37] <Glombool> Do I need to use curly braces {$PATH}?
[05:37] <jrib> no...
[05:37] <Glombool> Just for my user
[05:37] <Glombool> ok
[05:37] <Glombool> I was thinking about adding it to .profile
[05:37] <Glombool> I need to to happen pretty much every time I open the shell
[05:38] <jrib> Glombool: .bashrc if you want a file that is sourced everytime a shell opens, .bash_profile for a file that gets sourced on login shells, and .xprofile if you want something that gets sourced at gdm logins
[05:38] <jrib> man bash  for all the exciting details
[05:38] <Glombool> :) ok
[05:39] <jrib> I'm not sure when/what reads .profile
[05:39] <jrib> Glombool: btw, the script you wrote would work if you source it:  source foobar  or  . foobar
[05:39] <Glombool> .profile is "executed by Bourne-compatible login shells"
[05:40] <jrib> k
[05:40] <Glombool> Okay...
[05:40] <Glombool> so if I do "source scriptname" that will work?  Is that what you mean?
[05:41] <Glombool> I'm somewhat new to the whole scripting thing (obviously)
[05:41] <jrib> yes, but I recommend you use the appropriate file I mentioned above if you want this to be a permanent thing
[05:41] <Glombool> right.
[05:41] <Glombool> If I use .bashrc can I then use "export PATH=/stuff/bitbake/bin:$PATH" and it should work?
[05:42] <jrib> should
[05:42] <Glombool> ok, I'll give it a shot.
[05:42] <Glombool> thanks for the help
[05:46] <nalioth> jrib: thanks for the help
[05:47] <jrib> nalioth: anytime!
[11:38] <spinserr> ye ?
[11:39] <spinserr> jrib: look where to go what to do but please i want to sudo works
[11:39] <spinserr> :S
[11:39] <jrib> spinserr: ok are you in a GUI now?
[11:39] <spinserr> yep
[11:39] <jrib> spinserr: type this command:  gedit /etc/hosts
[11:39] <jrib> then copy and paste the contents and put them on http://paste.ubuntu-nl.org
[11:39] <jrib> then do the same with /etc/hostname
[11:40] <spinserr> http://paste.ubuntu-nl.org/8004/
[11:41] <spinserr> that is gedit /etc/hosts
[11:41] <spinserr> i have nothing in there i guess i can't open that
[11:41] <spinserr> in /etc/hostname i have just writed: hostname
[11:41] <spinserr> ohh
[11:41] <spinserr> here i find the hosts
[11:41] <spinserr> look
[11:42] <spinserr> http://paste.ubuntu-nl.org/8005/
[11:42] <spinserr> this is it
[11:42] <spinserr> and pelase tell me now what to edit where and how
[11:42] <spinserr> jrib: are you here ?
[11:42] <jrib> yes
[11:43] <spinserr> so what to edit ?
[11:43] <spinserr> a
[11:43] <jrib> spinserr: you need to edit /etc/hostname
[11:43] <jrib> spinserr: make it say "badwarrior-desktop" without the quotes
[11:44] <spinserr> You do not have the permissions necessary to save the file. Please, check that you typed the location correctly and try again.
[11:44] <spinserr> i can't edit it
[11:44] <jrib> SpudDogg: right, you need to reboot.  Then choose "recovery mode" at the grub prompt.  Then to edit the file, use this command:  nano /etc/hostname
[11:44] <jrib> then reboot
[11:45] <jrib> SpudDogg: to save in nano btw, you press:  ctrl-o and then to exit: ctrl-x
[11:45] <spinserr> ok
[11:45] <spinserr> wait
[11:45] <jrib> umm
[11:45] <SpudDogg> hey, how did this guy mess up those files?
[11:46] <SpudDogg> jrib: i guess a better question is:  is there actually a need to ever edit those files?
[11:47] <jrib> SpudDogg: if you want to change your hostname.  but the GUI way is much safer
[11:47] <jrib> !hostname
[11:47] <ubotu> Use hostname <somehostname> to set the hostname, or to do it permanently: edit /etc/hostname  and /etc/hosts . WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly. Alternatively, use the gui at system>administration>networking on the "General" tab
[11:47] <SpudDogg> i see.  thanks
[11:49] <spinster> jrib: thanks now work it sudo
[11:49] <spinster> but lok
[11:49] <spinster> when i open terminal look i have
[11:49] <jrib> k
[11:49] <spinster> badwarrior@badwarrior-desktop:~$
[11:49] <jrib> yes?
[11:50] <spinster> can i type the hostname to be badwarrior@linux-edu ?
[11:50] <spinster> a
[11:50] <jrib> sure, go to  system > administration > networking on the "General" tab
[11:50] <spinster> and restart pc ?
[11:50] <jrib> no
[11:50] <jrib> well, I don't think so
[11:50] <spinster> so ?
[11:50] <jrib> so it should just change