码迷,mamicode.com
首页 >  
搜索关键字:shell awk cat    ( 54363个结果)
shell
1. 删除空行 sed '/^$/d' file 2. 删除行首空格 sed 's/^ *//g' file sed 's/^[[:space:]]*//g' file ...
分类:系统相关   时间:2020-04-22 11:33:40    阅读次数:71
shell脚本基础-bash变量和逻辑运行
终端,附着在终端的接口程序:GUI:KDE,GNome,XfceCLI:/etc/shellsbash的特性:命令行展开:~,{}命令别名:alisa,unalisa命令历史:history文件名通配:glob快捷键:Ctrl+a,e,u,k,l命令补全:$PATH路径补全:bash特性之命令hash缓存此前的查找结果:key-valuekey:搜索键value:值hash命令hash:列出has
分类:系统相关   时间:2020-04-22 11:32:52    阅读次数:112
nothreading use single threaded
threading: # ThreadingMixIn.daemon_threads indicates how threads will behave on an # abrupt shutdown; like quitting the server by the user or restarti ...
分类:其他好文   时间:2020-04-22 10:17:57    阅读次数:66
155. Min Stack
Problem : Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) Push element x onto stack. pop() R ...
分类:其他好文   时间:2020-04-21 23:45:18    阅读次数:59
[转]excel文件需要双击两次才能打开,解决方案
之前在做项目的时候发现,excel出现问题:当excel或csv文件第一次打开时,双击一次打开能打开,需要双击第二次才显示内容 解决方案 cmd->regedit 打开注册表,找到计算机\HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command 双击名称 ...
分类:其他好文   时间:2020-04-21 18:28:30    阅读次数:319
使用Shell发布Spring Boot程序
#!/bin/bash #这个是shell!替换配置文件并发布,然后配置文件还原。 if [ x$1 != x ] then echo '开始修改bootstrap.yml' sed -i "" "s/active:[ ].*/active: $1/g" web/src/main/resources ...
分类:编程语言   时间:2020-04-21 18:24:50    阅读次数:86
[Dicker]一键部署nexus
Dcoker compose一键部署Nexus 创建配置文件 ` 查询密码 END ...
分类:其他好文   时间:2020-04-21 16:55:10    阅读次数:59
K8S 之 使用NFS卷作为POD存储卷
一、搭建NFS服务器1、安装NFS服务yuminstallnfs-utils-y2、创建共享挂载目录mkdir-p/data/nfs-volume3、设置访问权限[root@test-operatornfs-volume]#cat/etc/exports/data/nfs-volume10.3.153.0/24(rw,no_root_squash)
分类:其他好文   时间:2020-04-21 15:36:55    阅读次数:138
Spring Bean 生命周期
Bean 的生命周期 为了定义安装和拆卸一个 bean,我们只要声明带有 和或 参数。 init method 属性指定一个方法,在实例化 bean 时,立即调用该方法。 同样,destroy method 指定一个方法,只有从容器中移除 bean 之后,才能调用该方法。 Bean的生命周期可以表达 ...
分类:编程语言   时间:2020-04-21 09:48:31    阅读次数:59
linux下自建KMS激活服务器 安装vlmcsd搭建kms激活
搭建环境:CentOS7X64使用Xshell或者PuTTY登录到你的服务器,先确定一下你这台机器的CPU架构:cat/proc/cpuinfo一般都是Intel,毕竟技术实力摆在那里。不过也有一些用AMD的CPU,例如腾讯最近推出的“国内首家采用AMDEPYC?霄龙处理器的实例”…下载vlmcsd项目文件:yum-yinstallwgetwgethttps://github.com/Wind4/
分类:系统相关   时间:2020-04-21 09:45:32    阅读次数:415
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!