如何在 bash 脚本中获取文件的大小?
我如何将它分配给一个 bash 变量,以便我以后可以使用它?
shell bash files
ls -rlth /proc/stat -r--r--r-- 1 root root 0 Feb 21 04:25 /proc/stat
虽然如果我们cat它,它有足够的内容。
cat
linux filesystems size proc
bash ×1
files ×1
filesystems ×1
linux ×1
proc ×1
shell ×1
size ×1