My dirty hack:
echo ${PATH} > t1
vi t1
export PATH=$(cat t1)
More Related Contents:
- Convert absolute path into relative path given a current directory using Bash
- How to obtain the absolute path of a file via Shell (BASH/ZSH/SH)?
- Detect if PATH has a specific directory entry in it
- Expansion of variables inside single quotes in a command in Bash
- Reading quoted/escaped arguments correctly from a string
- How to add a progress bar to a shell script?
- What is the purpose of “&&” in a shell command?
- sudo echo “something” >> /etc/privilegedFile doesn’t work [duplicate]
- While-loop subshell dilemma in Bash
- How do I escape the wildcard/asterisk character in bash?
- Check existence of input argument in a Bash shell script
- How do I grab an INI value within a shell script?
- How to create a cron job using Bash automatically without the interactive editor?
- Convert date time string to epoch in Bash
- How do I put an already-running process under nohup?
- printf in bash: “09” and “08” are invalid numbers, “07” and “06” are fine
- Concatenating multiple text files into a single file in Bash
- String comparison in bash. [[: not found
- How do I pause my shell script for a second before continuing?
- How do you echo a 4-digit Unicode character in Bash?
- How to find whether or not a variable is empty in Bash
- Forking / Multi-Threaded Processes | Bash
- Docker: How to use bash with an Alpine based docker image?
- How to get the list of files in a directory in a shell script?
- How do I check if a directory exists or not in a Bash shell script?
- Validate date format in a shell script
- shell script respond to keypress
- How to update one file in a zip archive
- Why doesn’t my terminal output unicode characters properly?
- How to read variables from file, with multiple variables per line?