I'm using a program which processes some data and then saves it to a file. It is possible to specify the directory in which the data is saved, however the program is badly written, so if I put
~ it is unable to interpret the result and says that no directory named
/~ is found.
I want to be able to give this program to my colleagues and have them run it. I could just directly specify to save in
/home/my_username/, but then they would also get "no directory found" when they try to run it, because their home folders have different names.
Can I specify
~ in some other way that my colleagues can run the program and have it save their data in their own respective home directories?