1.检查用户家目录中的 test.sh 文件是否存在,并且检查是否有执行权限 #!/bin/bash if [ -e ~/test.sh ];then echo "test.sh文件存在" if [ -x ~/test.sh ];then echo "test.sh文件有执行权限" else ech ...
分类:
系统相关 时间:
2021-07-19 16:31:26
阅读次数:
0
#安装jdksudo apt install openjdk-8-jdk-headless#安装jenkins wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - sudo sh -c 'ech ...
分类:
其他好文 时间:
2021-06-07 20:23:31
阅读次数:
0
<template><view class="content"><!-- 引入的mpvue-echarts组件 --><uni-echarts class="ec-canvas" id="line-chart" ref="canvas" canvas-id="line-chart" :ec="ech ...
分类:
移动开发 时间:
2020-07-22 20:53:37
阅读次数:
315
echo "app_path ".Env::get('app_path')."</br>"; echo "root_path ".Env::get('root_path')."</br>"; echo "think_path ".Env::get('think_path')."</br>"; ech ...
分类:
其他好文 时间:
2020-06-20 00:55:05
阅读次数:
116
Linux查看和编辑文件 例如,要想test.txt文件添加内容"I am a boy",test.txt在当前目录中 方法一:vi编辑法 打开终端,输入vi test.txt 回车,按a或i进入编辑模式,输入 I am a boy,然后按esc键退出编辑模式,输入:wq保存并退出。 方法二:ech ...
分类:
系统相关 时间:
2020-06-05 10:20:52
阅读次数:
141
[toc] 1 前言 1. Linux Shell命令应该是算是非常入门的东西,但是实际上在使用的时候,会遇到各种各样的问题,前几天写了一个课程设计,要杀死一个进程。 我们正常的操作是: 2. kill命令是常用的,但是用killall命令会更快: 2 正文 2.1 关机/重启 1. 2.2 ech ...
分类:
系统相关 时间:
2020-05-18 14:35:51
阅读次数:
75
#!/bin/bashsui=$(expr $RANDOM % 100)ci=0echo "商品的价格"while truedo read -ep "请输入你猜测的价格" cai let ci++ if [ $cai -eq $sui ] then echo "恭喜你猜对了实际价格$sui" ech ...
分类:
其他好文 时间:
2020-05-06 21:45:48
阅读次数:
83
#!/bin/bash while true do res=`ps -ef | grep "ci.hrdsm.com/server1" | grep -v grep | wc -l` if [ $res -eq 0 ] then sh /export/server1/bin/start.sh ech ...
分类:
系统相关 时间:
2020-04-21 09:46:09
阅读次数:
71
出现如上问题 我们可以通过微软发布的更新补丁,解决这个问题。 链接:https://pan.baidu.com/s/1ZMEbcpIP5dmsrJkqNP-M8A 提取码:4aq2 @echo offecho Run as administratorpauseset up=d:\update ech ...
分类:
Windows程序 时间:
2020-03-31 12:00:04
阅读次数:
1239
基础正则 ^ * 以什么开头 ``` [root@wenhaha wenhaha]# cat wenhaha1.txt 123343 3423543 45345 345 wenhaha wenhaha wehan wehshdf -bash: ech: command not found [root ...
分类:
其他好文 时间:
2020-03-17 19:35:13
阅读次数:
68