Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

execute bash script from anywhere

you can modify the PATH environment variable in your .bashrc file and use the “source” command in order to refresh your current Bash environment.

$ sudo nano ~/.bashrc
export PATH="<path_to_script>:$PATH"

Exit the file and source your bashrc file for the changes to be applied.

$ source ~/.bashrc
$ echo $PATH
/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Comment

PREVIOUS NEXT
Code Example
Shell :: enable snap in linux mint 
Shell :: how to install git on aws linux 
Shell :: get wifi password windows 
Shell :: ubuntu 20.04 bluetooth not turning on or working 
Shell :: "python -m venv venv" 
Shell :: fatal error: portaudio.h: No such file or directory 
Shell :: phpmyadmin ubuntu symlink 
Shell :: NotImplementedError: OpenSSH keys only supported if ED25519 is available net-ssh requires the following gems for ed25519 suppor 
Shell :: valet install command not found 
Shell :: install kazam ubuntu 20.04 
Shell :: install compass mongodb ubuntu 
Shell :: pip install scraperapiclient 
Shell :: list available shells linux 
Shell :: npm install behind proxy 
Shell :: how to untar tar.gz 
Shell :: samtools convert sam to bam 
Shell :: sudo apt update 
Shell :: jupyterlab docs 
Shell :: sudo not found docker 
Shell :: kill process on port windows 
Shell :: change hostname ubuntu 20.04 
Shell :: how to install parcel globally 
Shell :: ubuntu remove cuda 
Shell :: how to show remote origin in git 
Shell :: zsh: corrupt history file 
Shell :: Ubuntu upgrade a single package 
Shell :: hdfs remove directory 
Shell :: kubectl scale deployment 
Shell :: install npm mac 
Shell :: vlc install linux 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =