Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
baitaptrenlop
#!/bin/bash # GNU bash, version 4.4.20 #3 for file in /home/ren/* do if [ -d $file ] then echo "$file is no file" elif [ -f $file ] then echo "$file is file" fi done #4 val=0 while [ $val \< 5 ] do val=$[ $val+1 ] echo $val done # IFS=$'\n' for val in $(cat /home/ren/last_reboot.txt) do echo $val done
run
|
edit
|
history
|
help
0
wallcmd
Ukp1
prog1
dico.txt
Testing behavior of set -e with functions and exit hooks
GetListRDA
"<script>alert(1);</script>
'Free Fire'
labscript1.sed
It crashes when I try it in an interactive terminal