Time of Update: 2014-10-14
標籤:hive shell hadoop mapreduce mahout 錯誤一:Hive的where後不能用欄位的別名, 錯誤二:hive的groupby中不能用自訂函數,否則報錯(用嵌套select代替) 錯誤三:執行:$ ./hive_game_operationstatis5.sh時,報錯資訊如下:
Time of Update: 2014-11-01
標籤:shell loop while until for 1. 迴圈shell迴圈,不斷執行某段程式,直到符合條件。迴圈分為4種, while迴圈,until迴圈,for固定處理, for數值處理。2. while迴圈while迴圈是一直執行,直到條件不符合,才停止。文法:while [ condition
Time of Update: 2014-11-01
標籤:應用程式 解譯器 linux 管道 定向 linux中shell是一個特殊的應用程式。它介於系統的核心與使用者之間。充當命令“解譯器”的作用角色。負責接收使用者輸入的操作指令,並進行解釋。將需要執行的操作傳遞給核心。並輸出執行結果;下面我們來看一下當前系統所支援的shell的種類:650) this.width=650;"
Time of Update: 2014-10-31
標籤:linux shell變數說明:$$Shell本身的PID(ProcessID)$!Shell最後啟動並執行後台Process的PID$?最後啟動並執行命令的結束代碼(返回值)$-使用Set命令設定的Flag一覽$*所有參數列表。如"$*"用「"」括起來的情況、以"$1 $2 …
Time of Update: 2014-10-28
標籤:style blog io color ar sp div on art 一、文法select 變數 in con1 con2 con3 # 自動列出 con1,con2,con3
Time of Update: 2014-10-24
標籤:style blog http strong sp 檔案 on 2014 log
Time of Update: 2014-10-28
標籤:style blog io color ar sp div on log 一、文法while [ condition ] # 當 condition
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-23
標籤:style io ar 使用 for strong sp 檔案 資料 最近一直在研究shell指令碼這塊,剛好閑下來整了下自己手頭上比較好的資料中的一些範例,以下是我整理的鳥哥私房菜裡面R
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-15
標籤:unix環境進階編程 shell linux下ls命令(支援-R參數)的c語言實現:#include <stdio.h>#include <sys/types.h>#include <dirent.h>#include <sys/stat.h>#include <pwd.h>#include <grp.h>#include
Time of Update: 2014-10-16
標籤:style http color os ar 檔案 sp on ad #!/bin/sh
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-13
標籤:io 使用 ar for strong 檔案 資料 sp div 函數是被賦予名稱的指令碼代碼塊,可以在代碼的任意位置重用。每當需要在指令碼中使用這樣的代碼塊時,只需引用該代碼塊被賦予的函
Time of Update: 2014-10-14
標籤:style blog color io os 使用 java sp div case ... esac 與其他語言中的 switch ... case
Time of Update: 2014-10-15
標籤:style color os 使用 ar sp div art linux 上面提到過,Shell是一種指令碼語言,那麼,就必須有解譯器來執行這些指令碼。Unix/Linux上常見的She
Time of Update: 2014-10-05
標籤:shellHUP(1) 掛起,通常因終端掉線或使用者退出引發INT(2) 中斷,通常因CTRL+C組合引發QUIT(3) 退出, 通常因CTRL+/組合引發ABRT(6) 中止, 通常因某些嚴重的錯誤而引發ALRM(14) 警示 ,通常用來處理逾時TERM(15) 終止, 通常在系統關機時發送TSTP(20)
Time of Update: 2014-10-01
標籤:bash shell 安全性漏洞 bash環境變數存在任意代碼執行漏洞:“通過CGI請求方式可以導致遠程代碼執行,進而導致伺服器被入侵,危害嚴重,且官方公布補丁也被繞過”,【漏洞影響】:1)bash受影響版本:3.0 ~