Time of Update: 2014-10-25
標籤:style blog http color io os ar 使用 strong 來源:(linux shell)第一章--小試牛刀(上)從今天開始,我們一起來學習《linux
Time of Update: 2014-10-24
標籤:style blog http strong sp 檔案 on 2014 log
Time of Update: 2014-10-24
標籤:style io ar 使用 for sp 檔案 div on /*************************************************************
Time of Update: 2014-10-23
標籤:style http color io os ar sp 檔案 資料 1、問題: 下午有同學問了這麼一個問題: tail -n +$(tail -n1 /root/tmp/n) -
Time of Update: 2014-10-20
標籤:style blog http color io ar sp 檔案 2014 在執行一個shell指令碼時,遇到了“-bash: ./killSession.sh: /bin/bash:
Time of Update: 2014-10-24
標籤:shell linux 分析日誌 grep awk 需要統計使用者日誌資訊,分析出使用者行為時,用shell往往能方便地取出很多資料,取出後再放置到excel中統計。例如:統計日誌中含loadCustomProcess這個地址的訪問,按訪問耗時排序:grep "loadCustomProcess"
Time of Update: 2014-10-20
標籤:style blog http color io os ar 使用 for 一:shell編程基礎 shell定義:shell是一個作為使用者與linux系統間介面的程式。它允許使用
Time of Update: 2014-10-22
標籤:style blog http color os 使用 sp 檔案 div Bash Shell 的作業環境:配置值分為系統整體配置值與各人喜好配置值,
Time of Update: 2014-10-23
標籤:style blog http color ar java sp 檔案 資料
Time of Update: 2014-10-19
標籤:cgi shell getopts expr awk 第二十五章 深入討論 <<當shell 看到 << 的時候,它知道下一個詞是一個分界符,該分界符後面的內容都被當做輸入,直到shell又看到該分界符(位於單獨的一行)。比如:cat >> tmpfile <<DOC>
Time of Update: 2014-10-18
標籤:style blog http color io os ar 使用 sp zhanhailiang 日期:2014-10-181.
Time of Update: 2014-10-16
標籤:unix環境進階編程 linux shell du命令可以查看指定檔案夾佔用的磁塊數,以下為linux下c語言實現shell du指令的代碼(支援-k選項):#include <stdio.h>#include <sys/types.h>#include <dirent.h>#include <sys/stat.h>#include <
Time of Update: 2014-10-21
標籤:des style blog http color io os ar 使用 產生監聽用的shell.exe:reverse_tcp(反向串連)path : payload/windows/
Time of Update: 2014-10-17
標籤:unix環境進階編程 shell linux Linux下write命令允許使用者跟其他終端上的使用者對話。用c語言實現shell命令write,代碼如下:#include<stdio.h>#include<fcntl.h>#include<unistd.h>#include<utmp.h>#include<pwd.h>#incl
Time of Update: 2014-10-18
標籤:io 使用 strong sp 檔案 on amp linux bs if-then的進階特性 [[]]、[]都是用來測試( 測試分為數值比較、字串比較、檔案比價
Time of Update: 2014-10-14
標籤:shell 體驗 日誌Shell 指令碼在開發中的體驗這段時間在開發一個程式,程式輸出有很多日誌。有時候要通過日誌來分析出錯的問題。單獨的查看效率太低分析不到什麼。於是乎就想到了Shell。 記錄檔在安卓的手機裡面!開發環境 Fedora 、MacOS。手機Nexus4,Nexus5。開發工具 vim +
Time of Update: 2014-10-15
標籤:unix環境進階編程 shell ls命令的R參數代表遞迴的列出所有子檔案夾中的所有檔案,1表示每一行只顯示一個檔案或檔案夾,f表示不排序即輸出,F表示在每項的輸出的最後根據其檔案類型相應的加上*/=>@|字元。通過c語言實現ls -R1fF命令的效果,其原始碼如下:#include <stdio.h>#include
Time of Update: 2014-10-15
標籤:linux chpasswd 非互動式 修改密碼 shell
Time of Update: 2014-10-15
標籤:style color os 使用 ar sp div art linux 上面提到過,Shell是一種指令碼語言,那麼,就必須有解譯器來執行這些指令碼。Unix/Linux上常見的She
Time of Update: 2014-10-17
Linux Shell 萬用字元、逸出字元、元字元、特殊字元,shell轉義一、linux shell萬用字元(wildcard)萬用字元是由shell處理的(不是由所涉及到命令語句處理的,其實我們在shell各個命令中也沒有發現有這些萬用字元介紹),