xshell7破解版下载亲测可用

xshell7破解版下载亲测可用

NetSarang Xshell是一款最好用的Linux远程连接工具,最强大的SSH终端管理器、SSH远程连接主机客户端 。Xshell,轻松管理远程服务器,会话管理器,支持多选项卡管理主机,支持远程协议Telnet、Rlogin、SSH/SSH PKCS#11、SFTP、Serial,具有Unicode编码支持、动态端口转发、自定义键盘映射、VB脚本支持等

admin 2022-12-03 01:17:19 1453
如何利用shell命令行批量给redis设置过期时间

如何利用shell命令行批量给redis设置过期时间

如何用shell命令行批量给redis加过期时间 以下是shell命令行 ``` [root@iZuf6emne76ykf86e0pxakZ application]# cat 1.sh #!/bin/bash ls=`redis-cli -h 127.0.0.1 -p 6379 -a 123456 -n 0 keys test*` fo

admin 2022-02-09 17:51:34 1459
shell学习三

shell学习三

  1 #!/bin/bash   2 num=`curl -s http://test.user.www.com/userinfo/`   3 echo $num   4 for (( i=1; i<$num; i++))   5 do   6 echo "$i"   7 done   8&

admin 2021-08-03 22:13:05 1351
shell登录相关

shell登录相关

 Linux修改用户组 分类: Linux/嵌入式 2010-11-30 21:22 8354人阅读 评论(0) 收藏 举报 linux  usermod -g group loginname 强行设置某个用户所在组  usermod -G groups loginname 把某个用户改为 group(s)  usermod -a -G gro

admin 2021-08-03 22:12:59 1292
shell学习一

shell学习一

 vim shell.txt 1 大家好 4 我是搞程序的 5  6  7 就是程序猿 8  9 好了 10    1、如何在vim中删除空行 :g/^$/d   2、删除所有空白行(^是行的开始,\s*是零个或者多个空白字符;$是行尾) :g/^\s*$/d   3、cat显示文件内容

admin 2021-08-03 22:12:58 1509
shell学习二

shell学习二

vim学习 vim在当前行添加下一行,按o即可   1 set nu 设置行号   2 syn on 打开语法   3 set encoding=utf-8 设置编码   4 set autoindent 自动对齐   5 set incsearch 查找时很方便,不需要回车   6 set smartindent 智能对齐

admin 2021-08-03 22:12:56 1443
php shell

php shell

phpshell root@yansy:/media/D///C+案例# cat 1.html|grep -nHo --color 'img_5'|wc -l 2 root@yansy:/media/D///C+案例# cat 1.html| sed -n '/<\/span>\/5/p'     &nb

admin 2021-08-03 22:12:54 1232
实用shell脚本

实用shell脚本

 显示经常用的前10的shell命令   1 #!/bin/bash    2 cat ~/.bash_history |awk '{list[$1]++;}\   3 END{   4 for(i in list)   5 {   6 printf("%s\t%d\n",i,list[i]);} &

admin 2021-08-03 22:12:53 1232
shell图形界面编程菜单

shell图形界面编程菜单

 #sudo apt-get install dialog #http://www.freeos.com/guides/lsst/ #!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek G. Gite <vivek@nixcraft.com>

admin 2021-08-03 22:12:51 1761
shell文件行单词字符操作统计

shell文件行单词字符操作统计

cat /tmp/test/file.txt hello the world god is a girl 大家好 pi@bananapi ~/shell $ cat filewhile.sh #!/bin/bash while read line; do echo $line done < <(find . -typ

admin 2021-08-03 22:12:40 1417
shell监控

shell监控

监控命令的输出 [yansy@06_09 test]$ watch 'ls -alrht' [yansy@06_09 test]$ watch -d 'ls -alrht'  对文件及目录访问进行记录 inotify vim watchdir.sh #!/bin/bash path=$1 inotifywait -m -r -e create,move,delete $p

admin 2021-08-03 22:12:34 1400
shell相关统计

shell相关统计

 统计一句话每个字母出现的频率 root@yansy:/home/yansy#output=`echo "asdfaadfs"|sed 's/[^\n]/&\n/g'|sed '/^$/d'|sort|uniq -c |tr -d '\n'` root@yansy:/home/yansy# echo $output3 a 2 d 2 f 2 s tr

admin 2021-08-03 22:12:31 1320
shell数组

shell数组

linux shell 关联数组 hash http://blog.csdn.net/ysdaniel/article/details/7909824 [root@web]# cat exe.sh  #!/bin/bash #echo $1 if [ ! -n "$1" ] ;then echo "请输入路径,如[ 20170711/huayan

admin 2021-08-03 22:12:30 1688
shell操作mysql

shell操作mysql

root@localhost ~ # mysql -uroot -p -h127.0.0.1 test Enter password: Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 22123 Server version: 5.1.60-log S

admin 2021-08-03 22:12:19 1313
shell中特殊符号

shell中特殊符号

root@yansy:/home/yansy/shell# time=`uptime` root@yansy:/home/yansy/shell# echo $time 22:07:03 up 1:02, 2 users, load average: 1.08, 0.98, 0.97 root@yansy:/home/yansy/shell# time=$(uptime) root@yan

admin 2021-08-03 22:12:18 1167
shell命令安装flash

shell命令安装flash

 转phpcj.org [yansy@www ~]$ vim flashinstall #!/bin/sh mkdir flashtmp cd flashtmp wget http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz ta

admin 2021-07-16 17:07:30 1507
shell自动补充

shell自动补充

新添加的账号不支持自动补全 vim /etc/passwd 找到新添加的账号所在的行,将里面的sh改成bash即可

admin 2021-07-14 18:23:26 1481
centos安装web网页版shell终端

centos安装web网页版shell终端

一个偶然知道可以linux服务器上安装一个软件 这样就可以直接打开浏览器来访问服务器了 非常方便 以下步骤 ``` yum install shellinabox ``` 然后修改配置文件 ``` [root@iZbp1fna7ky0qz2jbj7gfpZ image]# cat /etc/sysconfig/she

admin 2021-04-27 22:32:37 1210
shell批量杀死正在运行的进程

shell批量杀死正在运行的进程

由于种种原因,我们生成了很多相同的进程 这个时候如何快速的杀死这些进程呢 我们可以通以下命令来删除 >ps aux|grep 进程名|awk '{print $2}' | xargs kill -9

admin 2021-04-16 23:42:22 1072
shell判断脚本是否运行

shell判断脚本是否运行

判断`nginx`是否运行 ``` #!/bin/bash name='nginx' num=$(ps -ef|grep $name |grep -vc grep) if [ $num -ge 1 ]; then echo "$name is running!" else echo "$name is not running!

admin 2021-04-13 15:22:39 1375
shell利用ImageMagick命令行给图片加文字水印

shell利用ImageMagick命令行给图片加文字水印

我们在上一篇文章 [shell利用ImageMagick命令行给图片加图片水印 ](https://www.yuanchengzhushou.cn/article/8146.html) 已经知道如何给图片添加图片水印了 今天我们教大家如何给图片加文字水印 先看效果 ![](https://www.yuanchengzhushou.cn/

admin 2021-03-06 00:48:59 1852
shell利用ImageMagick命令行给图片加图片水印

shell利用ImageMagick命令行给图片加图片水印

之前在不知道有这一强大的命令的时候 对图片的水印及缩放要通过编程的方式来实现,有点麻烦 虽然现在有强大的`laravel`框架,只需要通过`composer require intervention/image`来安装一个扩展即可 但是如果有更好的方法岂不是更好 这就是今天要讲的`ImageMagick`的`convert`命令

admin 2021-03-06 00:36:25 1529
终端shell快速移动到行首行尾

终端shell快速移动到行首行尾

ctrl +a 快速移动到行首 ctrl + e 快速移动到行尾 esc + f 向前移动一个单词 esc +b 向退移动一个单词 ctrl + k 删除从当前光标到行尾的所有单词 ctrl + w 删除当前单词 ctrl + d 删除一个字母 ctrl + _ 撤销 ctrl + y 复制

admin 2021-03-06 00:06:04 1874
shell进入vi模式

shell进入vi模式

在command line中我们也可以像vim操作一样, 我们只需要一下即可,这样对于熟悉vim的朋友非常方便 >set -o vi 即可像在vim中一样方便快捷的移动及各种文本操作 我们可以通过 >set -o 查看 >root@MacBook-Air:/Users/yansy# set -o |grep -E '

admin 2021-03-05 23:50:19 1305
shell读取文件的内容作为命令执行

shell读取文件的内容作为命令执行

我经常会将常用的命令写在一个记事本中 这样想执行时,可以方便的操作 比如 `cat shell.txt` >pwd date ls 这个时候该如何执行shell.txt的内容呢 比如想执行date ``` root@orangepipc:~# eval `cat 1.txt|sed -n '2p'` 或 r

admin 2021-03-05 23:16:18 1549
shell删除文件中的空行

shell删除文件中的空行

我们可能经常需要进行一种操作 那就是删除一个文件中的所有行 以下可以轻松实现: ``` yansy@ubuntu:~/Public$ sed /^$/d file.txt yansy@ubuntu:~/Public$ sed /^[[:space:]]*$/d file.txt ```

admin 2021-02-07 23:28:16 1319
用shell命令curl模拟简单的压力测试

用shell命令curl模拟简单的压力测试

我们知道apache中的ab测试可以进行一定的压力测试 有没有别的方式呢 我们可以通过curl来模拟并发 见代码 ``` for i in {1..50}; do curl http://www.test.com/my_service & done [root@web_dev yansiyu]# cat concurren

admin 2021-02-07 23:16:44 2737
linux中shell取昨天明天日期

linux中shell取昨天明天日期

shell中日期操作 [yansy@06_09 ~]$ date Sat May 25 00:32:45 CST 2013 [yansy@06_09 ~]$ date +%s 1369413179 ``` [yansy@06_09 ~]$ str1=`date +%Y-%m-%d` echo $str1 str2=`date +

admin 2021-01-31 21:39:21 1402
shell取文件名及扩展名后缀示例

shell取文件名及扩展名后缀示例

作为一名服务器运维人员,经常需要用到shell脚本 我们该如何取得文件的文件名及扩展名后缀 以下为示例 ``` yannsy@06_09 test]$ filename="test.txt" [yansy@06_09 test]$ name=${filename%.*} [yansy@06_09 test]$ echo $name

admin 2021-01-23 22:23:55 1541
shell本地执行远程服务器命令

shell本地执行远程服务器命令

Shell中通常将EOF与 ssh root@192.168.2.238 ls /root echo "---" ls /tmp 2、利用管道 `cat shell.sh | ssh root@192.168.2.238` 3、输入重定向 `ssh root@192.168.2.238 'bash -s' < shell.sh`

admin 2020-10-28 14:37:24 1406
shell输出开始与结束日期的所有日期

shell输出开始与结束日期的所有日期

我们在执行一个shell脚本时,有时候需要执行一个时间段的数据 可以通过传开始日期和结束日期,然后输出这个时期段的所有日期 ``` #!/bin/bash if [ $# == 2 ]; then datebeg=$1 dateend=$2 else echo "请输入开始时间和结束日期,格式为2017-04

admin 2020-10-23 22:31:45 2207
图形界面交互式shell脚本对话框----whiptail指令

图形界面交互式shell脚本对话框----whiptail指令

https://www.cnblogs.com/panyouming/p/8511022.html root@pve&nbsp; /root/pvetools $ cat 1.sh&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n

admin 2019-10-22 20:47:13 1076
Web的远程 Terminal 模拟器 Shellinabox

Web的远程 Terminal 模拟器 Shellinabox

https://www.cnblogs.com/shi-qi/articles/9486127.html https://blog.csdn.net/xiaoaiqi/article/details/78644422 Shellinabox 是一个基于 web 的终端模拟器,采用 C 语言编写,使用 Ajax 与后端服务通信。它实现了一个 Webserver,默认监听 42

admin 2019-08-26 11:57:12 1207
shell设置http_proxy

shell设置http_proxy

root@bananapi /home/pi # export http_proxy=http://172.93.36.118:8088 root@bananapi /home/pi # export http_proxy root@bananapi /home/pi # root@bananapi /home/pi # curl https://ip.cn 当前 IP:172.93.36

admin 2017-12-20 21:12:48 880
php执行shell

php执行shell

http://blog.csdn.net/u011078940/article/details/51200606 http://blog.csdn.net/dazhi_100/article/details/46806519 http://www.cnblogs.com/itshark/p/5861827.html

admin 2017-10-13 14:30:18 999
Shell脚本中执行sql语句,操作mysql数据库

Shell脚本中执行sql语句,操作mysql数据库

http://blog.csdn.net/u011630575/article/details/50986835 对于自动化运维,诸如备份恢复之类的,DBA经常需要将SQL语句封装到shell脚本。本文描述了在Linux环境下mysql数据库中,shell脚本下调用sql语句的几种方法,供大家参考。对于脚本输出的结果美化,需要进一步完善和调整。以下为具体的示例及其方法。 个

admin 2017-09-14 18:11:41 1163
 Shell脚本读取mysql结果集各数据项的值

Shell脚本读取mysql结果集各数据项的值

http://blog.csdn.net/u011630575/article/details/52152676 在linux下用shell脚本读取mysql结果集各数据项的值,按行读取sql结果,将sql执行结果读取到shell变量中,然就可进行处理。 HOSTNAME="172.16.xx.xx" &nbsp; &nbsp;#数据库信息 PORT=

admin 2017-09-14 18:02:11 1140
shell并发测试

shell并发测试

http://www.cnblogs.com/lwcoding/p/6596089.html shell curl 实现rest 并发测试 for i in {1..50}; do curl http://10.43.95.26:5812/rdk/service/app/example/server/m

admin 2017-09-11 15:40:00 1231
shell操作mysql增删查

shell操作mysql增删查

http://mingxinglai.com/cn/2013/01/use-mysql-in-shell/ 本文介绍了如何在shell中读写mysql数据库。主要介绍了如何在shell 中连接mysql数据库,如何在shell中创建数据库,创建表,插入csv文件,读取mysql数据库,导出mysql数据库为xml或html文件, 并分析了核心语句。本文介绍的方法适用于Postgr

admin 2017-07-02 12:43:24 925
shell mysql loop csv

shell mysql loop csv

[root@iZbp1fna7ky0qz2jbj7gfpZ ~]# cat mysql.sh #!/bin/bash database="openvpncert" user="root" password="123456" table="certs" mysql -u$user -p$password -D $database&nbsp;--skip-column-names -

admin 2017-07-01 12:56:34 1181
shell命令uniq

shell命令uniq

&nbsp;uniq命令通过消除重复内容,只能用于排过序的数据 cat sorted.txt bash foss&nbsp; hack hack uniq sorted.txt bash foss hack sort unsorted.txt|uniq sort

admin 2017-06-24 22:30:22 1088
shell命令sort

shell命令sort

Sort passwd file by 3rd field. $ sort -t: -k 3n /etc/passwd | more yansydeMacBook-Air:~ yansy$ cat 1 one:2:3 two:2:1 three:3:2 yansydeMacBook-Air:~ yansy$ sort -t: -k 3rn 1 one:2:3

admin 2017-06-24 22:25:25 1171
执行远程主机上面的shell

执行远程主机上面的shell

[root@web shell]# cat checkdisk.sh #!/bin/bash result=`ssh root@10.10.10.20 -p22 "/bin/bash /app/shell/checkdisk.sh"` result=${result/\%/} if [ "$result" -gt "90" ];then echo "磁盘空间不足"; /usr/bin/

admin 2017-06-04 00:11:36 897
 shell中调用redis相关命令

shell中调用redis相关命令

http://blog.chinaunix.net/uid-20776139-id-4868256.html ##场景,研发同事要帮忙提供redis某个库中的所有key和value的对应关系,一个db中 key有好多,手动来肯定会哭的!想到脚本了! shell下查看Reids的db10中所有key和value的对应: [root@redis-200 ~]# c

admin 2017-05-25 21:58:51 1055
Shell判断字符串包含关系的几种方法

Shell判断字符串包含关系的几种方法

http://www.cnblogs.com/ginsonwang/p/5525340.html 现在每次分析网站日志的时候都需要判断百度蜘蛛是不是真实的蜘蛛,nslookup之后需要判断结果中是否包含“baidu”字符串 以下给出一些shell中判断字符串包含的方法,来源程序员问答网站&nbsp;stackoverflow&nbsp;以及segment

admin 2017-05-03 20:10:52 858
将自己编写的shell加入到service

将自己编写的shell加入到service

cat test #!/bin/bash # chkconfig: - 90 10 # description: just a test echo "Hello,$1" mv test /etc/init.d/ chmod +x /etc/init.d/test chkconfig --add test service test start &nbsp; &nbsp; //可

admin 2016-09-21 13:50:06 1017
终极 Shell——ZSH

终极 Shell——ZSH

转:https://zhuanlan.zhihu.com/p/19556676 https://linux.cn/article-5755-1.html shell vim http://www.cnblogs.com/bamanzi/p/zsh-simple-guide.html autojump https://linux.cn/article-53

admin 2016-06-16 14:39:41 1326
如何将Linux Shell程序使用shc编译加密

如何将Linux Shell程序使用shc编译加密

转:http://jingyan.baidu.com/article/95c9d20d9ebc72ec4f756156.html Shell很很常用的程序语言,在管理linux系统的时候非常快捷,而且开发成本极低,效率非常高。但是很多时候我们不希望别人能够直接读取源文件,这样就无法保证程序的秘密性,因此可以将 shell文件编译成C语言

admin 2016-05-06 12:53:23 1110
Linux dialog详解(图形化shell)

Linux dialog详解(图形化shell)

转:http://www.ttlsa.com/linux-command/linux-dialog-shell/ https://github.com/Crabbit/shell/tree/master/src/menu function.sh #!/bin/bash # # Creat Time :Tue 12 Nov 2013 11:54:17 PM G

admin 2015-12-31 14:44:40 1056
shell 中数学计算总结

shell 中数学计算总结

转:http://www.cnblogs.com/liujiahi/archive/2011/03/30/2196400.html shell中的赋值和操作默认都是字符串处理,在此记下shell中进行数学运算的几个特殊方法,以后用到的时候可以来看,呵呵。 &nbsp;&nbsp; 1、错误方法举例 &nbsp;&nbsp; a) &nbsp;&nbsp; va

admin 2015-12-29 09:28:49 1091
shell 编程——for in 循环

shell 编程——for in 循环

转:http://blog.sina.com.cn/s/blog_6151984a0100ekqj.html &nbsp;&nbsp;for in 格式 for&nbsp;无$变量&nbsp;in&nbsp;字符串 do &nbsp;&nbsp;$变量 done 一简单的

admin 2015-12-10 17:19:21 1196
如何知道当前正在使用的shell是哪个?

如何知道当前正在使用的shell是哪个?

转:https://linux.cn/article-6651-1.html 有多种方式可以查看你目前在使用什么 shell,最简单的方法就是通过使用 shell 的特殊参数。 其一,一个名为 "$$" 的特殊参数&nbsp;表示当前你正在运行的 shell 实例的 PID。此参数是只读的,不能被修改。所以,下面的命令也将显示你正在运行的 shell 的名字:

admin 2015-11-27 09:35:31 1058
Shell创建用户并生成随机密码脚本分享

Shell创建用户并生成随机密码脚本分享

转:http://www.jb51.net/article/58875.htm 创建随机数的方法: 复制代码代码如下: 1~~~~ /dev/urandom 在Linux中有一个设备/dev/urandom是用来产生随机数序列的。利用该设备我们可以根据在需要生成随机字符串。 比如我们要产生一个8位的字母和数字混

admin 2015-11-25 14:26:43 1205
shell开发基础:准备100万条测试数据在MYSQL中

shell开发基础:准备100万条测试数据在MYSQL中

转:http://www.cnblogs.com/baochuan/archive/2012/05/27/2517721.html 最近觉得使用shell语言,做一些业务需求,是超爽的事情。——shell魅力等着我们来发现啊。 &nbsp;研究案例:插入100万条记录以便测试使用,主要是想看看索引的威力。&nbsp;

admin 2015-10-26 10:30:42 1193
shell编程中的date用法

shell编程中的date用法

转:http://blog.sina.com.cn/s/blog_61c006ea0100mgxe.html 1、date --help %% 输出%符号 a literal % %a 当前域的星期缩写 locale’s abbreviated weekday name (Sun..Sat) %A 当前域的星期全写 locale’s full wee

admin 2015-04-22 22:26:17 1089
php shell_exec() 命令用法

php shell_exec() 命令用法

转:http://www.php100.com/html/php/lei/2013/0905/5229.html PHP CLI SAPI 允许您开发 PHP 支持的 shell 脚本,甚至是基于桌面的脚本。事实上,可以用PHP命令行运行的工具。采用这种方式,PHP 开发人员可以像 Perl、AWK、Ruby 或 shell 程序员一样高效。本文探究构建到 PHP 中的工

admin 2015-03-30 23:16:25 1382
shell执行php

shell执行php

转:http://www.qttc.net/201303288.html 通常PHP都做http方式请求了,可以使用GET or POST方式接收参数,有些时候需要在shell命令下把PHP当作脚本执行,比如定时任务。这就涉及到在shell命令下如何给php传参的问题,通常有三种方式传参。 一、使用$argv or $argc参数接收

admin 2014-07-23 12:34:00 1218
shell压缩javascript

shell压缩javascript

javascript瘦身,压缩js文件 1、移除换行符与制表符 2、压缩空格 3、替换注释/*内容*/ 4、替换下列内容 "{ &nbsp;"替换为"{" " &nbsp;}"替换为"}" " &nbsp; ("替换为")" ") &nbsp;"替换为")" ", &nbsp;"替换为

admin 2014-05-17 13:40:31 1238
shell 字符串截取实例

shell 字符串截取实例

&#160;转:http://www.netingcn.com/shell-cut-string.html shell中截取字符串的方法有很多中,可以分为两大类。第一种获取特定的字符或字符串的左边或者右边的字字符串,java中实现需要先用indexOf来确定特定字符串的位置,然后再用substring来获取结果;第二种类似java中的substring。 第一种又可以分为四种情况,下面一一介绍

admin 2014-04-24 14:38:38 1381
php执行shell

php执行shell

phpshell http://www.jb51.net/article/19618.htm PHP作为一种服务器端的脚本语言,象编写简单,或者是复杂的动态网页这样的任务,它完全能够胜任。但事情不总是如此,有时为了实现某个功能,必须借助于操作系统的外部程序(或者称之为命令),这样可以做到事半功倍。 区别: system() 输出并返回最后一行shell结果。 ex

admin 2014-01-16 11:21:49 7704
shell中curl的使用

shell中curl的使用

&nbsp;http://blog.sina.com.cn/s/blog_6c963df701019fbb.html curl -I url 取得url的头部信息 curl -I url -s | grep "200 OK" 判断页面是否可以打开的 curl url -d "username=yansy&amp;age

admin 2013-12-23 22:43:09 1678
shell字符串的截取

shell字符串的截取

&#160;shell字符串的截取的问题: 转:http://www.cnblogs.com/ace9/archive/2012/08/31/2664920.html 一、Linux shell 截取字符变量的前8位,有方法如下:   1.expr substr “$a” 1 8   2.echo $a|awk ‘{print substr(,1,8)}’   3.echo $a|c

admin 2013-12-17 19:24:48 1879
shell转换与替换

shell转换与替换

#!/bin/sh #---------------------------------------------------------- # [:upper:] [ A - Z ] # [:lower:] [ a - z ] # [:digit:] [ 0 - 9 ] # [:alnum:] [ 0 - 9 a - z A-Z] # [:space:] 空格或t a b键

admin 2013-12-15 01:09:18 1285
我的常用shell

我的常用shell

https://www.cnblogs.com/emanlee/p/3620785.html 双引号: awk '{print "\""}' &nbsp; &nbsp; &nbsp; &nbsp;#放大:awk '{print " &nbsp;\" &nbsp;"}' 使用“”双引号把一个双引号括起来,然后用转义字符\对双引号进行转义,输出双引号。 单引号: awk '{print

admin 2013-12-08 19:19:05 5769
shell中if语句

shell中if语句

read first echo "$first" echo $? if [ $first = 'hello' ] &#160;&#160; &#160;then &#160;&#160; &#160;echo "right" &#160;&#160; &#160;else &#160;&#160; &#160;echo "error" fi if test $first='hel

admin 2013-12-08 17:48:02 1121
shell中参数与grep

shell中参数与grep

#!/bin/bash echo "共"$#"参数" echo "脚本名称"$0 echo "所有的参数"$* echo "参数1"$1 echo "参数2"$2 #循环显示所有的参数 for i in $* &#160;&#160;&#160; do &#160;&#160;&#160; &#160;&#160;&#160; echo $i &#160;&#160;&#160

admin 2013-12-08 17:46:34 1350
Shell输入与输出

Shell输入与输出

转:http://blog.163.com/q_yxian/blog/static/67688528201152911513733/ echo 可以显示文本行或变量,或者把字符串输入到文件 格式:echo string 功能: \c:不换行 \f:进纸 \t:跳格 \n:换行 [Linu

admin 2013-12-08 17:44:53 1232
shell操作mongodb

shell操作mongodb

转:http://www.2cto.com/database/201210/159130.html 首先要启动MongoDB shell工具,即bin下的mongo.exe &nbsp; 常用shell命令如下: &nbsp; 1、查询本地所有数据库名称 &nbsp; &gt; show dbs; 2、切换

admin 2013-12-08 08:00:01 1209
shell mongodb

shell mongodb

1、启动mongodb root@yansy:~#/home/yansy/mongodb/bin/mongod --dbpath=/usr/local/mongodb/mongodb_data/ --logpath=/usr/local/mongodb/mongodb_log/mongodb.log --logappend &amp; 2、进入

admin 2013-12-08 08:00:01 1318
shell界面编程对话框

shell界面编程对话框

&#160;#sudo apt-get install dialog #http://www.freeos.com/guides/lsst/ dialog --title "Linux Dialog Utility Infobox" --backtitle "Linux Shell Script\ Tutorial" --infobox "This is dialog box called

admin 2013-12-07 20:26:59 1194

作品分享

查看更多
响应式橙色大气html5企业网站模板GJ-qiye(YzmCMS整站版) 企业模板

响应式橙色大气html5企业网站模板GJ-qiye(YzmCMS整站版)

响应式橙色大气html5企业网站模板GJ-qiye(YzmCMS整站版),自适应PC端、ipad、手机端,...

阅读:6091 | 发布时间:2020-02-01
响应式HTML5黑白系个人网站主题GJ-blog1.0清爽版 博客模板

响应式HTML5黑白系个人网站主题GJ-blog1.0清爽版

响应式HTML5黑白系个人模板主题GJ-blog1.0清爽版,自适应ipad、手机端,主题代码结构简洁...

阅读:6783 | 发布时间:2020-01-21

站内搜索

最新更新

nginx切割日志

2024-04-27 06:50:44 987

关于618空调安装避坑

2024-04-27 06:50:08 1110

ubuntu添加右键terminal及脚本

2024-04-27 06:49:45 1323

用js取得php生成的cookie

2024-04-27 06:48:59 1420

点击排行

dsm群晖用命令重启服务

2021-02-25 23:08:12 15435

关于pikpak网盘的网页版

2022-04-23 23:32:33 11227

vim查找多个文件及替换

2021-07-26 23:27:58 8415

dsm群晖添加第三方源社群

2021-02-27 22:34:18 8237

php执行shell

2014-01-16 11:21:49 7704