Time of Update: 2014-12-01
標籤:檔案 linux br 資訊 注意 grep c 統計 ls linux下查看檔案及目錄個數1、查看當前檔案和目錄總數(不包括子目錄):ls -l | wc
Time of Update: 2014-11-30
標籤:style blog http io ar color os 使用 sp 1
Time of Update: 2014-11-28
標籤:midnight linux sleep 電子 使用者 Linux管理進程的最好方法就是使用命令列下的系統命令。Linux下面的進程涉及的命令有at, bg, fg, kill, crontab, jobs, ps, pstree, top, nice, renice, sleep,
Time of Update: 2014-11-25
標籤:style blog http ar color os 使用 sp java cat命令的用途是串連檔案或標準輸入並列印。 1.一次顯示整個檔案:cat filenam
Time of Update: 2014-11-25
標籤:style blog ar color os 使用 sp strong on 一 命令1.1 write
Time of Update: 2014-11-25
標籤:umount umount_tree namespace_unlock 卸載檔案系統 術語表:struct mount:掛載點struct mountpoint:掛載點節點struct vfsmount:掛載項源檔案系統:使用者將要掛載的檔案系統目的檔案系統:掛載源檔案系統的檔案系統一、目的
Time of Update: 2014-11-24
標籤:linux 核心 記憶體管理 /* *Author : DavidLin *Date : 2014-11-22pm *Email : [email protected] or [email protected] *world : the city of SZ, in China *Ver : 00
Time of Update: 2014-11-21
標籤:des style blog http io ar color 使用 sp 前段時間移植uboot仔細研究過uboot啟動過程,最近耐不住寂寞,又想對kernel下手。Uboot啟動過程分
Time of Update: 2014-11-19
標籤:redhat linux 7 破解root密碼If you have lost or forgot root password of RHEL7, you can follow this step to change to a new password, this is different with the RHEL6 single-usermode,1, press e button in GRUB 2 boot screen.2, at the end of Linux
Time of Update: 2014-11-19
標籤:普通使用者su 到root su 在一般情況下,一般使用者通過執行“su -”命令、輸入正確的root密碼,可以登入狀態root使用者來對系統進行管理員層級的配置。 但是,為了更進一步加強系統的安全性,有必要建立一個管理員的 組,只允許這個組的使用者來執行“su -”命令登入狀態root使用者,而讓其他組的使用者即使執行“su -”、輸入了正確的root密碼,也無法登入狀態root使用者。在UNIX和Linux下,這個組的名稱通常為“wheel”
Time of Update: 2014-11-21
標籤:style color os sp div 2014 問題 log bs date命令可以用來顯示和修改系統日期時間,注意不是time命令。1、在命令列輸入date顯示目前時間[[emai
Time of Update: 2014-11-19
標籤:linux 無法刪除 木馬公司的內網某台linux伺服器流量莫名其妙的劇增,用iftop查看有串連外網的情況。針對這種情況一般重點查看netstat串連的外網ip和連接埠。用lsof -p pid可以查看到具體是那些進程,哪些檔案。經查勘發現/root下有相關的配置conf.n hhe兩個可疑檔案,rm
Time of Update: 2014-11-14
標籤:ar 使用 sp strong 資料 div on art bs linux查看佔用cpu最高的進程ps aux|head -1;ps aux|grep -v PID|sort -rn -
Time of Update: 2014-11-17
標籤:windows linux security 去哪裡 配置linux通過ad認證的方法有很多,如samba使用的winbind方式。這裡我使用的是pam_ldap方式,網上有很多這樣相關的文章,都是按官網上一步步做,先配nsswitch.conf,再配ldap.conf。配置nsswitch.conf的作用是告訴系統去哪裡擷取到使用者的pw資訊(如getp
Time of Update: 2014-11-27
linux命令之mv,linuxmvlinux下的mv即move的意思該命令的一般形式:mv [選項] 參數1 參數2選項:-b 如果已存在相同檔案名稱,則覆蓋前進行備份-f &
Time of Update: 2014-12-02
CentOS“螢幕選擇”功能(display)在筆記本上裝了個CentOS6.5, 平時筆記本都外接一個顯示器, 這回系統裝好了之後, 滑鼠亂晃了一小會始終找不到“螢幕選擇”功能(display), 一怒之下就有了下面這段代碼.[root@localhost~]#vimload_xrandr.py#-.-coding:utf-8-.-__author__='root'importos#列出顯示器及解析度getScreens=os.popen("&
Time of Update: 2014-11-24
CentOS6.5核心升級到linux 3.12.17相關教程環境: 系統硬體:vmware vsphere (CPU:2*4核,記憶體2G) 系統版本:Linux centos 2.6.32-431.el6.x86_64(Centos-6.5-x86_64-minimal.iso
Time of Update: 2014-11-21
linux下fallocate快速建立大檔案,linuxfallocate以前建立檔案我一般用dd來建立,例如建立一個512M的檔案:dd命令可以輕易實現建立指定大小的檔案,如dd if=/dev/zero of=test bs=1M
Time of Update: 2014-11-18
Linux核心最佳化聲明:本文檔來自互連網整理部份加自已實驗部份所得:TCP 相關部份常用名詞說明:retries(再試)、TCP 伺服器 <---> 用戶端通訊狀態SYN----------------><--------------SYN,ACKACK---------------> 建立串連Data1----------------><---------------Data1,ACKData2----------------><----
Time of Update: 2014-11-12
CentOS 7 下安裝卸載 VMwareCentOS 7 下安裝卸載 VMware 過程筆記。一、安裝VMware的bundle檔案在年終端terminal下找到vmware的bundle檔案法一:(推薦)VMware-Workstation-Full-10.0.2-1744117.x86_64.bundlebash VMware-Workstation-Full-10.0.2-1744117.x86_64.bundle法二:給與執行許可權,然後運行chmod +x