在bin目录下找到2个单词命令 [英] Find 2 word commands under bin directory

查看:73
本文介绍了在bin目录下找到2个单词命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经尝试过ls -lR/| grep''^ d''| grep``bin $''从根目录显示所有目录.

现在,我需要显示所有命令(bin中的数据),恰好有2个单词.

请帮忙.

Hi,

I have tried ls -lR / | grep ''^d'' | grep ''bin$'' to display all directories from root.

Now I need to display all the commands(data inside bin), which is exactly having 2 words.

Please help.

推荐答案

''从根目录显示所有目录.

现在,我需要显示所有命令(bin中的数据),恰好有2个单词.

请帮忙.
'' to display all directories from root.

Now I need to display all the commands(data inside bin), which is exactly having 2 words.

Please help.


自从我使用ksh以来已经有一段时间了,但是类似:
It''s a while since I have used ksh but something like:
find . -name -exec grep '[a-zA-Z][a-zA-Z]'


这篇关于在bin目录下找到2个单词命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆