Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux 简明梳理系列(一)
2 students

Linux 简明梳理系列(一)

linux关键知识点梳理
Created by晦 ming
Last updated 10/2024
Chinese (Simplified)

What you'll learn

  • 基础介绍
  • 文件管理
  • vim
  • I/O和管道符

Course content

6 sections6 lectures6h 13m total length
  • 开篇介绍:shell、PS1、alias、内部命令、外部命令55:04

    PS1还是要带上\[   以及 \]  还有\\$ ;否则在方向键 上下调出历史命令的时候会有显示问题。

    export begin_red='\[\e[1;31m\]'

    export begin_green='\[\e[1;32m\]'

    export begin_yellow='\[\e[1;33m\]'

    export end='\[\033[0m\]'

    PS1="${begin_red}[${end}${begin_green}\u@\h \W${end}${begin_red}]${end}\\$"

Requirements

  • 多多实验,多多测试

Description

linux简明梳理系列,主要是linux关键知识点梳理,该系列会讲解从底层基础到上层应用,注重实验和使用场景。


Linux 关键知识点梳理(一)


  1. 基础相关

    • shell 命令解释器,PS1 设置命令提示符,别名简化命令,内部命令是 shell 自带的,外部命令是独立程序。

  2. 常用命令

    • date 用于日期时间操作,能设置字体颜色,cp 复制,ln -s 创建软连接,vim 。

  3. 输入输出

    • STDOUT 是标准输出,STDERR 为标准错误输出,管道符 | 连接命令,GREP 进行文本搜索。

  4. 用户文件管理

    • 可设置密码超时时间,添加用户要注意权限和所属组等,文件读权限用于查看内容、写权限用于修改内容、执行权限用于执行可执行文件或进入目录。

  5. rwx权限介绍

    • cp /data/file /ddd/dir/file   所需要的最小权限是什么

  6. suid、sgid、sticky

    • 特殊权限的说明和配置

Who this course is for:

  • linux新手