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.178linux.com/45843

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

相关推荐

  • Linux Basics–part5

    1、显示当前系统上root、fedora或user1用户的默认shell ~]# grep “^\(root\|fedora\|user1\)” /etc/passwd | cut -d: -f7 或者 ~]# egrep “^(root|fedora|user1)” /etc/passwd | cut -d:…

    Linux干货 2017-08-24
  • 1.初识linux

    1.计算机组成 计算机五大部件:运算器、控制器、存储器、输入设备、输出设备。对应实际情况大致如下: CPU CPU(Central Processing Unit)主要包含运算器、控制器;也包含寄存器、缓存用于辅助: CPU在同一时间能并行处理的二进制数的位数称为CPU字长。字长由CPU对外数据通路的数据总线条数决定。 运算器 运算器也称…

    Linux干货 2016-08-22
  • linux用户和权限管理

    0.用户 1、建用户:adduser nuoline //新建nuoline用户passwd nuoline //给nuoline用户设置密码 2、建工作组groupadd test //新建test工作组 3、新建用户同时增加工作组useradd -g test nuoline //新建phpq用户并增加到test工作组 注:…

    Linux干货 2016-08-05
  • wk_03作业

    1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。 who |cut -d' ' -f1|uniq 2、取出最后登录到当前系统的用户的相关信息。 # who |tail -1 |cut -d &#03…

    Linux干货 2016-12-15
  • RPM简述

    RPM 是 Red Hat Package Manager 的缩写,本意是Red Hat 软件包管理,顾名思义是Red Hat 贡献出来的软件包管理;在Fedora 、Redhat、Mandriva、SuSE、YellowDog等主流发行版本,以及在这些版本基础上二次开发出来的发行版采用。 RPM包里面都包含什么?里面包含可执行的二进制程序,这个程序和Win…

    Linux干货 2017-08-12
  • 文件系统挂载

    挂载: 将额外文件系统与根文件系统某现存的目录建立起关联关系,进而使得此目录做为其它文件访问入口的行为 卸载: 为解除此关联关系的过程 把设备关联挂载点:mount Point mount 卸载时:可使用设备,也可以使用挂载点 umount mount   umount命令都是临时生效,机器重启后失效 挂载点下原有文件在挂载完成…

    Linux干货 2017-04-30

评论列表(1条)

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

    可以自己画图来说明一下目录结构