Script esdirectorio.sh
#!/bin/bash if [ $# -lt 1 ]; then echo «Uso: $0 fichero» exit fi if [ -d $1 ]; then echo «$1 es un directorio» else echo «$1 NO es un directorio» fi
» Leer más#!/bin/bash if [ $# -lt 1 ]; then echo «Uso: $0 fichero» exit fi if [ -d $1 ]; then echo «$1 es un directorio» else echo «$1 NO es un directorio» fi
» Leer másPersonalmente utilizo 2 scripts uno para cuando llego del instituto: lapiz2home.sh home2lapiz.sh
» Leer más