系统相关[总排行] [月排行] [周排行] [日排行]
一、网卡1、Linux:网络属于内核的功能2、网卡定义:a)RHEL5网卡定义文件:/etc/modprobe.confb)RHEL6网卡定义文件:/etc/udev/rules.d/70-persistent-net.rules3、网卡命名:a)lo:本地回环b)以太网网卡:ethXc)点对点连接网卡:pppX4、网卡配置命令a)ifconfig[ethX]:显示网卡信..
分类:系统相关 时间:2014-05-13 01:13:33 阅读:434
OneofthefilesthattheaverageUnixsysadminrarelylooksat,almostneverchangesandyetdependsoneverytimeheorsherebootsasystemisthe/etc/inittabfile.Thismodestlittlefilecontrolswhathappenswheneverasystemisrebootedorforcedtochangerunlevels.Let‘stakealookattheconfigurat..
分类:系统相关 时间:2014-05-13 04:47:00 阅读:612
Fromtimetotime,peoplewantmetocreateLINUXinitscriptsforthem.Iusuallyjusttakeanexistingoneforanotherserviceandchangeituptoworkformynewapplication,butmostofthemhavebecomesolongthesedaysthatIenduphavingtohackoutatonofcodejusttoreducethemdowntotheverybasicscript..
分类:系统相关 时间:2014-05-13 03:59:53 阅读:306
ThisisourongoingLinuxcommandserieswherewearegoingtoreviewhowwecanusechkconfigcommandefficientlywithit’savailableparameters.TheChkconfigcommandtoolallowstoconfigureservicesstartandstopautomaticallyinthe/etc/rd.d/init.dscriptsthroughcommandline.Let’sseesome..
分类:系统相关 时间:2014-05-13 04:26:32 阅读:469
whileCONDITION;dostatementdone进入循环:条件满足退出循环:条件不满足untilCONDITION;dostatment...done#!/bin/bash#read-p"Inputsomething:"STRINGwhile[$STRING!=‘quit‘];doecho$STRING|tr‘a-z‘‘A-Z‘read-p"Inputsomething:"STRINGdone#!/bin/bash#read-p"Inputsomething:..
分类:系统相关 时间:2014-05-13 03:58:53 阅读:343
1.OpenFileDescriptorsLinux在系统调用,大量的系统调用都依赖于文件描述符,而文件描述符可分配给进程的最大大小由资源限制来定义。因此,如果文件描述符大小不够,或有不正常网络连接(Socket也算)、文件IO没有关闭并释放出文件描述符。也可以说是文件句柄(FileOperator),..
分类:系统相关 时间:2014-05-13 02:24:29 阅读:470
文件管理相关系统编程重要文件标识打开文件标识O_RDONLY:只读方式打开O_WRONLY:只写方式打开O_RDWR:可读写方式打开打开文件操作副标识O_CREAT:若路径中文件不存在则创建,使用Open函数时需同时指定文件权限O_EXCL:若与O_CREAT连用,检查文件是否已经存在,若不存在则建立文..
分类:系统相关 时间:2014-05-13 04:24:28 阅读:561
ConsoleViewPart.javapackagecom.wbq.console;importorg.eclipse.ui.console.ConsolePlugin;importorg.eclipse.ui.console.IConsole;importorg.eclipse.ui.console.IConsoleFactory;importorg.eclipse.ui.console.IConsoleManager;importorg.eclipse.ui.console.MessageConsole..
分类:系统相关 时间:2014-05-13 01:39:20 阅读:340
在linux系统中,我们经常会用crontab来定制任务计划,然而每次执行的时候会产生一个信息发送到/var/spool/clientmqueue/,这些东西一般没什么用,还占用磁盘空间,需要删除由于可能执行的时间太久,文件可能过大,用rm-f*来删除时会提示(-bash:/bin/rm:Argumentlisttoolong)..
分类:系统相关 时间:2014-05-13 04:41:51 阅读:384
linux服务器端设置所需软件包[root@localhost~]#rpm-qa|grepxdmxorg-x11-xdm-1.1.6-14.1.el6.x86_64[root@localhost~]#rpm-qa|grepgdmgdm-2.30.4-39.el6.x86_64gdm-user-switch-applet-2.30.4-39.el6.x86_64pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64gdm-plugin-fingerprint..
分类:系统相关 时间:2014-05-13 03:27:00 阅读:405
113771137721377313844
上一页138431下一页
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!