Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: how to edit $path

  1. #21
    Join Date
    Nov 2005
    Beans
    244

    Re: how to edit $path

    OK, I believe I am now running lubuntu 13.10 as suggested ... but even though the ISO image verified when I burnt it, there was a message about "failed to install software" during the installation procedure and I am now left with a number of "no parking" signs on the desktop. I don't mind trying to install these missing packages through synaptic, but what are they?
    • the launchpad to the left contains FileManagerPCManFM, three placeholders for missing software, Pidgin, four more placeholders, Task Manager and Lubuntu Software Centre
    • the taskbar (bottom left) contains the Start button equivalent, a folder list, three placeholders, "left click to iconify", and the two desktop icons
    • the statusbar (bottom right) shows Volume control, Wired network ‒ luckily! ‒ followed by two placeholders, time/date and one last placeholder

    Once I've got this sorted, I'll install my non-synaptic software again and get back to the question of updating $PATH. No-one ever said it was going to be easy <g>

  2. #22
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: how to edit $path

    Quote Originally Posted by engine View Post
    Once I've got this sorted, I'll install my non-synaptic software again and get back to the question of updating $PATH. No-one ever said it was going to be easy <g>
    The question right now is do you have these two files in your home directory
    Code:
    .bashrc
    
    .profile
    To check all you need to do is this
    Code:
    ls -al ~
    If you want to check using the GUI you will need to do this before looking
    Code:
    Ctrl + h
    ...this makes the hidden files visible.
    Last edited by bab1; January 21st, 2014 at 09:32 PM.
    -BAB1

  3. #23
    Join Date
    Nov 2005
    Beans
    244

    Re: how to edit $path

    OK, back online after a busy week elsewhere … with some progress to report: I'm now running lubuntu 13.04

    Still no home/ngn/.bashrc, though I do have a .bash-history. On the other hand, I do at least have a .bashrc and a .profile in /etc/skel.

    What do I need to do next in order to resolve this should-be-so-simple question of updating my $PATH? Thanks in advance!

  4. #24
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: how to edit $path

    Quote Originally Posted by engine View Post
    OK, back online after a busy week elsewhere … with some progress to report: I'm now running lubuntu 13.04

    Still no home/ngn/.bashrc, though I do have a .bash-history. On the other hand, I do at least have a .bashrc and a .profile in /etc/skel.

    What do I need to do next in order to resolve this should-be-so-simple question of updating my $PATH? Thanks in advance!
    How did you create the user ngn?

    Post the output of
    Code:
    getent passwd |grep 100
    -BAB1

  5. #25
    Join Date
    Nov 2005
    Beans
    244

    Re: how to edit $path

    Now on Lubuntu 13.10; still no /home/ngn/.bashrc, but at least I now have a .bashrc in etc/skel

    What should I do next, with a view to being able to edit $PATH?

  6. #26
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: how to edit $path

    Quote Originally Posted by engine View Post
    Now on Lubuntu 13.10; still no /home/ngn/.bashrc, but at least I now have a .bashrc in etc/skel

    What should I do next, with a view to being able to edit $PATH?
    I would start by answering my previous post.
    -BAB1

  7. #27
    Join Date
    Nov 2005
    Beans
    244

    Re: how to edit $path

    Oops ‒ managed to overlook that. Here's the info:

    Code:
    prompt$ getent passwd |grep 100
    libuuid:x:100:101::/var/lib/libuuid:/bin/sh
    ngn:x:1000:1000:myName,,,:/home/ngn:/bin/bash

  8. #28
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: how to edit $path

    Quote Originally Posted by engine View Post
    Oops ‒ managed to overlook that. Here's the info:

    Code:
    prompt$ getent passwd |grep 100
    libuuid:x:100:101::/var/lib/libuuid:/bin/sh
    ngn:x:1000:1000:myName,,,:/home/ngn:/bin/bash
    There was 2 questions. The other question was: How did you create the user ngn?

    Was this user created when you installed the OS?

    Edit: In the end the files in /etc/skel (.profile and .bashrc) should be copied to your home directory and the ownership of them should be changed to the user (in your case -- chown ngn:ngn and permissions of 644). Once we can modify the path setting.
    Last edited by bab1; January 23rd, 2014 at 09:31 AM.
    -BAB1

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •