We use n module from npm to upgrade node to the stable version To upgrade to the latest version (no stable version) Fix PATH /usr/bin/node To undo n installation Found in David Walsh blog.
linux
Current date and time in bash script
In Linux shell script you can use date command to get the current Date and time.This command is part of the Linux coreutils package. Basic date command uses Formatted date output For more information about date command you can see man pages.
Linux environment variables
You can use any one of the following command to display environment variables and their values using bash shell. printenv print all or part of environment variables env print all exported environment or run a program in a modified environment set print the name and value of each shell variable export to set environment variables […]