RosettaCodeData/Task/File-size/UNIX-Shell/file-size-4.sh

3 lines
61 B
Bash

size1=$(stat -f %z input.txt)
size2=$(stat -f %z /input.txt)