I have placed a directory named “platform-tools” under my UM 18.04 home directory. I would like to be able to run these files without using the full path name. I have googled the issue, and there seem to be many methods to accomplish this, but I don’t fully understand most of the directions.
Method 1
add line
export PATH="$PWD/platform-tools:$PATH"
to
~/.bashrc
Method 2
run the following commands:
$ PATH = /usr/local/sbin:/usr/local/bin:~/platform-tools
$ source /etc/environment && export PATH
Just looking for some advice before messing everything up and having to restore from a backup. Thanks.