While switching from KDE to XFCE i managed to mess up my $PATH (least I believe). When i enter into my terminal i get the error.
Code:
Command 'ifconfig' is available in '/sbin/ifconfig'
The command could not be located because '/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
ifconfig: command not found
when i echo $PATH i get
Code:
echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games
so far my googling has found a temp fix
Code:
export PATH=/sbin:$PATH
so far I have reached two questions. Is this the best method of restoring my /sbin path? and how do i make it perminant?
Bookmarks