Linux命令:look

显示文件中以指定字符串开头的任意行

2024-12-31 17:38:57

命令行command

补充说明

look命令 用于显示文件中以指定字符串开头的任意行。

语法

look(选项)(参数)

选项

-a:使用另一个字典文件web2,该文件也位于/usr/dict目录下;
-d:只对比英文字母和数字,其余一概忽略不予比对;
-f:忽略字符大小写差别;
-t<字尾字符串>:设置字尾字符串。

参数

  • 字符串:指定要查找的字符串;
  • 文件:指定要查找的目标文件。

评论

静谧以待,您的评论将是点睛之笔

撰写首个评论,启程你的前端奇妙之旅

is a Wiki for programming enthusiasts and professionals, organizing knowledge on programming.

Connect With Me

I have a fair amount of knowledge of Javascript, Typescript, VueJs, and Nuxt. If you have an interesting idea, either open source or paid let's connect.

Sent Mail
© 2024-2025 © . All rights reserved.