Results 1 to 2 of 2

Thread: path

  1. #1
    Join Date
    Nov 2012
    Beans
    1

    path

    hi,
    how can i delete a pathway (old pathway) from PATH? i see it with echo $PATH
    thanks

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: path

    Simply assign the new value(s) to the variable ${PATH} It will overwrite the old values.

    Code:
    export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

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
  •