Hi again guys, today i bring to you new doubts, let me show the first example
#!/bin/bash
# ligass: lista archivos que son enlace simb�lico o tienen enlaces hard
# simb�licos: en ls -l se busca que empiece con l
if [ ! -d $1 ]
then
echo Error: ligas: $1 no es un directorio
exit
On the line of condition i can't figure out which is the function of $1, when, and for what i can use it.
Guys thanks a lot again, i'm learning to much with you, now, i have a question for you, if my script didn't have parameters; which will be de value of $1?