A Guide from Linux Shell Basics to Avoiding Root Directory Deletion

A Guide from Linux Shell Basics to Avoiding Root Directory Deletion

(Click the public account above to quickly follow) Source: xrzs Link: https://my.oschina.net/leejun2005/blog/793916 If you have good articles to submit, please click → here for details Shell, as a widely used system language under Linux, has a simple syntax and is easy to get started with. However, mastering it and minimizing errors is not an easy … Read more

How to Delete Files with Special Characters or Corrupted Names in Linux

How to Delete Files with Special Characters or Corrupted Names in Linux

When a program or system malfunctions, it can lead to file names containing special characters or becoming corrupted. Sometimes, using the rm command directly may not work, as shown in the image below:Here are several methods to delete such files: 1 Use rm — or rm ./ If the file name starts with a ‘-‘, … Read more