How to create a test excel file using bash command prompt
Please see example below:
df -h |sed -E 's/[[:space:]]+/,/g' > testfile.xls
You now can open testfile.xls file using Excel or analog to see your table
You may generate any table comma separated to get excel table… Read the rest