码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
记录bsh for scp 发布文件用法
for ip in 102 103 104 111 112 113 114 115 116 121 122; do sudo scp /etc/sudoers root@192.168.5.$ip:/etc/sudoers ;done
分类:其他好文   时间:2014-07-16 23:04:33    阅读次数:169
shell脚本解析8(练习2)-----文件个数统计
#!/bin/bashcounter=0#变量files遍历一遍当前文件夹for files in *do#判断files是否为文件,如果是,counter变量值加1,再赋值给自己。 if [-f"$files"] then counter=`expr $counter + 1` fido...
分类:其他好文   时间:2014-07-16 23:04:28    阅读次数:167
shell脚本解析9(练习3)------倒序输出
#!/bin/bash#提示用户输入echo -n "Please enter number"read n #读入输入的值放到变量n中sd=0rev=""on=$n #将变量n的值保存到变量on中,方便以后用到echo "You put number is $n"while [$n -gt 0]do...
分类:其他好文   时间:2014-07-16 23:03:53    阅读次数:261
Could not open Selected VM debug port (8700)
在运行项目的时候,eclipse弹出提示框“Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.” 在终端输入:netstat -ano ...
分类:其他好文   时间:2014-07-10 23:03:07    阅读次数:432
UVA - 817 According to Bartjens
Description  According to Bartjens  The wide dissemination of calculators and computers has itsdisadvantages. Even students in technical disciplinestend to exhibit a surprising...
分类:其他好文   时间:2014-07-10 22:38:48    阅读次数:376
Linux for循环执行命令注意事项
如果for循环命令中带有一些符号,需要用()括起来。 for i in {1..4}; do (python /data/UGCRobot/manage/Scheduler.py 1.log > /dev/null 2>&1 &); done...
分类:系统相关   时间:2014-07-10 22:30:56    阅读次数:387
LeetCode——Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it t...
分类:其他好文   时间:2014-07-10 20:43:37    阅读次数:210
UVA - 471 Magic Numbers
Description  Magic Numbers  Write a program that finds and displays all pairs ofintegers and such that: neither nor have any digits repeated; and , where N is a given i...
分类:其他好文   时间:2014-07-10 20:10:06    阅读次数:238
倒计时
second=10echo-en"\n****倒计时$second秒开始****\t\t"foriin$(seq$second-11)do#echo-ne"\033[s"#echo-ne"\033[1;31m$i\033[0m"#sleep1#echo-ne"\033[u"echo-ne"\033[1;31m\b\b\b$i\033[0m"sleep1done
分类:其他好文   时间:2014-07-10 18:39:01    阅读次数:233
POJ 3278: Catch That Cow
Catch That Cow Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 44613   Accepted: 13946 Description Farmer John has been informed of the location of a fugit...
分类:其他好文   时间:2014-07-10 17:30:26    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!