tdru
Friday, December 21, 2018
Here Is A Sample Script That Uses These Techniques
head -1
Filesystem 1K-blocksUsed Available Use% Mounted on
$ for x in $(df)
> do
> echo $x
> done
Filesystem
1K-blocks
Used
Available
Use%
Mounted
on
...
We need to read in entire lines at a time like this.
$ df
Newer Post
Older Post
Home