码迷,mamicode.com
首页 >  
搜索关键字:系统目录 ls which alias    ( 20237个结果
05 引用-引号
引号的特殊效果就是, 保护字符串中特殊字符不被shell或者shell脚本重新解释或扩展(这里所说的”特殊”指的是一些字符在shell中具有特殊意义, 例如*)ls –l [vV]"*ls –l ‘[vV]*’我们使用引号来引用一个字符串, 目的是保护它的字面含义.特定的工具或程序可以重新解释在引号...
分类:其他好文   时间:2014-05-12 16:20:58    阅读次数:235
[leetcode] Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-06 00:51:29    阅读次数:353
Leetcode | Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:其他好文   时间:2014-05-05 23:55:36    阅读次数:407
文件操作1创建文件
1.[root@rusky ]# vi list #如果testfile不存在,则vi会自动创建一个名为testfile的文件,并在Vi打开该文件等待用户输入内容。2.[root@rusky ]# ls -l >listfile #利用重定向,将ls -l 的执行结果输出到新文件listfile.....
分类:其他好文   时间:2014-05-05 23:21:35    阅读次数:381
Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl...
分类:其他好文   时间:2014-05-05 22:19:17    阅读次数:312
uva 11294
Problem E: WeddingUp to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom s...
分类:其他好文   时间:2014-05-05 22:10:59    阅读次数:373
codechef Sums in a Triangle题解
Let's consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, three in the third line, etc. Develop a program which will compute the largest ...
分类:其他好文   时间:2014-05-03 17:32:22    阅读次数:284
linux ls -l 详解[转]
linux ls -l 详解[转]有几个字段老是记不住,就记载这里吧ls -l 列表信息详解我们平时用ls -l 命令查看一个目录下的文件和子目录的详悉信息时,会得到一个详细的文件和目录名列表.这个列表包含了文件的属性,所属用户,所属组,创建时间,文件大小等等信息.这些信息到底是什么意思呢?有很多初...
分类:系统相关   时间:2014-05-02 17:57:16    阅读次数:558
CentOS目录结构
/:根目录,一般根目录下只存放目录,不要存放文件/bin:可执行二进制文件的目录,如常用的命令ls、tar、mv、cat等/boot:放置linux系统启动时用到的一些文件/dev:存放linux系统下的设备文件,如挂载光驱:mount /dev/cdrom /mnt/etc:系统配置文件存放的目录...
分类:其他好文   时间:2014-05-02 15:29:52    阅读次数:503
UVA 之10010 - Where's Waldorf?
Where's Waldorf?  Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:其他好文   时间:2014-05-02 10:59:15    阅读次数:514
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!