Skip to content

Commit

Permalink
removed whitespaces in output
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorCr4nk committed Oct 19, 2021
1 parent 3e15966 commit fe65f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shc_scripts/storage_total.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
df -h --output="size,used,pcent" / | cut -d'S' -f2 | tail -1 | cut -d'G' -f1
df --human-readable --output="size" '/' | xargs | awk '{print $2}'
2 changes: 1 addition & 1 deletion shc_scripts/storage_used.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
df -h --output="size,used,pcent" / | cut -d'U' -f4 | tail -1 | cut -d'G' -f2
df --human-readable --output="used" '/' | xargs | awk '{print $2}'

0 comments on commit fe65f4e

Please sign in to comment.