Skip to main content
11 events
when toggle format what by license comment
Oct 3 at 9:04 answer added Joseph Cistaro timeline score: 0
Jul 14, 2014 at 13:13 vote accept Noosrep
Jul 14, 2014 at 13:05 answer added terdon timeline score: 3
Jul 14, 2014 at 13:04 history edited Noosrep
added tag
Jul 14, 2014 at 13:02 comment added Noosrep File System is something that should be added like echo "Volume Group: "${LINE}. Yes the echo \n does what it should do and the -g flag is just so the data is formatted in GB.
Jul 14, 2014 at 12:56 comment added terdon You never know. Your problems could be related to shell buffering for example which might behave differently on different systems. It will certainly depend on the shell being used (I assume you're using bash, right?). Also, the -g option for df doesn't exist on GNU df so that was confusing as is your echo \n which will print a literal \n (not a newline) on all systems I am familiar with. Does it work as expected on AIX? Without the -e flag? Finally, where does File System come from? It does not appear in the output examples or your loop.
Jul 14, 2014 at 12:52 comment added Noosrep I have added my OS, although I don't see what difference it makes because it is just a for loop?
Jul 14, 2014 at 12:51 history edited Noosrep CC BY-SA 3.0
Added OS
Jul 14, 2014 at 12:48 comment added terdon Please always include your OS. Solutions very often depend on the Operating System being used. Are you using Unix, Linux, BSD, OSX, something else? Which version?
Jul 14, 2014 at 12:25 review First posts
Jul 14, 2014 at 12:51
Jul 14, 2014 at 12:01 history asked Noosrep CC BY-SA 3.0