parent
3248933080
commit
a2f2108205
@ -0,0 +1,3 @@ |
||||
#!/bin/bash |
||||
SIZE=$RANDOM |
||||
dd if=/dev/urandom of=rnd.txt bs=1 count=$SIZE |
@ -0,0 +1,3 @@ |
||||
#!/bin/bash |
||||
cut -d' ' -f3 digits.txt | paste -sd+ | bc |
||||
|
@ -0,0 +1,2 @@ |
||||
#!/bin/bash |
||||
find -type f -mtime -1 ! -mmin -30 | wc -l |
@ -0,0 +1,4 @@ |
||||
#!/bin/bash |
||||
while IFS= read -r line; do |
||||
ping -c2 $line>>file1 2>>file2 |
||||
done < ips.txt |
@ -0,0 +1,9 @@ |
||||
#!/bin/bash |
||||
echo 'Введите число: ' |
||||
read NUMBER |
||||
if (( $NUMBER % 2 == 0 )) |
||||
then |
||||
echo '**EVEN**' |
||||
else |
||||
echo '**ODD**' |
||||
fi |
Loading…
Reference in new issue