Hot answers tagged


It looks like you need to add that directory to your path. The exact command to do this depends on which shell is in use. For bash, you'll need something like: export PATH=$PATH:/home/user/Downloads/program/ Explanation: The PATH=$PATH keeps the existing path as part of the new path your are creating. The :/home/user/Downloads/program/ adds that ...


The exit values from your experiment are correct. When the test utility evaluates an expression, if the expression evaluates to true, test returns a zero (true) exit status; otherwise it returns 1 (false). So, in your example, test -L ../Dependencies returns 0 (true) because ../Dependencies is a symbolic link. If ../Dependencies was not a symbolic link, ...


When you add a new program to the path, you need to type rehash For it to be known to the shell.

Only top voted, non community-wiki answers of a minimum length are eligible