Linux bash shell All In One
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
nodemon
shit cli
https://github.com/remy/nodemon/wiki#options
stop
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://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2
https://zellwk.com/blog/crud-express-mongodb/
PM2
Advanced, production process manager for Node.js
$ npm install pm2 -g
https://pm2.keymetrics.io/docs/usage/quick-start/
PM2 ecosystem.config.js
https://doc.pm2.io/en/runtime/guide/ecosystem-file/
https://pm2.keymetrics.io/docs/usage/application-declaration/
nodemon
shit cli
https://github.com/remy/nodemon/wiki#options
stop
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://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2
https://zellwk.com/blog/crud-express-mongodb/
shell
#!/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>
Linux & bash & shell
ps
https://www.binarytides.com/linux-ps-command/
PID & PPID
https://www.lifewire.com/uses-of-linux-ps-command-4058715
PPID & PID
https://www.binarytides.com/linux-ps-command/
https://www.computerhope.com/unix/ups.htm
refs
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
Linux bash shell All In One的更多相关文章
- linux BASH shell设置字体与背景颜色
linux BASH shell下设置字体及背景颜色的方法. BASH shell下设置字体及背景颜色 echo -e "\e[31mtest\e[41m" \e[30m 将字 ...
- 【Linux】linux bash shell之变量替换::=句法、=句法、:-句法、-句法、=?句法、?句法、:+句法、+句法
linux bash shell之变量替换::=句法.=句法.:-句法.-句法.=?句法.?句法.:+句法.+句法 linux bash shell之变量替换::=句法.=句法.:-句法.-句法. ...
- Linux Bash Shell常用快捷键
Linux Bash Shell常用快捷键 table { margin: auto } 快捷键 功能 tab 补全 ctrl + a 光标回到命令行首 ctrl + e 光标回到命令行尾 ctrl ...
- linux bash shell & lsof & grep & ps
linux bash shell & lsof & grep & ps lsof list all open files # lsof & grep $ lsof -P ...
- Linux Bash Shell 快速入门
BASH 的基本语法 最简单的例子 —— Hello World! 关于输入.输出和错误输出 BASH 中对变量的规定(与 C 语言的异同) BASH 中的基本流程控制语法 函数的使用 2.1 ...
- linux bash shell 流程控制(if/else )
本文转自:http://blog.csdn.net/flowingflying/article/details/5069646 本文也即<Learning the bash Shell>3 ...
- (转)linux bash shell 入门教程
Shell Script(bash)简介 众所皆知地,UNIX上以小工具著名,利用许多简单的小工具,来完成原本需要大量软体开发的工作,这一点特色,使得UNIX成为许多人心目中理想的系统平台. 在众多的 ...
- Linux Bash Shell入门教程
Linux 系统根据 "#!" 及该字串后面的信息确定该文件的类型,关于这一问题同学们回去以后可以通过 "man magic"命令 及 /usr/share/m ...
- Linux - Bash shell的功能;内建命令type
命令编修能力 (history): bash 的功能里头,相当棒的一个就是『他能记忆使用过的命令!』 这功能真的相当的棒!因为我只要在命令列按『上下键』就可以找到前/后一个输入的命令!而在很多 dis ...
随机推荐
- CSGO项目
#include <Windows.h> #include <sstream> #include <iostream> #include <math.h> ...
- JAVA中关于基本数据和引用数据参数传递过程
基本数据和引用数据参数传递过程 案例1:判断程序的输出结果 class Demo{ public static void main(String[] atgs){ int x =4; show(x); ...
- URL 重定向机制
由于存在上述三种 URL 重定向机制,那么在多种方法同时设定的情况下,哪种方法会首先起作用呢?优先级顺序如下: HTTP 协议的重定向机制永远最先触发,即便是在没有传送任何页面--也就没有页面被(客户 ...
- .Net 5 C# 反射(Reflection)
这里有个目录 什么是反射 有什么用?怎么用? 获取类型的类型信息. 获取泛型信息 获取程序集的信息 从已加载的程序集获取 Type 对象 查看类的信息 首尾呼应.重复强调.重要事情说三遍 后记 什么是 ...
- HTML5的表单input元素的新属性
知识点 <HTML5的表单input元素的新属性>,留待学习分享... <!-- HTML5的表单input元素的新属性 Autocomplete:自动完成功能 Autofocus: ...
- SpringBoot-Maven打包压缩瘦身
SpringBoot-Maven打包压缩瘦身 一.Spring Boot 可执行 jar 分析 1.1 打包 1.2 两种 jar 的比较 1.3 一次打包两个 jar 二.SpringBoot迭代发 ...
- Prometheus 初探和配置(安装测试)
本文大纲: • Prometheus 官⽹下载• Prometheus 开始安装• Prometheus 启动运⾏• Prometheus 基本配置⽂件讲解• 安装第⼀个exporter => ...
- Centos搭建spark
Centos搭建spark 一.spark介绍 二.spark安装前提 三.集群规划 四.spark安装 五.修改spark环境变量 六.修改spark-env.sh 七.修改slaves 八.将安装 ...
- hadoop(集群)完全分布式环境搭建
一,环境 主节点一台: ubuntu desktop 16.04 zhoujun 172.16.12.1 从节点(slave)两台:ubuntu server 16.04 hadoop2 ...
- Cisco的互联网络操作系统IOS和安全设备管理器SDM__管理Cisco互联网络
1.如果不能远程登录到一台设备上,可能是由于远程设备上没有设置口令.也可能是由于访问控制列表过滤了远程登录会话. show users:检查都有哪些设备连接到了此路由器. clear line #:清 ...