I wrote this shell script to exemplify the bullet points below:
#! /usr/bin/env bash
space() {
df -h /
echo
}
echo Space before creating large file:
space
echo Creating large file:
dd if=/dev/zero of=large_file bs=1G count=10
echo
echo Space after creating large file:
space
echo Openi
The code is pretty simple, see below
[image: Screen Shot 2021-12-08 at 1.23.19 PM.png]
I added breakpoints at line 18. I manually removed the file /tmp/db, and
then continued to run the file. Everything was working well. Is this a bug
or expected behavior?
--
You received this message becaus