PDA

View Full Version : [ubuntu] path



histanbullu
November 28th, 2012, 11:49 AM
hi,
how can i delete a pathway (old pathway) from PATH? i see it with echo $PATH
thanks

Lars Noodén
November 28th, 2012, 11:52 AM
Simply assign the new value(s) to the variable ${PATH} It will overwrite the old values.



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