In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to find portable executable files under the Linux system". In the daily operation, I believe that many people have doubts about how to find portable executable files under the Linux system. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how to find portable executable files under the Linux system". Next, please follow the editor to study!
Find executable files under linux
Ls-F | grep "*"
That's it!
What does ls-F | grep / $mean
Ls-F means to classify files by type and add symbols such as / * at the end.
| | Pipeline output, passing the result of the previous command as input to the following command |
Grep / $means to pick out the line that ends with /, which means that the logo is the directory
-F,-- classify
Append indicator (one of * / = "@ |) to entries
Example:
The code is as follows:
[root@SOR_SYS] # ls-F
1.shh * CC_manual_0701.rar gzpackage/ man.config script/ tr1.txt
2005.03.01 dead.letter index.html ntpd-deploy.sh* start_tomcatServer229-1.sh tr.txt
Anaconda-ks.cfg Desktop/ install.log printc.sh start_tomcatServer229-2.sh usr/
Apache-tomcat-6.0.30.zip etc/ install.log.syslog rpmpackage/ stop_tomcatServer229-1.sh zy/
Camptocamp-tomcat-0.0.1/ get_date.sh lib/ ruby-1.8.7-p248/ stop_tomcatServer229-2.sh zy.bak/
[root@SOR_SYS ~] #
If we search for those that end with /, we can use the following methods:
Ls-F | grep\ / [escape character]
Ls-F | grep / $
Ls-F | grep /
Let's look at the role of ls-F:
The-F switch adds a * sign to the executable, a / sign to the directory, and an @ sign to the symbolic link.
At this point, the study on "how to find portable executable files under the Linux system" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 268
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.