虛請教如何修改某一個 byte - Linux

Megan avatar
By Megan
at 2010-09-15T18:52

Table of Contents

請問,一個檔案,例如有 10MB,我想修改它的第 5000001 byte 的值,

請問有什麼方便的方法可以做嗎?

PS: 該檔案不一定是文字檔。

--
Tags: Linux

All Comments

Kama avatar
By Kama
at 2010-09-19T01:49
寫個小程式比較簡單吧?
Linda avatar
By Linda
at 2010-09-21T10:44
hex editor?
Ophelia avatar
By Ophelia
at 2010-09-22T06:28
dd ?
Liam avatar
By Liam
at 2010-09-22T12:14
HexEdit
Oliver avatar
By Oliver
at 2010-09-24T17:55
寫個 C 的小程式直接修改吧
Kelly avatar
By Kelly
at 2010-09-24T23:38
search KHexEdit
Edward Lewis avatar
By Edward Lewis
at 2010-09-27T11:38
http://home.gna.org/bless/ bless 也可以
Kyle avatar
By Kyle
at 2010-09-30T22:10
thank you~

Ubuntu截圖各部份不同步

Caitlin avatar
By Caitlin
at 2010-09-15T11:01
有時候在放影片或玩遊戲時,會用到截圖 可是我發現截出來的畫面似乎變成好幾個部份 每一塊彷彿都在不同的時間截取(雖然可能只有差距0.x秒) 導致畫面看起來是破碎的 想請問有沒有方法可以像Windows那樣完整的截圖? 感謝各位 - ...

shell script 的執行方式

Irma avatar
By Irma
at 2010-09-15T10:52
各位高手: 請問 . ./xxx.sh (兩個and#39;.and#39;中間空一格) 跟 ./xxx.sh 有什麼不同呢?謝謝! - ...

哪個 yum repository 有較新的 openssl?

Isabella avatar
By Isabella
at 2010-09-15T08:31
想要將 openssl 升級到 0.9.8f 以後的版本 目前是 0.9.8e 但是用 yum 查看目前的 repository 沒有新的版本 請問該到哪個 repository 找較新的 openssl? 謝謝 - ...

vmlinux 是由哪些連結而成

Enid avatar
By Enid
at 2010-09-15T00:44
and#34;Linux編譯到了最後的階段會把各核心所編譯完成的模組連結成一個vmlinuxand#34; 有甚麼方法或者指令 可以查出 vmlinux 裡面有哪些被連結的目的檔 *.o *.a 感謝~ -- If people do not believe that mathematics is s ...

請問ubuntu有沒有辦法改帳號名?

Zenobia avatar
By Zenobia
at 2010-09-14T23:53
目前鎖定Ubuntu 10.04 或者幾個月後的Debian 6.0.x 比如說假設要設一個部門 比如說會計部門 會先用一台安裝比如gnucash openoffice試算表 中文輸入法 samba... 權限大概會先設好 群組使用者可以互讀 但是要本人使用者才可更改 (方便 ...