리눅스 보기 명령


  번역 결과:

look

English[lʊk]

vt.& vi. 보세요.

n처럼 보입니다. (의) 외모; 눈

int (삽입 또는 주의 환기) 이봐, 내 말 좀 들어봐

3인칭 단수: 보인다 복수: 보인다 현재 분사: looking 과거 시제: looking 과거 분사: looking

리눅스 보기 명령통사론

기능: look 명령은 단어를 쿼리하는 데 사용됩니다.

구문: ​​look [-adf][-t<접미사 문자열>][시작 문자열][사전 파일]

리눅스 보기 명령예

testfile 파일에서 문자 L로 시작하는 모든 줄을 찾으려면 다음 명령을 입력하면 됩니다.

look L testfile

원본 파일 testfile의 내용은 다음과 같습니다.


$ cat testfile #查看testfile 文件内容  
HELLO LINUX!  
Linux is a free unix-type opterating system.  
This is a linux testfile!  Linux test

look 명령을 사용하세요. "L"로 시작하는 줄을 찾기 위한 테스트 파일 파일 시작 단어, 결과는 다음과 같습니다.

$ look L testfile        #查找以“L”开头的单词  
Linux is a free unix-type opterating system.   #第二行以“L”开头,列出全句  
Linux test         #第四行以“L”开头,列出全句

인기 추천

비디오

Q&A