码迷,mamicode.com
首页 >  
搜索关键字:GNU Bash    ( 18398个结果
Mac下CoreShell使用lrzsz命令
Mac下Core Shell 使用lrzsz命令,上传,下载文件 新增~/.bashrc_Core_Shell # Bash support for Core Shell, reference: /etc/bashrc_Apple_Terminal on macOS # Report Working ...
分类:系统相关   时间:2021-04-20 15:02:28    阅读次数:0
bash特殊变量
bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 ...
分类:其他好文   时间:2021-04-20 14:55:25    阅读次数:0
Ubuntu 安装 Qt 5.9时,报错:undefined symbol : FT_Get_Font_Format 解决办法
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2 tar -xf freetype-2.10.0.tar.bz2 cd freetype-2.10.0 ./configure --prefi ...
分类:系统相关   时间:2021-04-20 14:36:46    阅读次数:0
Profile your program using GNU gprof
Profiling is an indispensable measure for analyzing and optimizing the performance of your program. A typical profiler like GNU gprof will complete th ...
分类:其他好文   时间:2021-04-20 14:35:11    阅读次数:0
git第一次使用
配置git: git config --global user.name "XXX" git config --gloaal user.email "XXX@...com" 文件在用户目录下 .gitconfig 中,可以手动删除 关联远程仓库 转到工程目录下 为了下次连接远程仓库不用输入密码,设置 ...
分类:其他好文   时间:2021-04-19 15:55:18    阅读次数:0
多开发机别名跳转脚本片段
#! /bin/bash # @author # @breif auto ssh function show_usage(){ echo -e " This is Usage " echo -e " -h: which host to go,for example dev041" } functio ...
分类:其他好文   时间:2021-04-19 15:50:26    阅读次数:0
Linux_服务器_禁止国外IP访问
这里我们以禁止美国地址段为例,可以根据自己的需要将us.zone改为相应国家缩写 #/bin/bash wget -O /tmp/us.zone http://www.ipdeny.com/ipblocks/data/countries/us.zone for ip in `cat /tmp/us. ...
分类:系统相关   时间:2021-04-19 15:10:27    阅读次数:0
变量,元字符,流程判断if,while、for循环
一: shell编程介绍 1、一个shell脚本运行必须要拥有r和x权限; chamod u+x 1.txt 2、运行一个shell脚本的3个步骤: (1)启动bash解释器 (2)bash把文件内容从硬盘读入内存 (3)bash把读入到内存的内容进行语法解释,控制操作系统执行shell代码 写脚本 ...
分类:其他好文   时间:2021-04-16 12:25:54    阅读次数:0
linux shell 命令之trap之捕捉DEBUG信号
linux 使用trap命令进行调试 Shell脚本在搪行时,会产生三个所谓的伪信号。三种伪信号如下:信号名称 产生条件EXIT 从函数中退出,或者整个脚本执行完毕ERR 当一条命令返回非零状态码,即命令执行不成功DEBUG 脚本中的每一条命令执行之前 vi trapdebug.sh #!/bin/ ...
分类:系统相关   时间:2021-04-14 12:02:07    阅读次数:0
Linux shell脚本之判断进程是否在运行
vi proc1.sh #!/bin/bash #此脚本期望的参数个数argno=1 if [ $# -ne $argno ]then echo "Usage: 'basename $0' PID-number" >&2fi if [ ! -f "/proc/$1" ]then echo "Proc ...
分类:系统相关   时间:2021-04-14 11:51:22    阅读次数:0
18398条   上一页 1 ... 13 14 15 16 17 ... 1840 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!