Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
df linux コマンド出力を常に GB 単位で取得するには? すなわち。34MB 以下を GB で表示したい
Filesystem Size Used Avail Use% Mounted on /ttt/pda1 21G 20G 34M 100% /
これはどのように達成できますか?
前もって感謝します。
オプションをご利用いただけ-Bます。
-B
df の man ページ:
-B, --block-size=SIZE SIZE バイトのブロックを使用
すべて一緒に、
df -BG