Cancel

Cut command in Linux

The cut command extracts certain portion of text from each line of input string or from a file by characters, delimiter, complement, and fields options. I have created dummy content for you to tes...

GREP command in Linux

grep stands for global regular expression pattern or print. It processes text line by line, and prints matched lines. It searches text from the file according to the regular expression. Options Op...

TR command in Linux

tr stands for translate, which finds and replaces characters. It is good for manipulating text on the CLI. It has 2 mandatory sets, where SET1 translates into SET2 characters. There are certain sp...

JQ command in Linux

JQ is a CLI JSON parser with pretty prints and filters the results as JSON. So JSON stands for JavaScript Object Notation, and JQ stands for JSON Query. If you don’t have JQ package installed in y...

CURL command in Linux

Transfers data from or to a server via curl command and it supports many protocols, including HTTPS, FTP, SMTP, IMAP, POP3 to name a few. Options Options are the real power of CURL. Here I’ll cove...

Vagrant command in Linux

A vagrant is a tool for building and managing Virtual Machines locally. VirtualBox or any other tool is required to run Vagrant Box. Linux (Debian, Ubuntu, Mint) sudo apt install virtualbox vagran...

Nginx Cheatsheets

Its a web server, 2.5 times quicker than Apache. Apache uses a process-driven approach and creates a new thread for each request. Whereas NGINX uses an event-driven architecture to handle multiple ...

Netlify Cheatsheets

Netlify is where you can host your static site free of charge with Free Let’s Encrypt SSL/TLS certificate and free CloudFront. Click here to use Netlify’s API via CURL command. Useful Commands ne...

Install SSL/TLS certificate for localhost?

Prerequisites You may need to install few packages before generating SSL/TLS certificate for localhost. Linux (Debian, Ubuntu, Mint) sudo apt install libnss3-tools linuxbrew-wrapper # pre-install ...

Install SSL/TLS Certificate using Certbot

Let’s Encrypt is completely free and automated Certificate Authority (CA) that offers free domain-validation (DV) certificates for your websites. It has an automated installer called Certbot and Ce...