Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
basc1
Functions and variables
a shell script to say good morning/afternoon/evening
Testing behavior of set -e with functions and exit hooks
aaa
fo
lucky numbers
let's draw diamond (function)
Array
configserver
Please log in to post a comment.