1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;[root@Client~]#cp/etc/rc.d/rc.sysinit/tmp/
[root@Client~]#sed‘s@^[[:space:]]\+@#&@‘/tmp/rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/..
分类:
其他好文 时间:
2016-09-10 22:27:40
阅读次数:
244
第六周作业1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;[root@STCO6tmp]#cp/etc/rc.d/rc.sysinit/tmp
[root@STCO6tmp]#sed-i‘s@^[[:space:]]\+@#&@‘rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,..
分类:
其他好文 时间:
2016-09-10 14:48:59
阅读次数:
213
题目: Determine whether an integer is a palindrome. Do this without extra space. 简单题。看到两个比较好的解法,一个是把数字转化为字符串,然后首尾对比,往中间靠。另一种是数字分别从两头求和(保留位数:*10 + 余数),如果 ...
分类:
其他好文 时间:
2016-09-10 11:37:32
阅读次数:
108
之前开始学习时就在安卓巴士那边记录学习笔记,但是最近由于未知原因,安卓巴士不能发表文章了。又偶然得知博客园,所以以后在这里记录学习的一切。 之前的链接: http://www.apkbus.com/home.php?mod=space&uid=833059&do=blog&view=me&from= ...
分类:
编程语言 时间:
2016-09-10 10:14:29
阅读次数:
201
#!/bin/bash#Big_User - find big disk space users in various direcotries#Parameters for Script#CHECK_DIRECTORIES="/var/log /home" #direcotries to check ...
分类:
其他好文 时间:
2016-09-09 18:18:02
阅读次数:
129
转来的,原文及作者:http://bbs.pinggu.org/home.php?mod=space&uid=1683981,分享给大家 入手:“企业、行业和产业”,或者从生产流程角度,把一个个环节剥离出来,然后一个行业包括哪些就很明显了。 其中名词解释:行业和市场 行业指产出相同类型或高度可替代性 ...
分类:
其他好文 时间:
2016-09-09 15:10:46
阅读次数:
160
58. Length of Last Word Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the ...
分类:
其他好文 时间:
2016-09-09 12:03:37
阅读次数:
111
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;复制
[root@localhost~]#cp-av/etc/rc.d/rc.sysinit/tmp/
"/etc/rc.d/rc.sysinit"->"/tmp/rc.sysinit"
查看
[root@localhost~]#sed-n‘/^[[:space:]]\+/p‘/tmp/..
分类:
其他好文 时间:
2016-09-09 10:28:18
阅读次数:
247
Given a singly linked list, determine if it is a palindrome. Follow up:Could you do it in O(n) time and O(1) space? if use space O(1), we need to use ...
分类:
其他好文 时间:
2016-09-08 23:18:35
阅读次数:
181
本文转载自:http://blog.csdn.net/dlutbrucezhang/article/details/9058583 在多任务操作系统中的每一个进程都运行在一个属于它自己的内存沙盘中。这个沙盘就是虚拟地址空间(virtual address space),在32位模式下它总是一个4GB ...
分类:
系统相关 时间:
2016-09-08 22:59:24
阅读次数:
273