Linux請問使用shell得到一數字 - LinuxGary · 2010-04-09Table of ContentsPostCommentsRelated Posts 請問要如何透過shell達到以下事情 1.在 /proc/id 取出內容 (內容只有數字, 不用parser) 2.帶入要執行程式的尾端 ex : prog 1 '1'為取到的id值 謝謝! -- LinuxAll CommentsJohn2010-04-131. cat/grep/sed/awk2. xargsRachel2010-04-16echo $s1? 是這樣嗎?Related Posts想要用imagemagick大量轉檔…想要用imagemagick大量轉檔…安裝archlinux後,遇到小問題....想要用imagemagick大量轉檔…資料夾權限
All Comments