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
jhbl
Checking set -e behavior in functions
deneme2
If.sh
Testing behavior of set -e with functions and exit hooks
Alternative time out
a shell script to say good morning/afternoon/evening
Bash: Find count of a character in a line/word
a
learning bash 101