Reviewing a script before running

what is the secret to dowload a script and review before running? In my windows days I used Sapien studio to read vbscrips and powershell. What is a recommended editor for reading Linux scripts before running them?

You could try Vim. It is an open source text/code editor that can auto detect coding syntaxes. Its very basic, but it works. There are probably other programs out there that I am not aware of as well.

Basically any text editor will do. Most graphical editors on Linux recognize the file type and adjust their command coloring accordingly. The simplest way is to right-click on the script and select to Open it with your Text Editor.

If you’re on terminal, then the commands more and less will work nicely. On the editor side, I personally prefer nano to VIM. :slight_smile:

1 Like