原创 linux命令-mv

mv :move (rename) files  :移動文件(和改名)mv選項:    -f, --force  :do not prompt before overwriting  :覆蓋之前不提示(強制)    -n, --no-clo

原创 linux命令-ls

ls :list directory contents  列出目錄內容ls選項 :    -a :do not ignore entries starting with .   :不忽略包含起始.的文件(隱藏文件)    -A :do no

原创 linux命令-cp

cp:copy(複製)    copy files and directories  :拷貝文件或目錄    Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY  :拷貝源到目的,

原创 linux命令-rm

rm :remove files or directories :刪除文件或目錄rm選項:    -f  :--force  :ignore nonexistent files, never prompt  :忽略不存在文件,不提示    

原创 linux命令-mkdir

mkdir :make directories       如果目錄不存在,就創建目錄(Create the DIRECTORY(ies), if they do not already exist)mkdir選項:    -m :--mo

原创 shell腳本報錯---ge: unary operator expected

錯誤原因:由於變量初始化賦值爲空,那麼就成了 [  -ge "10"] 了,顯然 [ 和 "10" 不相比較並且缺少了 [ 符號,所以報了這樣的錯誤。解決辦法:1、檢查是否因爲賦值語句寫錯而導致賦值爲空2、賦值前加declare -i 變量

原创 linux命令-head

head :output the first part of files  :輸出文件首部head選項:    -c ,--bytes=[-]k  :print the first K bytes of each  file;  with

原创 linux命令-tail

tail :output the last part of files :輸出文件尾部tail參數:    -c,--bytes=K :output the last K bytes; alternatively,  use  -c  +K

原创 jira6.3.6破解搭建

Jira-6.3.6破解全程一、安裝mysql,創建數據庫1、mysql>CREATE DATABASE  jira  DEFAULTCHARACTER SET utf8 COLLATE utf8_general_ci;  (創建數據庫ji

原创 linux命令-rm

rm :remove files or directories :刪除文件或目錄rm選項:    -f  :--force  :ignore nonexistent files, never prompt  :忽略不存在文件,不提示    

原创 linux命令-sed

sed :stream editor for filtering and transforming text  流編輯器文本轉換工具sed不適用-i的情況下,不對源文件做修改,只將處理結果打印至屏幕,使用-i時將直接修改源文件,屬於危險做法

原创 linux命令-mv

mv :move (rename) files  :移動文件(和改名)mv選項:    -f, --force  :do not prompt before overwriting  :覆蓋之前不提示(強制)    -n, --no-clo

原创 linux命令-cat

cat :concatenate files and print on the standard output :鏈接文件並標準打印輸出,通常用於查看文件內容cat選項:    -E ,--show-ends:display $ at en

原创 linux命令-tac

tac  :concatenate and print files in reverse :鏈接並反向打印文件和cat打印正好相反,命令不常用,瞭解就好。

原创 linux命令-file

file :determine file type  :確定文件類型感覺file的參數比較雞肋。