Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Shell script?

Definition 8.9 University Computer Science — Year 1 · Capítulo 8 — The Shell

A shell script is a file of shell commands run as a program. Its first line, #!/bin/bash, names the interpreter that runs it; made executable, it is started like any program. Inside it, $1, $2, … are its arguments, $# their number and "$@" all of them, each kept as one word; its exit status is that of exit, or of its last command.

Leer en el capítulo →