PDA

View Full Version : [ubuntu] "No such file or directory" in $PATH



sunbear-c22
July 20th, 2018, 04:17 AM
I noticed a `No such file or directory` statement in my $PATH after login which is irregular.


$ $PATH
bash:$HOME/.pyenv/shims:$HOME/.pyenv/bin:$HOME/bin:$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin: No such file or directory




How do I discover which application startup process is causing it?

deadflowr
July 20th, 2018, 04:25 AM
That's just the command doing that.
run echo $PATH and it won't show the no such stuff.

look at here:
https://superuser.com/questions/881463/no-such-file-or-directory-after-typing-path-in-terminal
for a simpler/better explanation than i could give.

sunbear-c22
July 20th, 2018, 06:57 AM
Thanks. My bad. Issue resolved.

mIk3_08
July 20th, 2018, 07:02 AM
sunbear-c22 if this thread already solve. Please mark it as solve. Thanks a lot. Good Luck.

geeksquad12345
July 20th, 2018, 01:06 PM
such a important post for me thank you