bandit: cat特殊字符文件名 - cat ./- 空格 cat "abc def" or cat abc\ def 列出隐藏文件:ll du -ab 递归列出文件大小,以字节为单位 find -group bandit6 -user bandit7 -size 33c #owned by u...
分类:
其他好文 时间:
2015-07-30 18:56:07
阅读次数:
144
做法是求逆拓扑序中字典序最大的将其反转则得到答案,粗略理解为对于每个数,把能把比大的能够放在他右边的都放在了右边,所以答案最优。留坑在此数据太水第一次du没清零都过了? 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include...
分类:
其他好文 时间:
2015-07-29 22:52:20
阅读次数:
127
Given a collection of integers that might contain duplicates, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain du...
分类:
其他好文 时间:
2015-07-28 23:09:23
阅读次数:
131
从源代码编译 Mono 2.11.4
基本步骤如下所示:
~$ cd repo
repo$ wget http://download.mono-project.com/sources/mono/mono-2.11.4.tar.bz2
repo$ tar xjf mono-2.11.4.tar.bz2
repo$ du -hs mono-2.11.4*
438M mono-2.11.4
40...
分类:
系统相关 时间:
2015-07-28 08:02:50
阅读次数:
238
du-sh1.txtdu计算文件的大小,目录则取总大校df-h查看当前分区挂载信息ln-s/tmp1.txt/boot/2.txt在/boot下创建2.txt软链接,指向/tmp下的1.txt软链接可以针对文件和目录。制作过程中,最好用绝对路径,不容易出错。另外,软链接可以跨分区。ln/tmp1.txt/root/2.txt在/root下创..
分类:
其他好文 时间:
2015-07-27 16:44:49
阅读次数:
106
du/etc列出/etc下所有目录的大小,单位是k(默认只看目录)最后一行是/etc目录的总大小du-h/etc自动换算单位k,m,g-m以M为单位-s查看指定的文件或目录大小,而不显示子目录的大小查看文件的大小,需要加上文件的详细路径du-h/etc/passwddu和ls-l查看的文件大小有差异。du-b和ls-..
分类:
其他好文 时间:
2015-07-27 16:40:34
阅读次数:
100
百度外卖“附近的餐厅”展示的是一个 N 行 4 列的网格,里面放的原本都是占 1 行 1 列的正方餐厅广告,新来的设计师du熊同学正在考虑一种新的设计方案,来更好的展示附近的餐厅。
作为设计师的du熊希望在 N 行 4 列的网格里先行放入若干占 1 行 1 列的正方餐厅广告,使得剩下来的空间,可以被占 1 行 2 列或 2 行 1 列的长条餐厅广告完美覆盖。du熊希望让你帮他确定,到底有多少种放置...
分类:
其他好文 时间:
2015-07-26 14:15:16
阅读次数:
342
Given a collection of integers that might contain duplicates, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain du...
分类:
其他好文 时间:
2015-07-25 10:43:06
阅读次数:
113
题意:n个人m条边(n#include#includeusing namespace std;int T,n,m;int s[5050],t[5050];int on[5050],off[5050];int du[5050],ans,cnt;void dfs(int x){ if(x==m+1...
分类:
其他好文 时间:
2015-07-24 12:22:48
阅读次数:
104
1. 简介du查看目录大小,df查看磁盘使用情况。2. dudisk usage
(1)基本功能
递归查看文件夹下所有文件的大小
(2)常用参数:
-h, –human-readable 以可读性较好的方式显示尺寸(例如:1K 234M 2G)
-s, –summarize 只分别计算命令列中每个参数所占的总用量
(3)其它参数说明:
-a, –all 输出所有文件的磁盘用量,...
分类:
系统相关 时间:
2015-07-22 18:41:44
阅读次数:
352