開工--行勝於言

来源:http://www.cnblogs.com/SrtFrmGNU/archive/2017/01/17/6294410.html
-Advertisement-
Play Games

0.0 開此Blog主要目的在於開始學習linux內核,入手書籍《鳥哥的Linux私房菜》第三版,目前看到250頁有餘,立此Blog督促自己更正拖延症,及學會如何思考。 0.1 此篇隨筆摘錄之前所學的一部分知識,摳腳英語表達,此後的隨筆加以更正,但同樣附以扎腳英文。 1.[deer4ever_lix ...


  • 0.0 開此Blog主要目的在於開始學習linux內核,入手書籍《鳥哥的Linux私房菜》第三版,目前看到250頁有餘,立此Blog督促自己更正拖延症,及學會如何思考。
  • 0.1 此篇隨筆摘錄之前所學的一部分知識,摳腳英語表達,此後的隨筆加以更正,但同樣附以扎腳英文。
  • 1.[deer4ever_lix@localhost ~]$    :中的~符號表示/home/deer4ever_lix(PWD命令予以顯示--print working Directory):$表示的是非root許可權  :#為root許可權
  • 2.learn how to create a new directory&file in this dir。
    --using:"mkdir"to create dir,the"touch"to create file.
    eg. root@localhost#: cd /tmp:
                #: mkdir testing
                #: chmod 774 testing
                #:touch testing/testing
    you cannot see any files in temp doc,cause you make the root manage this "testing" dir. so you could using the "chown" to change the owner root.
  • 3.You know how to create a new file,but you must know the soulutions you can use to delete the files."rm"in liux is a good soulution in deleate it.(Some troubles will happen if you use rm,It's necessary to man rm ><.)
  • 4.Path & Dir,you can use "-"to return to the laster dir or path,you can use "~"to point to the current path.so,it is a great tools to use cd -,cd ~
    and,you must know  "pwd"means to show the path you are in now.
    mkdir & rmdir are also useful to create and deleate the files and dirs.
  • 5.the difference between use "ls -ld" and use "ls -l":eg. you input $ ls -ld the window will print the info of current path,but if you input $ ls -l
    the window will print the detailed info about all the docs in this path.
  • 6.It's important to create the bak for the files you want to cp,it is priceless when you need the former files.(when I install the stardict,I got it.)
  • 7.One day,you want to find or search for a file you need.you can use these command.eg.num1,"which" is a good choice,so you can input which ls in the termnal,num2,you can also use "find" and "whereis" or "locate".
  • 8.You can use the"free" command to display the amount of free and used memory or swap in your system.
  • 9.You know how to lookat the room you use or free about your dir and files,so you can use the "du"=disk usage to search for the each files in your disk and add it.but the"df"=disk free just search it use the fs=file system.so if your os(operating system) cannot release the room you delete,the date will greater than the du get.
  • 10.The fs(filesystem) of Ext2 include num1.bootsector num2.superblock num3.inode bitmap num4.block bitmap num5.inodetable num6.datablock.

       END--Eco.


您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • 如何查看程式占用的埠 一、查看占用指定埠的程式 如:查詢占用了8080埠的進程: 在開始-運行-cmd,輸入: netstat -ano|findstr "8080" (查看全部埠信息:netstat –ano ) 二、通過任務管理器殺死相關的進程 1. 首先找到進程號對應的進程名稱 tas ...
  • Restricted 執行策略不允許任何腳本運行。 AllSigned 和 RemoteSigned 執行策略可防止 Windows PowerShell 運行沒有數字簽名的腳本。 本主題說明如何運行所選未簽名腳本(即使在執行策略為 RemoteSigned 的情況下),還說明如... ...
  • Hexiwear擴展塢(Docking Station)有一個很不錯的功能:它板載了一個調試電路(OpenSDA)。 這樣我就不需要一個外部調試器來調試Hexiwear。 但是,重新編程擴展塢自身需要一個調試器。 本文展示瞭如何在Hexiwear擴展塢上對OpenSDA(DAPLink)引導載入程式 ...
  • 第一次發表博客,可能寫的不是很好,希望大家諒解! 今天咱們來上手一下Windows10下的bash,首先這款bash是基於Ubuntu操作系統的一個移植,也是方便開發和學習Linux中的shell命令。那麼我們來演示一下如何安裝bash,我們先要打開設置,找到裡面的更新和安全,裡面有一個模式叫針對開 ...
  • 0、一些移植、系統相關 OS_CFG_APP.H OS_CFG.H:功能性裁剪 OS_APP_HOOKS.C:鉤子函數 OS_CPU_A.ASM:PendSV中斷、任務切換 OS_CPU_C.C: OSTaskStkInit函數,任務創建時,對堆棧初始化,寄存器地址要參照手冊 1、框架寫法(個人習慣 ...
  • 問題描述: 安裝好CentOS7後使用ifconfig命令無法找到本地IP。 無法上網 無法使用SSH登錄。 進入目錄 /etc/sysconfig/network-scripts/ 用ls命令查看網卡配置文件名 用vim編輯該文件 將最後一行的ONBOOT=no 改成 ONBOOT=yes 保存並 ...
  • 《實戰教學筆記》學習效果小考(第二次) 標簽(空格分隔): Linux輔助訓練 [更多資料點我查看][1] 提示 :本套練習的教學目的是為檢測學生對《實戰教學筆記》相應章節的知識掌握情況 及《教學輔助訓練》的技能運用情況,設計為每半月一考,每個修習Linux運維的相關人 員應該100%掌握。答案附在 ...
  • 1、瞭解硬體 選擇合適的硬體很重要,瞭解現在黑蘋果通用的型號都是哪些,不要貪新!!! 我從0搞起,收瞭如題的兩個垃圾硬體外帶一個8g 的記憶體條; 然後又淘寶買了網卡942602cs,此網卡帶藍牙,重要的是免驅; 之後為了用 dp介面使用4k解析度,二手收了個垃圾 gtx660,這個也是蘋果免驅; 總 ...
一周排行
    -Advertisement-
    Play Games
  • 前言 本文介紹一款使用 C# 與 WPF 開發的音頻播放器,其界面簡潔大方,操作體驗流暢。該播放器支持多種音頻格式(如 MP4、WMA、OGG、FLAC 等),並具備標記、實時歌詞顯示等功能。 另外,還支持換膚及多語言(中英文)切換。核心音頻處理採用 FFmpeg 組件,獲得了廣泛認可,目前 Git ...
  • OAuth2.0授權驗證-gitee授權碼模式 本文主要介紹如何筆者自己是如何使用gitee提供的OAuth2.0協議完成授權驗證並登錄到自己的系統,完整模式如圖 1、創建應用 打開gitee個人中心->第三方應用->創建應用 創建應用後在我的應用界面,查看已創建應用的Client ID和Clien ...
  • 解決了這個問題:《winForm下,fastReport.net 從.net framework 升級到.net5遇到的錯誤“Operation is not supported on this platform.”》 本文內容轉載自:https://www.fcnsoft.com/Home/Sho ...
  • 國內文章 WPF 從裸 Win 32 的 WM_Pointer 消息獲取觸摸點繪製筆跡 https://www.cnblogs.com/lindexi/p/18390983 本文將告訴大家如何在 WPF 裡面,接收裸 Win 32 的 WM_Pointer 消息,從消息裡面獲取觸摸點信息,使用觸摸點 ...
  • 前言 給大家推薦一個專為新零售快消行業打造了一套高效的進銷存管理系統。 系統不僅具備強大的庫存管理功能,還集成了高性能的輕量級 POS 解決方案,確保頁面載入速度極快,提供良好的用戶體驗。 項目介紹 Dorisoy.POS 是一款基於 .NET 7 和 Angular 4 開發的新零售快消進銷存管理 ...
  • ABP CLI常用的代碼分享 一、確保環境配置正確 安裝.NET CLI: ABP CLI是基於.NET Core或.NET 5/6/7等更高版本構建的,因此首先需要在你的開發環境中安裝.NET CLI。這可以通過訪問Microsoft官網下載並安裝相應版本的.NET SDK來實現。 安裝ABP ...
  • 問題 問題是這樣的:第三方的webapi,需要先調用登陸介面獲取Cookie,訪問其它介面時攜帶Cookie信息。 但使用HttpClient類調用登陸介面,返回的Headers中沒有找到Cookie信息。 分析 首先,使用Postman測試該登陸介面,正常返回Cookie信息,說明是HttpCli ...
  • 國內文章 關於.NET在中國為什麼工資低的分析 https://www.cnblogs.com/thinkingmore/p/18406244 .NET在中國開發者的薪資偏低,主要因市場需求、技術棧選擇和企業文化等因素所致。歷史上,.NET曾因微軟的閉源策略發展受限,儘管後來推出了跨平臺的.NET ...
  • 在WPF開發應用中,動畫不僅可以引起用戶的註意與興趣,而且還使軟體更加便於使用。前面幾篇文章講解了畫筆(Brush),形狀(Shape),幾何圖形(Geometry),變換(Transform)等相關內容,今天繼續講解動畫相關內容和知識點,僅供學習分享使用,如有不足之處,還請指正。 ...
  • 什麼是委托? 委托可以說是把一個方法代入另一個方法執行,相當於指向函數的指針;事件就相當於保存委托的數組; 1.實例化委托的方式: 方式1:通過new創建實例: public delegate void ShowDelegate(); 或者 public delegate string ShowDe ...