In accordance with the needs of the file or directory


1.  display the / etc directory, all ending with .d file or directory

_ Depth theme selection area _20190901163858.png

Command parsing:

LS : without any parameters, display the file or directory in the current directory

-d : show only the directory itself, does not display the files in the directory

* : All files or directories

.d * : at .d ending all files or directories

2.  Display / etc directory, all .conf end, and with m, n, r, p, at the beginning of the file or directory

_ Depth theme selection area _20190901170051.png

Command parsing:

LS : without any parameters, display the file or directory in the current directory

-d : show only the directory itself, does not display the files in the directory

[MNRP] : into the / etc / start of the next, i.e., in m , n- , R & lt , P begin. [] Brackets represent match any single character

* : All files or directories, into the middle of the middle of any character that is

.conf : no meaning, that is, to put the final .conf end


Guess you like

Origin blog.51cto.com/14483057/2434528