Script

Updated: 09/12/2023 by Computer Hope

A script may refer to any of the following:

Script written in the Linux command line.

1. A script or scripting language is a computer language with several commands within a file capable of being executed without being compiled. Examples of server-side scripting languages include Perl, PHP (PHP: Hypertext Preprocessor), and Python. The best example of a client-side scripting language is JavaScript. A full list of scripting languages and other programming languages is found in our programming language definition.

Advantages of scripts

  • Allows users to view and edit the script if needed.
  • Does not require the file to be compiled, but it may be when necessary.
  • Easy to learn and write.
  • Easy to port between different operating systems.
  • Much faster to develop than an actual program - some individuals and companies write scripts as a prototype for actual programs.

Disadvantages of scripts

  • Open source, allows others to view source code, which may be prohibited by some companies.
  • The user must install an interpreter or a separate program before the script can run.
  • In some situations, they may be slower than a compiled program.

2. Linux command, see the script command page for further information.

3. With HTML (hypertext markup language), the <script> tag designates a client-side script on a web page.

AutoHotkey, Automation, Client side, Command language, HTML, Login script, Macro, Programming terms, Scriptz, Server-side scripting, Shell script, Web design terms