2026-06-30
Selecting...
Home Page
reload
Search in this channel...
Punch card
Raw Text (irssi format)
Fork on github
switch to admin mode
Jump to...
redirecting...
Log for
Ubuntu 台灣社群
am 12:04:46
KroyChiu@tg
am 12:05:05
KroyChiu@tg
請問有誰用
http://mirror01.idc.hinet.net/ubuntu
am 12:06:00
KroyChiu@tg
am 12:06:02
KroyChiu@tg
哇!
am 08:37:34
Jeff Huang
/killda
pm 02:25:55
RJ Hsiao
我這邊有兩名招待名額,有人明天想去的嗎?
pm 02:26:58
RJ Hsiao
可抵500塊
pm 02:39:19
Eric Chang
請問個指令問題
我用 find 找出了上萬個檔案,有沒有什麼指令可以限制只顯示 比如說第 101-200 行?
pm 02:43:42
林博仁 Buo-ren Lin
head、tail ?
pm 02:46:14
フラン❤️️
https://www.commandlinefu.com/commands/view/3802/to-print-a-specific-line-from-a-file
pm 02:47:46
carrl yea
sed -n 101,200p
pm 02:49:35
Eric Chang
感謝 我研究一下 sed
pm 02:51:14
Eric Chang
會需要這樣做,是因為find 找出來的檔案清單,我要傳進去一個 bash script 會出現
Argument list too long 的錯誤
pm 02:51:37
Eric Chang
只是同樣的指令 在centos 可以跑 在 ubuntu 會錯誤
pm 02:52:45
Selina Kuo
難免的,很正常
pm 02:57:01
Eric Chang
我發現跟什麼 stack size 有關,想請教原本系統預設的stack size 是 8192,這個可以用 ulmit -s 來檢查,如果我把他改成 1024768 ,那個指令就可以執行,可是我不懂改這個東西會不會有什麼影響..
pm 03:03:49
kunyaoxu@tg
程式執行的時候佔用的記憶體會比較多吧
pm 04:59:08
林博仁 Buo-ren Lin
請用 xargs
pm 05:14:38
Eric Chang
我一開始是用 xargs 沒錯,但是不知道為什麼 透過 xargs 呼叫指令跑出來的結果和原本的結果有些不同
pm 05:27:18
林博仁 Buo-ren Lin
開除錯相關參數確認問題吧?
pm 08:06:24
Alang H🇹🇼
https://linuxhandbook.com/xargs-command/
created by
mmis1000
and release under
MIT License
GitHub Repo