programming:bash:hello_world
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
programming:bash:hello_world [2022/04/06 08:39] – created ateixeira | programming:bash:hello_world [2022/04/06 08:58] – [Exercice 4 : for] ateixeira | ||
---|---|---|---|
Line 113: | Line 113: | ||
#!/bin/bash | #!/bin/bash | ||
- | echo "Choose | + | echo -e "Hello !\nChoose |
read number | read number | ||
+ | echo " | ||
for x in $(seq 1 $number); | for x in $(seq 1 $number); | ||
do | do | ||
- | echo "Hello $x" | + | |
done | done | ||
</ | </ |
programming/bash/hello_world.txt · Last modified: 2022/04/06 09:04 by ateixeira