Linux系统学习笔记

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

rrktqtLinuxLinux:jinscanLinuxLinuxLinux:Linux://rrktqt.discuz.net1/272007-02-07PoweredbyX-SpacerrktqtLinuxlinuxshellshell12.3.4.5.6.GUI7.8.9.LinuxLinux:2007-02-0710:13:54mountdmesg|grepcdlinux~~~~~windows/etc/rc.d/init.d/gpmrestartumount/dev/fd0SCSI/dev/sd(a)bcd.USBSATASCSISCSI/dev/scd0USBSCSI:2007-02-0710:14:40shellunixcddos|shelldir|lstype|catcd|cdmd|mkdirrd|rmdirdel|rmcopy|cpds|dearattrib|chowncharpchmodcdmanshellCshellman1.2.3.5.:passwdmanpasswdmanpasswd(1)man5passwd():-kmanCkPPPunixk.:vi(),IESC:xdduyy()p()vi,100a100Ia100a535yy3pZZ.//.;.;;!;w;wq;recover;wshell:12:()abcdefshelljacksdaily,\::toucejack\s\daily\,:2007-02-0710:15:16unix.unixfileunix,(exeMZ)mountmountdfduCh+pwdunixxrunix.unixfileunix,(exeMZ)mountmountdfduCh+pwdunixxrchown[-R]-Rcharp[-R]chmod[-R]1rw-rr6441101001002rw-r--r--ugorootwindowsACLunix://rrktqt.discuz.net7/272007-02-07PoweredbyX-SpacerrktqtLinuxshell:2007-02-0710:15:58shellunixbash1tabtabtab3bash-histroyshellalt+f1~f6*shellshellshell&ctrl+zjobsfg+bg+shellbash./etc/profileshell/.bash-profile/etc/bashrc~/.bashrcetcshell=LANG=enLANG=zh-CN.GB18030shell{=exportexport=exportshellprofileenvpathshellLinuxpath./3.$exportPATH=$PATH:/etc/xxxecho$LANGechoLANGexportCMD=ls$CMDCllsCl|22moregrepcat/etc/services|grephttphttpshellfdisk-lfdisk/dev/hadcommandpndqwmkfsmakefilesystemmkfs-text2/dev/hda5mkfs-text2Cj/dev/hda5ext3mount/dev/hda5shellshellechoreadread+sleepsleep+echo$((1x2x3))/:=[]-f-d-r-w-x#/bin/shechofilereadFileNameif[-f$FileName];thenechoyeselseechonofiA=BA=B-zab$ACgt$Bab$ACge$B=b$ACle$Bab$ACne$BACaBA-oB#/bin/shreadMARK/proc/sys/net/ipv4/ip_forwardecho$MARKif[$MARK=0];thenelseechohostechoGATEWAYfi#!/bin/shu=idCuif[$u=0];thenechohelloelseechopermissiondeniedfi#!/bin/shechousernamereaduserNAMEMARK=cat/etc/passwd|grep$userNAME:if[-z$MARE];thenechoNOelseechoYESficasein11;;22;;...*)esac:#!/bin/shechocommandreadCMD)/etc/rc.d/init.d/namedstart;;stop)/etc/rc.d/init.d/namedstop;;estart)/etc/rc.d/init.d/namedstop/etc/rc.d/init.d/namedstart;;*)echousage:$0{start|stop|restart};;esac*:.shell,shell,,.1)2)while;dodone:#!/bin/shi=0while[$iClt$n];doj=0while[$jClt$(($i+1))];doecho\*j=$(($j+1))doneechoi=$(($i+1))done00:00:00:1970-01-01utcunixdata+%sunixdate+%H:%M:%S:#!/bin/shintime=date+%SCle$[(intime+5)];doecho.##echo-n,donedate()forin;dodone##:,:#!/bin/shforninasd4r356her34657trger;doecho$ndoneshell#!/bin/shcd/tmp/dlforurlincat/etc/urls;dowget$urldone/etc/urls:12:#!/bin/shn=$1i=0while($i-lt$n);doechoxxxxii=$(($$+1))done$0$0:2007-02-0710:17:05useraddpasswdgroupaddusedel-r/etc/group/etc/passwd/etc/shadowgroupxIDpasswdxIDIDshellpasswdgroupfalsefalsefalse/etc/falsemailshelltopwhichtopshelllinuxlinuxtopunixshellshadowshadow150u001u150#/bin/shi=1while[$iCle150];doif[$i-lt10];thenuname=u00$ielseuname=u$ifiuseradd$unamei=$(($i+1))donepasswdstdin:2007-02-0710:17:39linuxBSDlinuxlinuxlinuxBSD1.ifconfigBSDcollisionstxqueudenmii-toolethtool+netstatCrnetstat-antTCP-anuUDPTCPARP-n-nDNScat/etc/resolv.conf2.IPifconfigiprouteadd-netnetmastx.x.x.xgwrouteadd-hostnetmastx.x.x.xdevroutedel-netnetmastx.x.x.xgwroutedel-netnetmastx.x.x.xdevrouteadddefaultgwrouteadddefaultdevARParp-sIPMAClinuxipipaddrshowIPipadshiprouteshiproshipneighshARPipneshipv6ARPICMPipadadddevip/iprouteaddip/deviprouteaddip/via~~~~~~~~~~~~~~~~IP/etc/sysconfig/network-scrptsifcfg-/etc/sysconfig/network-scrpts/ifcfg-eth0bootprotocol=static##IPDHCPNBOOT=yes##NOARP/etc/ethersmacip01:02:03:04:05:0610.0.0.2(/etc/rc.localautoexec.bat$:2007-02-0710:18:42linuxunixcron/etc/crontabcrontab-l(list)-e(edit)055**135##,_/crontabPATHcrontabcron/etc/rc.d/init.d/crondstop~~~~~~~~~~~~~~~

1 / 27
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功