summaryrefslogtreecommitdiff
path: root/exemple2
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2024-04-14 17:03:37 +0200
committerjerome <jerome@xlinfo.fr>2024-04-14 17:03:37 +0200
commitfbe94e6342d80fe9a79b1391b1ce2d3e547e7dbd (patch)
tree4dfce3bc2ee337fb8759bd28d4ce3fdf8c665c39 /exemple2
parent2df8b02968e4de3860516cf2c4c107a4ab79aac9 (diff)
downloadbash_tutorial-fbe94e6342d80fe9a79b1391b1ce2d3e547e7dbd.tar.gz
bash_tutorial-fbe94e6342d80fe9a79b1391b1ce2d3e547e7dbd.zip
numerotation des fichiers
Diffstat (limited to 'exemple2')
-rwxr-xr-xexemple217
1 files changed, 0 insertions, 17 deletions
diff --git a/exemple2 b/exemple2
deleted file mode 100755
index 12b68ed..0000000
--- a/exemple2
+++ /dev/null
@@ -1,17 +0,0 @@
-#/usr/bin/bash
-
-# calculs arythmétiques
-a=2
-b=5
-# addition
-c=$((a+b))
-echo $c
-# incrémentation
-((c++))
-echo $c
-# entier négatif
-c=$((a-b))
-echo $c
-# division entière
-c=$((b/a))
-echo $c