Other ls usage in Linux ls is usually used to query and display directory content. However, for other purposes, we need to query the Java code ls-l in a directory | grep & quot; ^ d & quot; # d indicates the file attributes. we only need to query the file Java code www.2cto in a directory. comls...
Other ls usage in Linux ls is usually used to query and display directory content in Linux, however, for other purposes, we need to query the Java code ls-l | grep "^ d" # d in a directory, which indicates the file attributes. we only need to query the file Java code in a directory. www.2cto.com ls-l | grep "^-" others include: java code l: indicates that this is a symbolic link file, which actually points to another file.
B and c: block devices and other peripheral devices, respectively. they are special files. S and p: these files are related to the system's data structures and pipelines.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service