一、echo的用法 1、echo -n 表示不换行输出 2、echo -e 输出转义字符,将转义后的内容输出到屏幕上 常见的转义字符有: 2.1 \b 相当于退格键 转义后相当于退格键(backspace),但是前提是“\b”存在字符。“\b”表示删除前一个字符,“\b\b”表示删除前面两个字符 2 ...
分类:
系统相关 时间:
2021-07-19 16:32:19
阅读次数:
0
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
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>标题</title> </head> <body> <script> /* 自定义对象({}),可以看成是python中的字典,但是js中的自定义对象要比pyt ...
分类:
Web程序 时间:
2021-07-14 18:51:37
阅读次数:
0
1.抽取进程延时 2.过程时间分析脚本 [oracle@node2 dirdat]$ cat test01.sh #!/bin/bash echo "sql before time is "`date`>> test.log sqlplus / as sysdba <<EOF @1.sql EOF ...
分类:
其他好文 时间:
2021-07-13 17:42:29
阅读次数:
0
生产库个人用户大量使用并行会导致数据库负载忽高忽低,频繁分析,浪费时间,且可能会出现大量直接路径读,影响数据库整体性能(此问题跟他们讲了也不听,不胜其烦) 之前写过使用resource_managed进行并行的限制,该方法适用于数据库体量较小,连接和用户数量少的库,大体量的库会有latch产生(这里 ...
分类:
数据库 时间:
2021-07-13 17:39:02
阅读次数:
0
安装 pip install xmltodict json 模块是python3内置模块,不需要安装 使用 #! /usr/bin/env python # -*- coding: utf-8 -*-# # # Name: demo # Author: yunhgu # Date: 2021/7/1 ...
分类:
编程语言 时间:
2021-07-12 18:24:23
阅读次数:
0
论枚举的正确使用方式 import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @Description 论枚举类的正确使用方式 * @Author 踏步 * @Date 2021/7/11 1 ...
分类:
其他好文 时间:
2021-07-12 18:12:42
阅读次数:
0
2021年7月10日22:44:49 trait zx { // const sss = 9; public static function tt() { echo 'tt'; } public function yy() { echo 'yy'; } } class uu { use zx; co ...
分类:
Web程序 时间:
2021-07-12 17:56:00
阅读次数:
0
@echo off set "PATH=%~dp0bin;%path%" echo. echo 当前配置 echo. bash --login -c "echo mirror=`apt-cyg mirror`;echo cache=`apt-cyg cache`;echo;apt-cyg proxy ...
当它们一起使用时,一般select长度是默认的,会比input短,只需要设置其宽度是100%即可。 .el-form-item .el-select { width: 100%; } 同理,el-date-picker也是类似的,但有所差别。 给其设置class, <el-date-picker v ...
分类:
其他好文 时间:
2021-07-12 17:46:58
阅读次数:
0