Skip to Content
Course cluster

Command Line Tools

A preserved cluster of undergraduate notes grouped by subject area.

23 notes

01

1. Shell Basic

2019-02-07

帮助 File System Search Pipeline globbing 其它常用命令

02

2. Shell Script

2019-02-07

内建命令 变量 字母数字及下划线组成,并且变量名的第一个字符不能为数字 赋值时,变量和等号之间不要有空格,等号和值之间也不要有空格,否则 shell 不会认为变量被定义 流程控制 系统变量 环境变量 环境变量:当 shell 程序启动自动设置的一组变量,可以在 /.bash profile 或者 /.bashrc 中设置 shebang #!/bin/bas...

03

3. Shell UI

2019-03-27

Escape Code | Escape Sequence | Representation | | | | | \a | alert | | \n | newline | | \t | Horizontal Tab | | \v | Vertical Tab | | \',\",\? | Symbol | | \nnn | ASCII in octal |...

04

4. Job Control

2020-03-17

Jobs Control C signal Python signal Multiplexes Remote System Deamon systemd on Linux launchd on Macos sysctl lauchctl

05

5. Data Wragling

2020-03-17

Text handling Math handling

06

6. Terminal

2020-03-17

快捷键 | | 功能 | | | | | ctrl + a | 移动到行首 | | ctrl + e | 移动到行尾 | | ctrl + u | 删除当前光标前面的文字 | | ctrl + l | 清屏 | | ctrl + r | 搜索历史记录 | | ctrl + z | SIGSTOP 挂起 | | ctrl + c | SIGINT | | ct...

07

7. Security

2020-03-17

Encode User

08

8. Network

2020-03-17

Download

09

9. Debugging

2019-03-27

System C time gdb profile Python static analysis pdb profiles Trace profiles Line profiles: add @profile before function

10

10. Git

2019-11-08

规范化 Commit commitizen cz conventional changelog conventional changelog cli conventional changelog standard version Github hub commit message Angular Git Commit Guidelines commitize...

11

11. Make

2018-11-19

参数 | 参数 | | | | | | f, file | 指定其它文件作为 Makefile | | C, directory | 切换目录 | | d, debug | 输出 debug 信息 | | s, silent | 不显示命令 | | r, no builtin rules | 禁用内置隐含规则 | | R, no builtin variab...

12

12. Vim

2019-03-27

13

13. VM and Docker

2020-02-24

Docker alias dk='docker' alias dka='docker attach' alias dkb='docker build' alias dkd='docker diff' alias dkdf='docker system df' alias dke='docker exec' alias dkE='docker exec it'...

14

14. 多媒体转换

2020-02-28

视频 ffmpeg ffmpeg formats 查看支持容器 ffmpeg codec 查看支持编码 ffmpeg encoders 查看编码器 ffmpeg hide banner | 参数 | 效果 | | | | | i | 输入文件 | | c copy | 直接复制 | | c:v libx264 | 视频编码器 | | c:a acc | 音频...

15

15. Linux

2019-01-19

Linux 私房菜 命令 <! more 基础命令 | Command | Parameters | Description | Order | | | | | | | locale | | 语系 | en US.utf8,zh CN.utf 8 | | date | | | scale=3 | | cal | | | | | bc | | 计算器 | |...

16

16. Comments and Autodoc

2020-03-25

注释风格 File Comments Python C++ C++ Doxygen Python Epytext: javadoc 风格 reST: Sphinx Google Numpy Modifiers TODO DEPRECATED 工具 sphinx Modify source/conf.py import file language: langu...

17

17. Formats and Linters

2020-03-25

Formats C/C++ 代码风格:Google, linux, gnu In Vscode: "C Cpp.clang format style": "{ BasedOnStyle: Google, IndentWidth: 4}" Python 代码风格:pep8 Frontend Prettier Lint 静态代码检测 pylint eslint

18

18. File Hierarchy Standard

2019-05-04

File Hierarchy Link to File Hierarchy NotAwesome User File Hierarchy Standard Introduction NotAwesome User File Hierarchy Standard aims to help user better manage their resources a...

19

19. Crawler

2020-03-26

Python nodename 选取此节点的所有子节点 / 从根节点选取 // 从匹配选择的当前节点选择文档中的节点,而不考虑它们的位置 . 选取当前节点 .. 选取当前节点的父节点 @ 选取属性 /bookstore/book[last() 1] 选取属于 bookstore 子元素的倒数第二个 book 元素 /bookstore/book[price...

20

20. Args

2019-02-07

Shell Python argparse

21

Setup: MacOS

2019-01-19

22

Setup: Ubuntu

2019-03-21

Platform Virtual Machine on macosx Install virtualbox Download Ubuntu from Tsinghua Image LTS version 16.04 18.04 <! more Guest Additions CD Image: Device Insert Guest Additions CD...

23

Setup: PHP

2018-12-30

Set up VM <! more Set up Apache Set up Apache Virtual Hosts Set up TLS/SSL certificate Set up MySQL Set up PHP Set up phpMyadmin Set up Composer To use Composer: Search on packagis...