Linux shows color, find files

xiaoxiao2021-03-06  107

Under RedHat Displays the color directory list to open / etc / bashrc, add the following line: Alias ​​ls = / "ls --color /" When you start Bash next time, you can display a list of colored directories in Slackware, where the meaning of color As follows: Blue -> Directory Green -> Executable File Red -> Compressed File Light Blue -> Link File Gray -> Other Files

The path of the command file When you type some commands such as Find, Shutdown, Mount, if you want to know which directory is you in? Command WHEREIS can be implemented, such as #whereis StartX

The Find command to add some parameters to find the file, such as: #find / usr -name XF86setup -print Find file XF86setup in / usr

转载请注明原文地址:https://www.9cbs.com/read-102668.html

New Post(0)