Comenzi bash
This commit is contained in:
13
primul-script-bash.sh
Executable file
13
primul-script-bash.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Rulăm un test..."
|
||||
|
||||
NUMAR=5
|
||||
|
||||
if [ $NUMAR -ge 3 ]; then
|
||||
echo "Numărul $NUMAR este mai mare sau egal cu 3."
|
||||
else
|
||||
echo "Numărul este mai mic decât 3."
|
||||
fi
|
||||
|
||||
echo "Test finalizat!"
|
||||
Reference in New Issue
Block a user