From c67b9abf5f09e0a674fac3297125ac3af830be0e Mon Sep 17 00:00:00 2001 From: Maria Madrid Date: Mon, 23 May 2022 13:39:45 -0500 Subject: [PATCH] What does a shell script look like. --- basics-bash.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 basics-bash.sh diff --git a/basics-bash.sh b/basics-bash.sh new file mode 100644 index 0000000..246bca1 --- /dev/null +++ b/basics-bash.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#Así se empieza un script de bash (shellscript) +#Se usa la misma terminología que en la línea de comandos + +#Este es el cuerpo de un job de SBATCH +#SBATCH --job-name=job_name_x +#SBATCH -p medium +#SBATCH -N 1 +#SBATCH -n 8 +#SBATCH --cpus-per-task=4 +#SBATCH --mem=40000 +#SBATCH --time=5-00:00:00 +#SBATCH --mail-user=ma.madrid@uniandes.edu.co +#SBATCH --mail-type=ALL +#SBATCH -o job_name_X.o