By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,775 Members | 1,740 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,775 IT Pros & Developers. It's quick & easy.

Help needed to format the output of df command

P: 14
Hi, I want to properly format the output of the df command and store the output in the array, the problem here is, in the third line if u guyz c when the location file system path extends the size, %, mounted on.. goes to next line when i try to push the values in the array line by line i want this to appear in one line.. any help is much appreciated.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 497861 224899 247258 48% /
/dev/sda1 147764 77278 62857 56% /boot
6063688 105684 5649988 2% /tmp
Feb 21 '10 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 971
Where is your code showing us what you tried? Please use the [code] tags.
Feb 21 '10 #2

P: 14
sure dude will reply with the tried code.. thanks for the reply...
Feb 21 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.