How do I run a shell script in another directory?

Đức Lưu

New member
How do I run a shell script in another directory?
Answer
This is how it’s usually done: Make a bin directory under your home directory and mv your scripts into it. Change all the scripts to executable ( chmod +x ). Ensure that your PATH environment variable contains your $HOME/bin directory.
 

Tìm kiếm

Back
Top