|
|
|
|
|
by julian37
5592 days ago
|
|
Yet another time saver: if you need to execute only a single command in another directory, use: (cd /path; command)
This will cd to /path, run command, but return you to your original working directory. This works because the parens create a sub-process, and the cd command only affects that sub-process. |
|