Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anishlearnstocode/cmd-line-shortcuts

Important command line shortcuts for different tools
https://github.com/anishlearnstocode/cmd-line-shortcuts

cli cli-tools cmd command-line command-line-tool git homebrew shortcut

Last synced: about 1 month ago
JSON representation

Important command line shortcuts for different tools

Awesome Lists containing this project

README

        

# Command line shortcuts

## ☕️ homebrew
- Check homebrew path: `brew --prefix`

## nginx
- Restart nginx: `nginx -s reload`

## dnsmasq
- Test if scripts are valid: `dnsmasq --test`
- Start dnsmasq: `sudo dnsmasq`

## docker
- List all running machines: `docker ps`
- Enter a machine interactively to see env variables: `docker exec -it ${containerName} bash`
- Stop a container: `docker stop ${containerName}`
- Delete a container: `docker rm ${containerName}`

## linux
- Listen to logs: `tail -f /path/to/file`