find(系統名)

find(系統名)

本詞條是多義詞,共2個義項
更多義項 ▼ 收起列表 ▲

find是linux 命令,它將檔案系統內符合 expression 的檔案列出來。你可以指要檔案的名稱、類別、時間、大小、許可權等不同資訊的組合,只有完全相符的才會被列出來。find 根據下列規則判斷 path 和 expression,在命令列上第一個 - ( ) , ! 之前的部分為 path,之後的是 expression。還有指DOS 命令 find,Excel 函式 find等。

基本介紹

  • 中文名:find
  • 用法:find path -option
  • 類型:linux 命令
  • 作用:符合 expression 的檔案列出來
分類,linux 命令 find,DOS 命令 find,Excel 函式 find,find的用法歸納,c++函式,英語,英漢釋義,英英釋義,專輯介紹,基本信息,專輯介紹,《Find》歌詞,

分類

linux 命令 find

名稱:find
用法:find path -option [ -print ] [ -exec -ok command ] {} \;
使用說明:
expression 中可使用的選項有二三十個之多,在此只介紹最常用的部分。
-exec:對搜尋的結果執行指定的shell命令。注意格式要正確:"-exec 命令 {} \;"。注意“{}” 與\;之間有空格。
-mount,-xdev : 只檢查和指定目錄在同一個檔案系統下的檔案,避免列出其它檔案系統中的檔案
-amin -n : 在最近的 n 分鐘內被讀取過
-amin +n : 在 n 分鐘之前被讀取過
-anewer file : 比檔案 file 更晚被讀取過的檔案
-atime -n : 在最近的 n 天內讀取過的檔案
-atime +n : 在 n 天前讀取過的檔案
-cmin -n : 在最近的 n 分鐘內被修改過
-cmin +n : 在 n 分鐘前被修改過
-cnewer file :比檔案 file 更新的檔案
-ctime -n : 在最近的 n 天內修改過的檔案
-ctime +n : 在 n 天前修改過的檔案
-empty : 空的檔案-gid n or -group name : gid 是 n 或是 group 名稱是 name
-ipath p,-path p : 路徑名稱符合 p 的檔案,ipath 會忽略大小寫
-name name,-iname name : 檔案名稱符合 name 的檔案。iname 會忽略大小寫
-size n[cwbkMG] : 檔案大小 為 n 個由後綴決定的數據塊。其中後綴含義為:
b: 代表 512 位元組的區塊(如果用戶沒有指定後綴,則默認為 b)
c: 表示位元組數
k: 表示 kilo bytes (1024位元組)
w: 字 (2位元組)
M:兆位元組(1048576位元組)
G: 千兆位元組 (1073741824位元組)
-type c : 檔案類型是 c 的檔案。
d: 目錄
c: 字型裝置檔案
b: 區塊裝置檔案
p: 具名貯列
f: 一般檔案
l: 符號連結
s: socket
-pid n : process id 是 n 的檔案
你可以使用 () 將運算式分隔,並使用下列運算。
exp1 -and exp2
! expr
-not expr
exp1 -or exp2
exp1,exp2
範例:
將目前目錄及其子目錄下所有延伸檔名是 c 的檔案列出來。
# find . -name "*.c"
將目前目錄其其下子目錄中所有一般檔案列出
# find . -ftype f
將目前目錄及其子目錄下所有最近 20 天內更新過的檔案列出
# find . -ctime -20
查當前目錄下的所有普通檔案
#find . -type f -exec ls -l {} \;

DOS 命令 find

名稱:find
作用:在檔案中搜尋字元串
用法:FIND [/V] [/C] [/N] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]
參數:
/V 顯示所有未包含指定字元串的行。
/C 僅顯示包含字元串的行數。
/N 顯示行號
/I 搜尋字元串時忽略大小寫。
/OFF[LINE] 不要跳過具有脫機屬性集的檔案。
"string" 指定要搜尋的文字串,
[drive:][path]filename
指定要搜尋的檔案。
如果沒有指定路徑,FIND 將搜尋鍵入的或者由另一命令產生的文字。

Excel 函式 find

Find函式用來對原始數據中某個字元串進行定位,以確定其位置。Find函式進行定位時,總是從指定位置開始,返回找到的第一個匹配字元串的位置,而不管其後是否還有相匹配的字元串。
使用語法
FIND(find_text,within_text,start_num)
Find_text 是要查找的文本。
Within_text 是包含要查找文本的文本。
Start_num 指定開始進行查找的字元。within_text 中的首字元是編號為 1 的字元。如果忽略 start_num,則假設其為 1。
注意
使用 start_num 可跳過指定數目的字元。例如,假定使用文本字元串“AYF0093.YoungMensApparel”,如果要查找文本字元串中說明部分的第一個“Y”的編號,則可將 start_num 設定為 8,這樣就不會查找文本的序列號部分。FIND 將從第 8 個字元開始查找,而在下一個字元處即可找到 find_text,於是返回編號 9。FIND 總是從 within_text 的起始處返回字元編號,如果 start_num 大於 1,也會對跳過的字元進行計數。
如果 find_text 是空文本 (),則 FIND 則會返回數值1。
Find_text 中不能包含通配符
如果 within_text 中沒有 find_text,則 FIND返回錯誤值#VALUE!。
如果 start_num 不大於 0,則 FIND返回錯誤值#VALUE!。
如果 start_num 大於 within_text 的長度,則 FIND 返回錯誤值#VALUE!。
套用示例
A2=“廣東省東莞市東城區…”,A3=“黑龍江省哈爾濱市…”; 對含有不同地方的數據,利用“Find”函式,非常簡單地確定“省”出現的位置。
詳細解釋
公式“=FIND(省,A2)”中,“省”表示要查找的文本為“省”,(實際使用中,也可以很長的一串字元)。要找查找的對象是A2單元格的內容“廣東省東莞市東城區…”,因為沒有指定起始位置,所以系統從第一位開始。返回的“3”,表示“省“字在第三位。
而公式“=FIND(省,A3)”中,“黑龍江省哈爾濱市…”則返回4。
與Find類似,Search函式也有相同的功能。它們的區別是,Find區分大小寫,而Search不分大小寫(當被查找的文本為英文時)。
另外,在Excel中,對文本進行處理的很多函式都提供了一個特別用來處理雙位元組字元(如中文,日文)的函式,一般是在原函式後加“B”,如FIND,就有一個FINDB。LEFT,相對應的就是LEFTB等。其實,我們在實際套用中,使用不帶“B”的函式就足夠了。如果你想使用帶“B”的函式,則要特別注意,尤其是在組合運用函式時,其中一個函式使用帶“B”的形式,則其它有帶“B”形式的函式,全部都要使用其帶“B”的形式,否則結果極可能是錯的。

find的用法歸納

⒈ 用作及物動詞,主要用於下列句型:⑴ 後接名詞或代詞。如:Where did you find it? 你是在什麼地方找到它的?You’d better try and find another job. 你最好設法另找一份工作。You’ll find the answers at the back of the book. 在書後你可找到答案。⑵ 後接複合結構 (名詞的複合結構、形容詞的複合結構、現在分詞的複合結構、過去分詞的複合結構、不定式的複合結構等等)。如:We find the story (to be) very interesting. 我們發現這個故事很有趣。I found the boy hiding behind the door. 我發現這個小男孩躲在門後。He found the city much changed. 他發現這個城市發生了巨大的變化。I didn’t find her an easy woman to workwith. 我發現她不好共事。
注意:後接不定式的複合結構時,主要是 to be,偶爾可見 to do型。另外有時也接帶先行詞 it 的複合結構。如:
He found it hard to finish the work in time. 他發現要及時完成這項工作很困難。⑶ 後接that-後接從句。如:Now he found that he could relax a little. 現在他發現可以放鬆一下了。Newton found that all masses attract each other.牛頓發現所有物質都互相吸引。He found that she was a cheat. =He found her to be a cheat. 他發現她是個騙子。⑷ 可以帶雙賓語,雙賓語交換位置時用介詞for。如:Please find me my key. =Please find my key for me. 請給我找到我的鑰匙。試比較。如:We found him a good teacher. 我們發現他是位好老師 (我們發現他是位好老師複合賓語,=We found that he was a good teacher)。We found him a good job. 我們為他找了份好工作 (雙賓語,=We found a goodjob for him)。
⒉ 用於find oneself,表示“發現自己 (處於某種狀態)”或“不知不覺或突然…”。如:Suddenly I found myself face to face withthe man. 突然我發現自己面對面跟這個人站在一起。突然我發現自己面對面He returnedto England to find himself famous. 他回到英國,發現自己竟出了名。
⒊ 注意區別 find 與find out:前者指偶然地“發現”、或通過實驗而“發現”、或通過尋找而“找到”等 (參見以上各例);而後者則指通過調查或觀察詢問等而“查明情況或事實真相”。如:
” We must find out the truth of the matter. 我們必須查明事實真相。We must find out where he lives. 我們必須查明他住在什麼地方。有時find out中的out可以省略。如:Please find (out) what time they are coming. 請了解一下他們什麼時候來。4. 是終止性動詞,一般不與一段時間連用。如:正:I found it a long time ago. 這個東西我找到很久了。誤:I (have) found it

c++函式

c++函式 std::Find
需要頭檔案: #include <algorithm>
int Find(TCHARch) const;
int Find(LPCTSTRlpszSub) const;
int Find(TCHARch,intnStart) const;
int Find(LPCTSTRpstr,intnStart) const;
Parameters
ch
要查找的字元.
lpszSub
要查找的子字元串.
nStart
要查找的字元或子串首字元的位置索引.
pstr
被查找的父字元串.
Return Value
返回被查找字元(串)的位置索引; 未找到則返回-1.
函式參數
函式中的參數是疊代器指向的值 不是其在容器中的位置
Example
// First example demonstrating
//CString::Find(TCHAR ch)
String s("abcdef");
ASSERT(s.Find('c') == 2);
ASSERT(s.Find("de") == 3);
// Second example demonstrating
// String::Find(TCHAR ch,int nStart)String str("The stars are aligned");
int n = str.Find('e',5)
;ASSERT(n == 12);

英語

英漢釋義

1. 找到,尋得;發現;碰上[O1][+(that)]
Newton found that all masses attract each other.
牛頓發現所有的物質都相互吸引。
I've found the book I was hunting for.
我已找到了我曾搜尋的那本書。
⒉ 發現...處於某種狀態[O][O2][O4][O7][O8][O9][+(that)]
You will find it a difficult book.
你會覺得這是本難以讀懂的書。
I found the job boring.
我發現這工作令人厭煩。
He found the door closed.
他發現門關著。
We found him waiting for us at the station.
我們看到他在車站等我們。
The day I got back,I found a note on my desk.
我回家的那天發現書桌上有張字條。
⒊ (物體)達到;自然地形成
Rivers find their way to the sea.
江河流入大海。
⒋ (設法)得到
I hope you will find time to come see me some afternoon.
我希望哪天下午你會有時間來看我。
⒌ 知道...是有的;見到...存在[W][O][O4]
You won't find many students learning Latin now.
現在你見不到很多學生學習拉丁文。
This kind of bird is only found in Asia.
這鳥兒只有亞洲有。
⒍ 裁決;判定[W][O8]
The court found him guilty.
法庭判他有罪。
⒎ 供應,供給
The father has to find food and clothing for his children.
父親得供給孩子衣食。
An uncle found the money for his education.
一位叔叔出錢供他讀書。
1. 裁決,判決
The jury found against the defendant.
陪審團作出了對被告不利的判決。
⒉ 發現獵物
名詞n.
1. 發現
That was a great archaeological find.
那是一次了不起的考古發現。
⒉ 發現物
find
1. 查找
⒉ 尋找,發現
find v. 尋找,發現
find的用法與搭配
1.表示“找到”,其後可接雙賓語;若雙賓語交換位置用介詞for引出間接賓語。如:
Can you find me a hotel?=Can you find a hotel for me? 你能給我找一家旅館嗎?
We found him a good job.=We found a good job for him. 我們為他找了份好工作。
比較下面一句(found 後為複合賓語):
We found him a good teacher. (=We found that he was a good teacher.) 我們發現他是位好老師。
2.表示“發現”時,其後可接各種形式的複合結構:
(1)賓語+名詞作賓語補足語。如:
You’ll find it a difficult book. 你會發現它是一本難懂的書。
有時可在賓語補足語前加上to be。如:
You’ll find it to be a difficult book. 你會發現它是一本難懂的書。
(2)賓語+形容詞作賓語補足語。如:
He found the room empty. 他發現房間是空的。
I found the book easy. 我覺得這書讀起來比較容易。
有時可在賓語補足語前加上to be。如:
We find the story (to be) very interesting. 我們發現這個故事很有趣。
(3)賓語+副詞作賓語補足語。如:
Did you find her in? 你發現她在家嗎?
I went to her house but I found her out. 我到她家發現她不在家。
用作賓語補足語的副詞通常只能是in,out,up,down,upstairs,downstairs等表示處所的副詞小品詞,而不能是其他普通副詞。
(4)賓語+不定式作賓語補足語。如:
He found the patient to be a small boy. 他發現病人是一個小男孩。
用作賓語補足語的不定式通常為to be(且通常可以省略),但當find用於被動語態時,可以用其他動詞。如:
Her blood was found to contain poison. 她的血液里被發現有毒。
He was found to have helped himself to public money. 他被發現挪用了公款。
(5)賓語+現在分詞作賓語補足語。如:
I found him lying on the floor. 我發現他躺在地板上。
I found him standing at the door. 我發現他正站在門口。
(6)賓語+過去分詞作賓語補足語。如:
He found the door locked. 他發現門鎖上了。
He found the city much changed. 他發現這個城市發生了巨大的變化。
(7)賓語+介詞短語作賓語補足語。如:
We found her in tears. 我們發現她在哭泣。
We found the map quite out of date. 我們發現這地圖已完全過時。
另外還要注意“find+形式賓語it+賓語補足語”結構。如:
I find it easy to get on with her. 我發現她很容易相處。
He found it easy to earn extra money. 他發現賺點外快很容易。
I found it interesting being back at school again. 我發現再次回到學校很有意思。
3.其後有時可接 that從句。如:
I found that the book was very interesting. 我發現這本書很有趣。
They found that he was no longer working there. 他們發現他已經不在那兒工作了。
He found (that) no one could answer his question. 他發現沒有人能回答他的問題。
When he arrived,he found that she had gone. 當他到達時,他發現她已經走了。
後接 that從句時,只要句型適合且不影響原意,有時可轉換成複合結構,如上面的前面兩句可轉換為:
I found the book very interesting.
They found him no longer working there.
但是,上面的最後兩句不適合這種轉換,因為從句中用了情態動詞或完成時態。

英英釋義

  • n.
  • a productive insight
    同義詞: discovery breakthrough
  • the act of discovering something
    同義詞: discovery uncovering
v.
  • come upon, as if by accident; meet with
    "We find this idea in Plato"
    同義詞: happen chance bump encounter
  • discover or determine the existence, presence, or fact of
    同義詞: detect observe discover notice
  • come upon after searching; find the location of something that was missed or lost
    "Did you find your glasses?"; " I cannot find my gloves!"
    同義詞: regain
  • establish after a calculation, investigation, experiment, survey, or study
    "find the product of two numbers"
    同義詞: determine find out ascertain
  • come to believe on the basis of emotion, intuitions, or indefinite grounds
    "I find him to be obnoxious"
    同義詞: feel
  • perceive or be contemporaneous with
    同義詞: witness see
  • get something or somebody for a specific purpose
    同義詞: line up get hold come up
  • make a discovery, make a new finding
    同義詞: discover
  • make a discovery
    同義詞: discover
  • obtain through effort or management
  • decide on and make a declaration about
    "find someone guilty"
    同義詞: rule
  • receive a specified treatment (abstract)
    "These aspects of civilization do not find expression or receive an interpretation"
    同義詞: receive get obtain incur
  • perceive oneself to be in a certain condition or place
  • get or find back; recover the use of
    同義詞: recover retrieve regain
  • succeed in reaching; arrive at
  • accept and make use of one's personality, abilities, and situation
    "My son went to Berkeley to find himself"
    同義詞: find oneself

專輯介紹

基本信息

專輯名:Find
歌手::SS501
Find 封面Find 封面
發行時間::2008年07月23日
地區::韓國
語言::韓語
發行公司:DSP Entertainment
專輯曲目
01.與你呼吸
02.你是我的天堂
03.FIND
04.謝謝你(vocal 賢重)
05.你是我的天國(inst.)
06.FIND (inst.)
07.我愛你X5
08.謝謝你(accoustic ver.)

專輯介紹

6月開始SS501單曲計畫從《你是我的天國》和隊長金賢重的SOLO《謝謝你》,到接下來的《FIND》為止,SS501的夏天計畫以《FIND》為主打歌的一張特別迷你專輯7月24日閃電發行了。
特別是,這次單曲計畫的結尾的《FIND》是以具有強烈號召力的聲音來吸引歌迷。並且,這次專輯收錄了MBC”我們結婚了”中金賢重&;皇甫夫婦的愛的主題曲,還有一首是金賢重的SOLO歌曲《謝謝你》最初的版本和Acoustic版本。
SS501數碼單曲專輯以總共8首歌曲和30多張的寫真集構成,《FIND》最初計畫限定2萬張,但是7月24日專輯發行之前在預定的地方全部都斷貨,所以追加了1萬張。

《Find》歌詞

(中文翻譯)
賢重)對我來說 對我來說 也變的誠懇的心
讓我怎么辦 讓我怎么辦
亨俊)那么渺茫 那么渺茫的愛情
絕對放棄不了的真心 就是你
永生)要站在這裡找回你的笑容
讓你傷心而流下的眼淚 我會幫你全部抓住
不會讓我忘記你那透明的愛情
一定要重新找回我們的愛
奎鐘) 如果沒有你 如果沒有你 我還能做的很好么?
連做夢都一向是兩個人來著
政玟) 像你的 像你的時間
是絕對無法放棄的迷戀的真心
永生)要站在這裡找回你的笑容
讓你傷心而流下的眼淚 我會幫你全部抓住
不會讓我忘記你那透明的愛情
一定要重新找回我們的愛
在空洞的愛里 燃燒的悲傷
很清楚的知道還無法在我心中把你移出
直到流下的眼淚把剩下的記憶也淹沒
我的愛必須只找你

相關詞條

熱門詞條

聯絡我們