Linux bash shell All In One
阅读原文时间:2023年07月09日阅读:1

Linux bash shell All In One

Linux

https://tinylab.gitbooks.io/shellbook/content/zh/chapters/01-chapter1.html

https://github.com/qinjx/30min_guides/blob/master/shell.md

$ cd ./api/

# db.json
# nodemon -w server.js 8888
# json-server -w -p 3000 db.json

$ /bin/sh sudo db.sh

bash shell

https://tinylab.gitbooks.io/shellbook/content/zh/chapters/01-chapter1.html

https://linuxconfig.org/bash-scripting-tutorial

shit cli

https://github.com/remy/nodemon/wiki#options

https://teamtreehouse.com/community/how-do-i-stop-nodemon

$ ps -ef | grep node

$ sudo kill -9 <PID>

http://jpsierens.com/tutorial-livereload-nodemon-gulp/

https://medium.com/quick-code/node-js-restful-api-with-dynamodb-local-7e342a934a24

https://www.codementor.io/olatundegaruba/nodejs-restful-apis-in-10-minutes-q0sgsfhbd

https://hackernoon.com/full-stack-web-application-using-react-node-js-express-and-webpack-97dbd5b9d708

https://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2

https://zellwk.com/blog/crud-express-mongodb/

Advanced, production process manager for Node.js

https://pm2.keymetrics.io/

$ npm install pm2 -g

https://pm2.keymetrics.io/docs/usage/quick-start/

https://doc.pm2.io/en/runtime/guide/ecosystem-file/

https://pm2.keymetrics.io/docs/usage/application-declaration/

https://stackoverflow.com/questions/47166609/how-can-i-get-pm2-to-use-my-ecosystem-config-js-file-on-reboot

shit cli

https://github.com/remy/nodemon/wiki#options

https://teamtreehouse.com/community/how-do-i-stop-nodemon

$ ps -ef | grep node

$ sudo kill -9 <PID>

http://jpsierens.com/tutorial-livereload-nodemon-gulp/

Restful API & CURD

https://medium.com/quick-code/node-js-restful-api-with-dynamodb-local-7e342a934a24

https://www.codementor.io/olatundegaruba/nodejs-restful-apis-in-10-minutes-q0sgsfhbd

https://hackernoon.com/full-stack-web-application-using-react-node-js-express-and-webpack-97dbd5b9d708

https://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2

https://zellwk.com/blog/crud-express-mongodb/

#!/bin/sh

# echo "^-v-^ JSON DB is running in development env!" && npm run db

echo "^-v-^ JSON DB is running in development env!" && nodemon -w ./server.js localhost 8888

# chmod +x db.sh
# sudo ./db.sh
# nodemon -w ./server.js localhost 8888

# /bin/sh db.sh

# ps -ef | grep node
# sudo kill -9 <PID>

https://www.binarytides.com/linux-ps-command/

https://www.lifewire.com/uses-of-linux-ps-command-4058715

https://www.binarytides.com/linux-ps-command/

https://www.computerhope.com/unix/ups.htm

https://www.pslinux.online/

https://www.digitalocean.com/community/tutorials/how-to-use-ps-kill-and-nice-to-manage-processes-in-linux

https://unix.stackexchange.com/questions/82724/ps-switches-to-display-pid-ppid-pgid-and-sid-collectively



xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!