Skip to content

Instantly share code, notes, and snippets.

@shafi-codez
Created April 10, 2018 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shafi-codez/966c6ee1a69ded51f3585e2c4feb3a2d to your computer and use it in GitHub Desktop.
Save shafi-codez/966c6ee1a69ded51f3585e2c4feb3a2d to your computer and use it in GitHub Desktop.
Session 1 : Awesomeness in bash
# How to check if the disk is full or not ?
df -h
# Filter files from disk
find . -type f -name "*config.xml"
# Parsing command outputs using jq tool
brew install jq
sfdx force:config:list --json | jq '.'
# Zsh : Auto Completion tool
brew install zsh zsh-completions
# Terminal Recorder https://asciinema.org/
# asciinema rec, to finish hit Ctrl-D or type exit.
brew install asciinema
# https://asciinema.org/docs/embedding
# Getting Web Registration information
whois gist.github.com
whois linkedin.com
# Check if port connectivity is reachable or not
ping gist.github.com
telnet gist.github.com 80
# How to get check if given address is resolving or not
nslookup gist.github.com
# How to Website hosted information ( Web Server )
curl -I http://test.westsidewriting.org/
curl -I http://gist.github.com
# How to download songs from youtube or vimeo from command line ?
git clone git@github.com:shafi-codez/code-works.git
cd code-works/transformer
# Follow Readme.txt to configure tool
sh mp3Downloader.sh
open "One Little Finger _ Super Simple Songs-eBVqcTEC3zQ.mp3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment