Ubuntu shell script running output directory

(1) Open the terminal and create a new file

 Edit use_value.sh

#!/bin/sh

OUTDIR=/opt
echo "dispaly DIR ${OUTDIR}"

ls ${OUTDIR}

 save document

(2) Run

Guess you like

Origin blog.csdn.net/m0_56256361/article/details/131484655