Linux一些基本概念

回顾

  • GNU:GNU is Not Unix.

  • GPL :General Public License,通用公共许可证,版权

    Copyright,Copyleft
    开源协定

  • LGPL:lesser

  • GPLv2

  • GPLv3

  • GUI : Graphic User Interface

    • Windows

    • X-Window(X表示会图形界面协议)

      Gnome
      KDE
      Xface

  • CLI : Command Line Interface

    shell
    bash
    csh
    ksh
    zsh
    tcsh

  • 系统

    系统硬件->Kernel->system call->library:API->应用程序或者IDE

  • login:

    • 用户名:用户ID(计算机处理最快的是数字而不是字符),用户名不能用来当做是否可以访问限定资源的认证标识

    • 认证机制:Authentication

    • 授权:Authorization

    • 审计:Audition(日志)

  • 登录后 prompt,命令提示符:

  • 命令:

    程序执行,必须有命令入口

  • magic number: 魔数

  • shebang的概念?

    !/bin/bash

  • 命令举例

    list:ls

  • 文件

    目录:文件,路径映射

    路径:从指定起始点到目的地所经过位置

    绝对路径:从根目录开始
    当前目录:working directory current directory
    相对路径:相对于当前所处位置的路径

    FHS(Filesystem Hierarchy Standard,文件系统层次结构标准)


  • 基本命令

    • pwd:Printing Working directory

    • ls

      辅助命令:
      -l:长格式
      文件类型:
      -:普通文件(f)
      d:目录文件
      b:块设备文件(block)
      c:字符设备文件(character)
      l:符号链接文件(sysmbolic link file)
      p:命令管道文件(pipe)
      s:套接字文件(socket)

posted @ 2016-09-05 10:16  onefiter  阅读(146)  评论(0)    收藏  举报