Git Product home page Git Product logo

ubuntu-cheat's Introduction

ubuntu-cheat

本项目用来记录我自定义的cheat

cheat

cheat就是一个命令,一般用来显示一个命令的常用方法。毕竟看man有时候太麻烦。

以下为cheat的项目地址: https://github.com/chrisallenlane/cheat

例子

记不起后台运行的命令,通过cheat快速查询命令实例

$  cheat jobs
# list all jobs
jobs

# run backgroud
command &

# let a running command in background
Ctrl+Z
bg

# let bg don't relate to the shell
disown %1

# run a command in backgroud and don't relate to the shell
nohup command &

cheat的安装

# install pip

# 安装 pip
sudo apt-get install python-pip

# First install the required python dependencies with:
sudo pip install docopt pygments

# Then install cheat by pip
sudo pip install cheat

ubuntu-cheat 安装

本项目 ubuntu-cheat 其实可以理解为我的cheat命令的配置文件。因此 clone 到 ${HOME}/.cheat目录下即可。

git clone https://coding.net/qinshulei/ubuntu-cheat.git ~/.cheat

ubuntu-cheat 的内容

  • 会慢慢收集,自己工作中会用到,但容易遗忘的命令或知识点。
  • 尽量记录一些足够通用的命令
  • cheat 分两种:一种是命令,全小写命名。一种是知识点,以驼峰式命名。
  • 每个命令的cheat,尽量不超过终端全屏下的一个屏幕。知识点的cheat原则上不限长度,但每个主题都尽量简短,方便ack或者grep查找。
  • 欢迎大家的补充

ubuntu-cheat's People

Contributors

qinshulei avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.