码迷,mamicode.com
首页 >  
搜索关键字:shell find    ( 51950个结果
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-05-10 01:09:28    阅读次数:325
Leetcode | Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
分类:其他好文   时间:2014-05-09 19:09:35    阅读次数:318
Linux rescue
适用场景: 当误操作修改系统启动文件/etc/fstab, /etc/rc.d/rc.sysinit时,就会造成系统启动时读取磁盘或初始化环境失败,导致linux无法正常启动,此时就可以借助Linux的救援模式临时进入系统,进行文件修改,纠正错误救援(rescue)模式的本质: 只是一个带shell...
分类:系统相关   时间:2014-05-09 18:39:28    阅读次数:408
su命令2
震数据处理软件-SU 之使用方法第一章帮助工具1. suhelp 显示可执行的程序和Shell脚本。2. suname 列出SU中各项命令的名字和简短描述,以及编码的地址。3. sudoc 得到编码的DOC列表,列出SU中各条目的在线文档。4. sufind 在自述文档...
分类:其他好文   时间:2014-05-09 12:17:18    阅读次数:486
如何不花钱就能找到乐子
How to Find Happiness Without Buying It如何不花钱就能找到乐子Our materialistic society has led us to believe that happiness cannot be obtained without having mon...
分类:其他好文   时间:2014-05-09 11:57:25    阅读次数:363
LeetCode: Triangle 题解
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-08 21:08:25    阅读次数:407
把ps -ef & kill指令写成可以自动执行的shell脚本
之前重启服务器上的服务,均是先使用ps -ef | grep xxx指令查询出PID,然后再使用kill -9 PID指令杀死进程。由于重启的服务只止一个,每次都要重复输入,甚是麻烦。示例今天研究了一下,把以上手动查杀、重启服务的过程写成了shell脚本,重启服务只需执行脚本就可以了。附脚本样例: ...
分类:其他好文   时间:2014-05-07 20:18:02    阅读次数:461
linux shell 命令学习(5) xxd- make a hexdump or do the reverse.
对于标准输入或者给定的文件,显示其16进制的内容。也可以反过来进行转换。 xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] 如果没有...
分类:系统相关   时间:2014-05-07 19:59:25    阅读次数:490
shell脚本练习题(更新中...)
练习题(这里贴的是自己写的代码, 网上给的题目代码我会附加在最下面)1.编写shell脚本,计算1-100的和; 1 #!/bin/bash 2 #caculate the sum of numbers from 1 to 100 3 4 sum=0 5 for i in `seq 1 100`;....
分类:其他好文   时间:2014-05-07 19:34:54    阅读次数:305
WP 前台或后台显示ShellToast
using Microsoft.Phone.Shell;ShellToast toast = new ShellToast();toast.Title = "程序标题"; toast.Content = "内容"; toast.NavigationUri = new Uri("...
分类:其他好文   时间:2014-05-07 19:29:04    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!