bash shell
https://www.npmjs.com/package/shelljs
https://stackoverflow.com/questions/34937724/running-bash-scripts-with-npm
Shell脚本编程30分钟入门
https://github.com/qinjx/30min_guides/blob/master/shell.md
sh === bash
symbol link
#!/bin/sh
npm run json-db
https://unix.stackexchange.com/questions/425809/bash-script-not-handling-npm-commands-correctly
#!/usr/bin/env node
echo "^-v-^ JSON DB is running in development env!" && npm run json-db
Bash Shell
https://en.wikibooks.org/wiki/Bash_Shell_Scripting
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_01.html
Toturials
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-14.html#ss14.2
https://www.tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf
$ man bash
https://linuxconfig.org/bash-scripting-tutorial
terminal tools
asciinema-player
https://github.com/asciinema/asciinema-player
https://asciinema.org/docs/how-it-works
demo
https://asciinema.org/a/153907
http://web.tiscali.it/penguin_rules/img/underco.gif
http://es.tldp.org/icons/obrasinf.gif
Toturials
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-14.html#ss14.2
https://www.tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf
$ man bash
https://linuxconfig.org/bash-scripting-tutorial
terminal tools
asciinema-player
https://github.com/asciinema/asciinema-player
https://asciinema.org/docs/how-it-works
demo
https://asciinema.org/a/153907
http://web.tiscali.it/penguin_rules/img/underco.gif
http://es.tldp.org/icons/obrasinf.gif
json-server & localhost bug
linux
https://github.com/typicode/json-server#cli-usage
json-server [options] <source>
http verbs
https://www.restapitutorial.com/lessons/httpmethods.html
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!