vi readreply.sh #!/bin/bash#第一部分 echo -n "What is your name?"readecho "Your name is $REPLY" #已将变量的值从标准输入读到REPLY #第二部分echo -n "What is the name of your ...
分类:
系统相关 时间:
2021-03-30 13:53:42
阅读次数:
0
在iPhone 和 iPad苹果三件套办公应用中如何避免错误编辑? ...
分类:
移动开发 时间:
2021-03-30 13:33:41
阅读次数:
0
添加http请求 添加聚合报告 使用命令方式 -n启动界面 -t 启动脚本,-l 结果保存 ./jmeter.sh -n -t http_test.jmx -l http_test.jtl ...
分类:
其他好文 时间:
2021-03-29 12:33:45
阅读次数:
0
ps -ef|grep apache -tomcat 查看进程 kill -9 杀死进程 ls 看命令 ./ startup.sh 启动 cd ../logs 查log tail -f catalina.out 看log chmod -R 777 * chmod 777 * 赋权限 unzip 文件 ...
分类:
系统相关 时间:
2021-03-26 15:32:48
阅读次数:
0
方法一、配置shell脚本,使用/etc/rc.local 跟随系统自启动 # cat /home/oracle/script/start.sh lsnrctl start<<EOF EOF sqlplus / as sysdba <<EOF startup alter system registe ...
分类:
数据库 时间:
2021-03-26 15:17:47
阅读次数:
0
环境准备 本篇文章使用的 ACME 客户端是基于 Docker 容器使用的,所以需要准备 Docker 运行环境。本文使用的是 CentOS 7.x 与 Docker CE - 19.03.13,且已经安装了 Docker Compose 工具。 我已经参考官方的 GitHub 文章编写了 acme ...
分类:
其他好文 时间:
2021-03-17 14:30:14
阅读次数:
0
使用docker在Linux下部署项目(以nginx + node示例) docker linux 安装: #sudo wget -qO- https://get.docker.com | sh -q标识安装时输出信息要简单,O-标识标准输出,而不是输出到文件 #sudo usermod -aG d ...
分类:
系统相关 时间:
2021-03-17 14:23:09
阅读次数:
0
collect_time.sh脚本需求: 遍历/dz目录下所有以A开头的文件夹,读取该文件夹下的time.log的首行内容,依次写入脚本的路径参数/lj/times.txt中。 编写collect_time.sh: #!/bin/bash file="time.log" readDir="/dz" ...
分类:
系统相关 时间:
2021-03-16 13:55:14
阅读次数:
0
一、需求:希望使用脚本启动虚拟环境下的jupyter notebook 二、问题: 直接使用如下脚本(jupyternotebook.sh): conda activate pythonnohup jupyter notebook --no-browser --ip=0.0.0.0 --allow- ...
分类:
其他好文 时间:
2021-03-11 10:50:01
阅读次数:
0
zookeeper相关命令 zk服务器端命令 命令 功能 zkServer.sh start 启动zookeeper zkServer.sh stop 关闭zookeeper zkServer.sh restart 重启zookeeper zkServer.sh status 查看zookeeper ...
分类:
其他好文 时间:
2021-03-08 14:13:29
阅读次数:
0