关键词搜索

全站搜索
×
密码登录在这里
×
注册会员

已有账号? 请点击

忘记密码

已有账号? 请点击

使用其他方式登录

linux手册

linux look命令–查询单词

look指令用于英文单字的查询。您仅需给予它欲查询的字首字符串,它会显示所有开头字符串符合该条件的单字。

语法格式:look [参数] [字符串] [文件]

常用参数:

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

参考示例

查询file文件中以L开头的行:

[root@linuxcool ~]# cat file 
LINUX!
Linux is a free unix-type opterating system.
This is a linux testfile!
Linux test
[root@linuxcool ~]# look L file
LINUX!
Linux is a free unix-type opterating system.
点击QQ咨询
开通会员
上传资源赚钱
返回顶部
×
  • 微信支付
  • 支付宝付款
扫码支付
微信扫码支付
请使用微信描二维码支付
×

提示信息

×

选择支付方式

  • 微信支付
  • 支付宝付款
确定支付下载