码迷,mamicode.com
首页 >  
搜索关键字:bash 端口检测    ( 15273个结果
Android开发杂记(一)
1、cygwin环境变量设置可在Cygwin.bat 中设置set NDK_ROOT=P:/android/android-ndk-r8e或者在home\Administrator\.bash_profile中设置NDK_ROOT=/cygdrive/p/android/android-ndk-r8...
分类:移动开发   时间:2014-06-26 22:51:13    阅读次数:389
a little riak book
a little riak book 的无聊总结 #!/bin/bash # Riak HTTP interface stays true to their intent: 1xx Informational, 2xx Success, # 3xx Further Action, 4xx Client Error, 5xx Server Error ### put PORT=10...
分类:其他好文   时间:2014-06-25 08:22:11    阅读次数:178
linux 脚本测试网络速度
example: ./netspeed eth0   1 #!/bin/bash   2   3 INTERVAL="1"  # update interval in seconds   4   5 if [ -z "$1" ]; then   6 echo   7 echo usage: $0 [network-interface]   8 echo   9 echo ...
分类:系统相关   时间:2014-06-25 07:24:00    阅读次数:213
CentOS 6.5初始化优化脚本
#!/bin/bash echo"这个是系统初始化脚本,请慎重运行!" input_fun() { OUTPUT_VAR=$1 INPUT_VAR="" while[-z$INPUT_VAR];do read-p"$OUTPUT_VAR"INPUT_VAR done echo$INPUT_VAR } input_again() { MYHOSTNAME=$(input_fun"pleaseinputthehostname:") DOMAINNAME=$(input_fun"p..
分类:其他好文   时间:2014-06-25 06:16:37    阅读次数:345
编译 gstreamer的相关组件
1 #!/bin/bash 2 3 # Create a log file of the build as well as displaying the build on the tty as it runs 4 exec > >(tee build_gstreamer.log) 5 exe...
分类:其他好文   时间:2014-06-25 00:44:22    阅读次数:324
Linux VM环境配置
1. 直接打 ifconfig ,显示 bash: ifconfig: command not found      打入全路径,查看IP     /sbin/ifconfig  2. 主机ping不通虚拟机, 配置NAT 到适配器设置中,开启网卡 再次 ping 虚拟机IP 测试 3.  接下来设置 SecureCRTPortable, 这样的话,就能从...
分类:系统相关   时间:2014-06-25 00:10:08    阅读次数:338
Linux01-BASH脚本编程之系统裁剪51
上接(BASH脚本编程之拷贝系统库文件50)重新编辑grub为静默模式:1.vim/mnt/boot/grub/grub.confdefault=0timeout=3titleNickLinux(2.6.18)kernel/vmlinuzroroot/dev/hda2quietinitrd/initrd.gz如何实现终端提示信息:2.复制宿主机文件:cp/etc/issue/mnt/sysroot/etc/3.重新编..
分类:系统相关   时间:2014-06-24 16:46:22    阅读次数:341
svn 钩子脚本
#vimpost-commit#!/bin/bash REPOS="$1" REV="$2" SVNLOOK="/usr/bin/svnlook" echo"`date+%F`">>/tmp/post.log echo"REPOS=$1REV=$2">>/tmp/post.log echo-e"\$@=$@#">>/tmp/post.log echo-e"`date+%F`end\n">>/tmp/post.log $SVNLOOKchanged"$REPOS..
分类:其他好文   时间:2014-06-24 16:38:56    阅读次数:282
nagios 监控 网卡流量 脚本
#!/bin/bash # #Time:2014-06-23 #Author:ftlynx #Function:useNET-SNMPgetNICtrafficonnagios. Usage(){ echo"Usage:check_traffic.sh[options]" echo" -H HostIP." echo" -P net-snmpcommunitystring." echo" -N NICName." echo" -W nagioswarningvalue.Format:200,300..
分类:移动开发   时间:2014-06-24 16:10:35    阅读次数:224
shell简介
1、shell的工作原理        其实当一个用户以命令行方式登录Linux系统之后,即就进入了shell应用程序。例如:以dog用户使用telnet登录Linux系统之后,就会进入shell的控制。从此时起shell就随时恭候,等待你的差遣(即等你输入命令)并为你保质保量的提供服务(执行输入的命令)。如果你是以图形界面登录,当开启一个终端窗口后也将进入shell应用程序的控制。跟开启的do...
分类:其他好文   时间:2014-06-24 15:45:59    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!