How to open bible book in the browser using linux command line script

I often open my online bible and study but have a hard time to open quicker where the passage I want to open. So I make a Linux script to open it quickly. Follow the steps below. Thank you.

Note: It can also use to open other specific website

1. make a file and input

firefox https://www.biblegateway.com/passage/?search="$1"+$2 

to open bible using firefox

or 

google-chrome chromium-browser https://www.biblegateway.com/passage/?search="$1"+$2 

or 

chromium-browser https://www.biblegateway.com/passage/?search="$1"+$2 

to open bible using chrome

2. don't forget to chmod 700 <filename> to make the file executable

3. test your script by typing in command line: 

# <filename> exodus 21 

and it will open to the bible book Exodus chapter 21.

another test :
# <filename> "2 peter" 2


Sample on below screenshoot.



Resorces:
https://askubuntu.com/questions/423772/can-i-open-a-certain-website-with-a-command-line


Comments

Popular posts from this blog

Copy to clipboard from command line

login website quicker using linux command line

Ansible