--- hackpadID: tD0Y1XFiCgO hackpadWorkspace: tossug tags: hackpad-import, tossug --- # Linux 讀書會 - 第 5 週 09/02/2014 ###### tags: `TOSSUG` `讀書會` 總目錄 [edX Introduction to Linux](https://tossug.hackpad.com/dVX1LvoCcii) ## 課程筆記 **Chapter 08** <undefined>* **Section 1**</undefined> * p.2 提到FHS (**Filesystem Hierarchy Standard**) * [](http://www.pathname.com/fhs/)[http://www.pathname.com/fhs/](http://www.pathname.com/fhs/) January 29, 2004\. 有點舊了 * 某些檔案是Binary file,是什麼意思? * 非純文字、特殊格式的檔案,例如從原始碼編譯出來的可執行檔 (executables) 或 PDF 文件。 * 基本上只要用純文字編輯器開啟出現亂碼的都是 Binary file * p.4 mount指令的詳細程序? * 你可以利用第 7 章的方式查詢 mount 相關文件。若要在任意目錄操作,通常會選空目錄。 * 選已存在目錄掛載檔案系統的話該掛載點底下原本有的內容會暫時被隱藏(要小心,有的時候會不小心刪除以為裏面是空的掛載點目錄) * 另外大多數的檔案管理程式現在改用 [Udisks](https://wiki.archlinux.org/index.php/Udisks) 來管理磁碟跟檔案系統,就(在符合條件下)不需要以 root 身份透過 mount 命令掛載檔案系統 * 相關的命令列介面命令:udisks 、udisksctl <undefined>* **Section 4**</undefined> * p.2 **rsync** is a very powerful utility. For example, a very useful way to back up a project directory might be to use the following command: * $ rsync -r project-X archive-machine:archives/project-X * p.9 Exactly what the name **dd** stands for is an often-argued item. The words **data definition** is the most popular theory and has roots in early **IBM** history. Often people joke that it means **disk destroyer** and other variants such as **delete data**! * `dd` 也可以複製檔案,並且可對內容做大小寫轉換。更多操作請看 `man dd`。 * 現在 Ubuntu 的安裝媒體映像檔(image)支援直接用 dd 命令寫入磁碟變成開機碟(原本在該磁碟的資料會被洗掉) * 所謂映像檔,是指將某個硬體的內容完整複製下來的檔案嗎?(像dd把每一個byte都copy下來這樣?) * 我想這邊 V字龍的意思是 Ubuntu ISO images,這個也可以直接 dd 進隨身碟。 * 可以直接 dd 進隨身碟的 ISO 主要是因為 isohybrid 的關係,有興趣的人可以去看看[](http://www.syslinux.org/wiki/index.php/Isohybrid)http://www.syslinux.org/wiki/index.php/Isohybrid 目前 Debian 跟 Ubuntu 給 i386 跟 x86_64 使用的 ISO 都有支援 * 回 P. F. ,對就是這樣,顧名思義 image 就是跟鏡子中的顯影一樣,應該要 100% 跟原物相同 Rsync on wiki [](http://en.m.wikipedia.org/wiki/Rsync)http://en.m.wikipedia.org/wiki/Rsync _rsync algorithm_ [](http://blog.incubaid.com/2012/02/14/rediscovering-the-rsync-algorithm/)http://blog.incubaid.com/2012/02/14/rediscovering-the-rsync-algorithm/ * rsync 作作業系統複製很好用(不受到目標磁碟分割區大小限制),可以留意一下 --numeric-ids 命令列參數 * 另外最近翻到一個基於 Rsync 的檔案同步軟體 unison SSH X11 Forwarding * WIndows 下X Window Server推薦 Xming [](http://sourceforge.net/projects/xming/)http://sourceforge.net/projects/xming/ * (可用來顯示x11 forwarding 傳送過來的 X window) Install Windows on Qemu * [](https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo)https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo tmate - Instant Terminal Sharing SSH 參考資料 [](http://wiki.gentoo.org/wiki/SSH)http://wiki.gentoo.org/wiki/SSH [](https://wiki.archlinux.org/index.php/Ssh)https://wiki.archlinux.org/index.php/Ssh ## 本週作業 Chapter 09 ## 活動簽到 [Carl Su](/ep/profile/n5euV0AaWLn) [AL](/ep/profile/o1ekz5Cvtoh) [Scott Yu](/ep/profile/FXMAg851dkz) [P Fisher](/ep/profile/oTOWRrYfPRk) [steven huang](/ep/profile/sncZfUbLaeE) Oliver [Chen-Han Hsiao](/ep/profile/B3DQ7P9UObQ) [Bruce Tsai](/ep/profile/oLLqeaQgDjg) V字龍