How do I edit a script without having to download the script and re-uploading an edited version?
We have a number of text editors available on the cluster, ranging from simple editors like nano
to more powerful emacs
and VIM
.
You can set your preferred editor using the EDITOR
environmental variable:
export EDITOR=nano
On Farnam (http://ood-farnam.hpc.yale.edu) and Grace (http://ood-grace.hpc.yale.edu) you can choose the “edit” option after selecting a text file you want to from the files app to open a browser-based editor.