Check this page: https://www.veracrypt.fr/en/Uninstalling%20VeraCrypt.html
As the documentation mentioned:
...
To uninstall VeraCrypt on Linux, you have to run the following command as root: veracrypt-uninstall.sh.
...
When I entered the command sudo veracrypt-unistall.sh
, in home directory, it did what it supposed to do (uninstalling veracrypt). However as far as I know, if we want to run a shell script, we must be in the same directory as the script.
Now here, there is two possibilities:
One is that the script was already in ~
, or
Two is that shell script (veracrypt-uninstall.sh
) was a command itself stored in somewhere like: /bin
or /usr/bin
.
On the other hand I didn't find any shell script named 'veracrypt-uninstall.sh' in my home directory, so how?
Update:
$ echo $PATH
Output: /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin
echo $PATH
, to have the fields delimited(separated), by:
s (not spaces). – ctrl-alt-delor Nov 20 '18 at 10:59