Yanndewael
Programmer
Hi again,
Here is my question:
In a script, I test the "return code" of a request as follow:
ls -1rt $directory | read file
if [[ $? -eq 0 ]] ; then
echo DIRECTORY NOT EMPTY.
GO to the §9
fi
As you certainly guessed, I'd like to know how to write the "GO to the §9"!! So if the directory is not empty, I want to skip some actions and go directly to a paragraph further...
Thank you in advance for your help!
Here is my question:
In a script, I test the "return code" of a request as follow:
ls -1rt $directory | read file
if [[ $? -eq 0 ]] ; then
echo DIRECTORY NOT EMPTY.
GO to the §9
fi
As you certainly guessed, I'd like to know how to write the "GO to the §9"!! So if the directory is not empty, I want to skip some actions and go directly to a paragraph further...
Thank you in advance for your help!