Score:0

adding permanent custom environment path variable

tt flag

i am trying to create a permanent path variable following this tutorial: https://youtu.be/JLjF75b-vMI?t=126 everything worked fine and i was able to cd to my newly added variable's directory, however when i rebooted.

xxxx@XXXXXX:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/media/xxxx/System/___HOU
xxxx@XXXXXX:~$ echo $HOU
/media/xxxx/System/___HOU
**xxxx@XXXXXX:~$ cd $HOU
bash: cd: /media/xxxx/System/___HOU: No such file or directory**
xxxx@XXXXXX:~$

*i am ubernoob in linux

any help? :)

darth_epoxy avatar
nl flag
I'll take a stab and say it's permissions. Can you compare the permissions of a directory location that DOES fit in the path to the new directory location that you created?
manodzit avatar
tt flag
would you be so kind to guide me to a step by step process guide somewhere how to do that?
cn flag
Why would it be a permission problem? The error message says "No such file or directory". It does not mean there's a permission problem, it means there's no such file or directory. Start to walk the filesystem from the root, step into one subdirectory at a time, you'll see which one is missing.
Gunnar Hjalmarsson avatar
uz flag
Is that "System" resource mounted?
manodzit avatar
tt flag
yes the location exists, because i have created that path and if i cd to that path it works: xxxx@XXXXXX:~$ cd /media/xxxx/System/___HOU xxxx@XXXXXX:/media/mano/System/___HOU$ and i think the system drive is always mounted on every restart https://imgur.com/a/n5ZV0Ms
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.