Today in search of a dongdong found this title, then you know what is the meaning of it.
Ls-f means to classify files by type and add/* symbols at the end.
| Pipeline output, the result of the previous command as input to the following command
grep/$ means to pick out the line that ends with/to identify the directory
-F,--classify
Append indicator (one of */=>@|) to entries
Example:
[Root@sor_sys ~]# ls-f
1.sh* 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/
if we search for/end, 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:
- F switch Add an * number to the executable file , add a / number to the directory , and add an @ sign for the symbolic link .