隐藏以波浪号结尾的文件


9

当我尝试导航时,这些备份文件使我的屏幕混乱。

我如何隐藏以波浪号结尾的文件,所以ls不显示而是仅显示ls -a。也就是说,我希望它们的行为类似于带有句点的文件。

Answers:



1

您可以将文件设置为隐藏。使用:ls --hide=*~

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.