Eu posso pegar uma mesa seguindo o comando
df -h|column -t|sed -E 's/ +/\t/g'
Espero que seja uma tabela mysql. Esta é a minha tentativa atual
[root@localhost ~]# df -h|column -t|sed -E 's/ +/\t/g'>test
[root@localhost ~]# mysql -pmypassword mydatabase <test
Mas não pode funcionar. Existe algum método que possa fazer isso?
Tags mysql text-formatting