实验01:YUM配置实验目标通过yum配置安装gcc实验步骤1、挂载光盘2、安装RHEL5.9的图形环境[root@localhostmedia]#ls/misc/cdClusterRELEASE-NOTES-U9-as.htmlRELEASE-NOTES-es.htmlClusterStorageRELEASE-NOTES-U9-bn.htmlRELEASE-NOTES-fr.htmlEULARELEASE-NOTES-U9-de.htmlRE..
分类:
其他好文 时间:
2014-08-30 02:27:29
阅读次数:
214
alias默认是无法添加参数的,要想添加参数,只能定义一个函数来调用,示例如下:aliastcstart=‘new(){/root/bin/tc-single-start"$1";/root/bin/tclog"$1";};new‘其中注意:{/root/bin/tc-single-start之间要有空格"$1";}之间要有分号。
分类:
其他好文 时间:
2014-08-29 18:29:58
阅读次数:
384
现象: shell脚本中source aaa.sh时提示 source: not found原因: ls -l `which sh` 提示/bin/sh -> dash这说明是用dash来进行解析的。改回方法: 命令行执行:sudo dpkg-reconfigure dash在界面中选择no再ls ...
分类:
其他好文 时间:
2014-08-29 14:32:37
阅读次数:
239
li_column1 = GetColumn()ls_columnname = GetColumnName()Send(Handle(This),256,9,Long(0,0))ll_row2 = GetRow()li_column2 = GetColumn()//如果Column有变,说明还没到最...
一、#wc:printthenumberofnewlines,words,andbytesinfileswc[option][file]-l:统计行-c:统计字节数-w:统计单词数如:a、统计当前系统有多少用户:wc-l/etc/passwdb、统计/bin下的文件数:ls-l/bin|wc-lc、统计/etc目录下以P或者p开头的文件个数:ls-d/etc/[Pp]*|wc-l二、#tr..
分类:
其他好文 时间:
2014-08-29 11:12:08
阅读次数:
211
setuid位是可执行文件的一个属性,ls -l /bin/ping 或mount等可以看到权限为-rwsr-xr-x 1 root root 含有s位,所属用户为root表明该文件可以被其他用户以该文件所属用户的权限去执行。因此root用户设置s位后普通用户可以执行。ping需要root权限是因为...
分类:
其他好文 时间:
2014-08-29 10:52:49
阅读次数:
166
前提:将数据窗口的下tab键用回车键取代。// event editchangeddatawindowchild ldw_tempString ls_filterLong ll_startIf dwo.Name = 'syjsf02' Then This.GetChild('syjsf0...
分类:
其他好文 时间:
2014-08-29 10:38:37
阅读次数:
179
实验01:访问光盘数据实验目标熟练linux光盘的安装访问光盘的数据实验步骤[root@localhost~]#umount/dev/cdrom[root@localhost~]#ls/media/[root@localhost~]#二.手动挂载1.指定光盘安装位置[root@localhost~]#mount/dev/cdrom/media/mount:blockdevice/dev/cdromiswrite-prot..
分类:
系统相关 时间:
2014-08-29 02:58:27
阅读次数:
299
谁都有主见,这样势必会造成项目进行中出现问题。这话太武断了。lz你居然认为团队中的成员谁都有主见会坏事儿。看了ls们的回答,我想换个角度回答这个问题。1.人人都有主见,就看这些主见的方向是否偏差过大。会出现这种主见分歧,那么就从多方面考虑:比如,你们的项目目标,是否过大或方向模糊?比如,是否有一个站...
分类:
其他好文 时间:
2014-08-28 22:40:26
阅读次数:
221
//#pragma comment(linker, "/STACK:102400000,102400000")
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ls(rt) rt*2
#de...
分类:
其他好文 时间:
2014-08-28 19:51:45
阅读次数:
319