nmap -Pn <domain name> or nmap -Pn <ip address>
Eg: nmap -Pn www.google.com
The above command can help to find all the open ports in a domain or for an ip address. This is very useful to troubleshoot connection issues.
jq is a lightweight command-line tool for parsing and formatting JSON data. We can use this tool to extract the data based on the keys used and can limit the number of objects displayed.
(more…)
A simple bash script to download latest wordpress version and update the needed client wordpress folders with it. Idea is to execute the shell script along with the name of the client destination folder so that the wordpress files could be copied over the destination folder.
(more…)
When we use linux desktop environments, be it ubuntu / fedora, we may need to browse through the file or folder structure and may want a quick command to achieve this need. There are a couple of commands that you can try with these desktop environments.
(more…)
When you plan to run multiple versions of ruby, rbenv comes in handy.
Some of the commands that comes in handy when you work with rbenv are listed below
# To install rbenv (mac)
$ brew install rbenv(more…)