Lets say I have a script which creates a file and writes something into it (but could be anything). It could be a script that runs a set of xrandr
commands to set a resolution, for example.
Is there a way in which I can create a command (working only on my system) that executes the file, even if the file is not in my working directory?
echo $PATH
- or you can add a folder to the the path (note may not work with sudo). There must be atleast 50 questions already like this... – Wilf Nov 20 '15 at 16:04