Skip to content

abdmjd1/commands_cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cch (commands cheatsheet)

cch is a command line tool that helps you save shell commands you learn in a cheatsheet so you don't forget them.

I created this tool because I was learning to use the terminal and I kept forgetting the commands I learned

dependancies

  • tldr. you can install it with npm install -g tldr
  • A Debian-based Linux distro. (this tool was only tested on Ubuntu and Kali Linux, but I don't see why it wouldn't work with other Linux distros.)

Installation

curl https://commands-cheatsheet.vercel.app/install_cch | bash

Usage

  - Save a shell command to commands cheatsheet:
    cch command

  - Display all shell commands in the commands cheatsheet:
    cch -l|--list

  - start writng a bash script using cch bash_script_template:
    cch -t|--template

  - Display help for cch:
    cch -h|--help

Lessons Learned

while building this project, I learned many things including:

  • many Linux commands (grep, sed, head, tail etc).
  • bash.
  • how to write a bash script.
  • how to make it installable by other people.
  • how to use a main() function to cleanly structure a bash script.
  • how to use shellcheck to lint a bash script.
  • how to write a README file with markdown.

About

A command line tool that helps you save shell commands you learn in a cheatsheet so you don't forget them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages