linux目錄基礎、簡單的命令以及運用linux幫助

  • 計算機組成及其功能

    計算機其實是:接收用戶輸入指令與數據,經過中央處理器的數據與邏輯單元運算處理后,以產生或存儲成有用的信息。所以計算機組成可以分為輸入單元、輸出單元、CPU(控制單元、算術邏輯單元)、內存

    輸入單元:包括鍵盤、鼠標、掃描儀、手寫板、觸摸屏等;實現數據的輸入功能

    輸出單元:例如屏幕、打印機等;實現數據處理后結果的輸出功能

    算術邏輯單元:主要負責程序運算與邏輯判斷

    控制單元:主要協調各組件與各單元間的工作

    內存:提取輸入單元數據,提供cpu數據的讀取


  • linux主流發行版

     debian:ubuntu

     slackware:s.u.s.e

    redhat:redhat enterprise linux ; centos


  • linux哲學思想

    一切皆文件:linux系統將所有的資源抽象為文件,硬件設備、通信接口也通過文件表示。這樣管理整個系統或修改配置系統其實就變成文件管理

    一個程序只做一件事:linux系統由眾多功能單一的小程序組成,復雜任務通過程序組合完成(小程序不容易出錯、復雜任務排錯可以分解為小程序)

    程序啟動盡力不與人交互:希望以編程的方式實現自動化

    文本保存配置文件:用最基本的編輯工具就能完成;備份、閱讀比較方便;熟悉配置后能快速部署


  • linux命令

    linux命令格式:COMMAND [OPTION]… [FILE]|[string]

    COMMAND:linux命令本身

    [OPTION]:linux命令運行可調整項,可以跟多個選項

    [FILE]|[string]:linux命令后跟的參數,也有可能不需要參數;參數一般是文件或字符串

    ifconfig命令

    ifconfig – configure a network interface(可以用做查看ip地址)

    echo命令

    echo – display a line of text

    -n     do not output the trailing newline

    -e     enable interpretation of backslash escapes

    tty命令

    tty – print the file name of the terminal connected to standard input

    startx命令

    startx – initialize an X session

    export命令

    export – set the export attribute for variables

    pwd命令

    pwd – print name of current/working directory

    history命令

    history – display the command history list with line numbers

    -c     Clear the history list by deleting all the entries

    -d offset    Delete the history entry at position offset

    shutdown命令

    shutdown – bring the system down

    -r     Requests that the system be rebooted after it has been brought down

    -h     Requests that the system be either halted or powered off after it has been

           brought down, with the choice as to which left up to the system

    -c     Cancels a running shutdown

    poweroff命令

    poweroff – reboot or stop the system

    

    reboot命令

    reboot – reboot or stop the system

    hwclock命令

    hwclock – query and set the hardware clock (RTC)

    date命令

    date – print or set the system date and time


  • linux獲取命令幫助

    builtin命令:help COMMAND

    外部命令:COMMAND –help

    程序自帶的幫助文檔

    官方文檔

    搜索引擎

    在線幫助文檔:info COMMAND

    常用幫助:man COMMAND

    man文檔:分為8個章節

    

     MANUAL SECTIONS

       The standard sections of the manual include:

       1      User Commands

       2      System Calls

       3      C Library Functions

       4      Devices and Special Files

       5      File Formats and Conventions

       6      Games et. Al.

       7      Miscellanea

       8      System Administration tools and Deamons

       


  • linux文件系統簡述

    遵循Filesystem Hierarchy Standard(文件系統目錄標準)

    linux目錄基礎、簡單的命令以及運用linux幫助fhs-3.0.pdf The current version is 3.0. It was announced on June 3, 2015.

原創文章,作者:goal,如若轉載,請注明出處:http://www.www58058.com/45843

(0)
goalgoal
上一篇 2016-09-17 21:46
下一篇 2016-09-17 22:15

相關推薦

  • N25期第三周作業

    1.列出當前系統上所有已經登錄的用戶的用戶名,注意:同一個用戶登錄多次,則只顯示一次即可 who|awk ‘{print $1}’|sort -u 2.取出最后登錄到當前系統的用戶的相關信息 last -1 3.取出當前系統上被用戶當作其默認shell的最多的那個shell cat /etc/passwd|awk -F: ‘{print $NF}’|sort…

    Linux干貨 2016-12-12
  • N25-第七周作業

    1、創建一個10G分區,并格式為ext4文件系統;~]#fdisk -l #查看已有分區 設備 Boot Start End Blocks Id System/dev/sda1 * 2048 8194047 4096000 83 Linux/dev/sda2 8194048 24578047 8192000 82 Linux swap / Solaris~]…

    Linux干貨 2017-02-24
  • linux命令格式和常用命令

    Linxu命令使用格式 ~]#COMMAND OPTIONS ARGUMENTS CMMMAND:發起一命令:請求內核將某個二進制程序運行為一個進程; OPTIONS:指定命令的運行特性; 短選項:-C, 例如-l, -d 注意:有些命令的選項沒有-; 如果同一命令同時使用多個短選項,多數可合并:-l -d = -ld 長選項:–word, 例如…

    Linux干貨 2018-03-04
  • grub應用 (Blog 10)

    grub1.x 、grub2.x詳解

    2017-11-27
  • 早安,Linux

    希望能通過不斷的努力,變成一個不一樣的我。

    Linux干貨 2017-07-11
  • N26-博客作業-week8

    1、寫一個腳本,使用ping命令探測172.16.250.1-172.16.250.254之間的所有主機的在線狀態;      在線的主機使用綠色顯示;      不在線的主使用紅色顯示; #!/bin/bash # for i in {1..254}; do if -W 1 -c 1 ping 1…

    Linux干貨 2017-03-26

評論列表(1條)

  • 馬哥教育
    馬哥教育 2016-09-20 11:24

    可以自己畫圖來說明一下目錄結構

欧美性久久久久