請問使用shell得到一數字 - Linux
By Gary
at 2010-04-09T18:07
at 2010-04-09T18:07
Table of Contents
請問要如何透過shell達到以下事情
1.在 /proc/id 取出內容 (內容只有數字, 不用parser)
2.帶入要執行程式的尾端 ex : prog 1
'1'為取到的id值
謝謝!
--
Tags:
Linux
All Comments
By John
at 2010-04-13T17:18
at 2010-04-13T17:18
By Rachel
at 2010-04-16T03:13
at 2010-04-16T03:13
Related Posts
想要用imagemagick大量轉檔…
By Rebecca
at 2010-04-09T14:55
at 2010-04-09T14:55
想要用imagemagick大量轉檔…
By Genevieve
at 2010-04-09T14:54
at 2010-04-09T14:54
安裝archlinux後,遇到小問題....
By Valerie
at 2010-04-09T14:21
at 2010-04-09T14:21
想要用imagemagick大量轉檔…
By Connor
at 2010-04-09T11:44
at 2010-04-09T11:44
資料夾權限
By Jacob
at 2010-04-09T10:11
at 2010-04-09T10:11