Linuxcurl輸出轉變數 - LinuxMichael · 2020-01-07Table of ContentsPostCommentsRelated Posts #!/bin/bash url=ifconfig.me curl $url echo $a 想把curl 的結果變成一個變數 a 放在後面的 echo $a才顯示 不知道這該怎麼撰寫呢? -- sent from my IBM 5100 -- LinuxAll CommentsEdith2020-01-09a=$(curl $url) ; echo $aRelated Posts請教換行符號取代的問題Ubuntu server 18.04的iptables怪怪的SSH 吃光CPU資源 系統變慢無法開機(疑似grub問題)開機速度很慢
All Comments