Friday, April 30, 2021

What is the mantra and meaning of prabh ki simaran ridh sidh no nidh?

Happy Friday, I learnt something new today from a forward from a friend. It's a mantra.
Here's my learning or decoding of what's in it.

prabh ki simran ridh sidh no nidh |
prabh ki simran gyaan dhyaan thath budh |

I came to know that there is a complete mantra Read more

 Since I am no good at vocabulary. I did my part to break it down further.

Prabh -> Prabhu -> God : Prabhu
Simran -> Continuous remembrance
Ridh -> Prosperity : Riddhi
Siddh -> Accomplishment : Siddh-arth
Nau Nidh -> 9 Treasures

Gyaan -> Knowledge ( spiritual or religious knowledge )
Dhyaan -> Contemplation, Reflection, Meditation
Thath -> Supreme
Budh -> To Awkaen, To Know, To become aware or : Buddha

HTH, Please share your wisdom


Wednesday, April 28, 2021

How to find the OS version of a linux remote machine? /etc/os-release

 cat /etc/os-release

Should give you

NAME
VERSION
ID
VERSION-ID
and so -on...

How to find the web server location of html, php files on a remote machine?

 I had to make modifications on a remote machine.But i did not know the location where web server files html or php are located.

ssh username@remotehost
password: #####

bash$cat /etc/httpd/conf/httpd.conf | grep DocumentRoot

# DocumentRoot: The directory out of which you will serve your
DocumentRoot "/var/www/html"

cd /var/www/html

There I was in the directory to proceed further,

Tuesday, April 27, 2021

What do the version numbers mean in NPM modules ^ ~

 

A package with the sequence 4.17.4 is interpreted as Major release, Minor Release and patch.

^4.17.4 - keep major version update minor version

~4.17.4 - keep minor version update patch

4.17.4 - exact version

* - latest version

How to find root directory of NPM modules?

 npm root -g