In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "linux Recycle Bin and U disk in the .Trash folder related operation introduction", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "the Recycle Bin under the linux and the .Trash folder in the U disk related operation introduction" bar!
We know that the Recycle Bin for windows is distributed in the RECYCLER folder of each partition by default. What about the Recycle Bin for linux?
After testing on ubuntu, I found that the recycling bin under linux is in each current user directory. / local/share/Trash, but I will find several folders in this directory, for example, I deleted a file with my root account. Then the situation in / root/.local/share/Trash/files is as follows:
In the / root/.local/share/Trash/filesq case, it is as follows:
You can find that the file is saved in files without deleting a file, while the file with the suffix trashinfo is saved in the info directory
I think the contents of this file are stored in the files directory, while the corresponding files in the info directory store some information about the location and permissions of the file. I don't know if-
And the same is true on Fedora.
In addition, we know that there is no Recycle Bin for U disk by default under xp, but it is different under linux. If you delete the file of U disk under linux, linux will generate a .Trash file in the root directory of U disk. Of course, this file needs to be hidden to be seen. There are also files and info folders in the .Trash directory, and the effect is similar to that on PC. Thus it can be seen that the U disk under linux also has a recycle bin. If you accidentally delete the files of the U disk, it can be quickly recovered under linux.
If we take the U drive that deleted files under linux to windows, because windows does not think that files that begin with. As hidden files, we can see that there are many files such as .trash in U disk. These are all recycle bin files under linux. Many people find it strange many times. When we click into it, we will find that there are many files that we deleted before.
Due to the difference in data processing between linux and windows systems, sometimes when we switch flash drives back and forth between the two systems, we will cause data loss. Serious ones can cause a blue screen. What I have experienced is that when I copy a file to a directory on a flash drive under windows, the computer blue screen restarts.
Later, using the chkdsk / f command to repair the data, the prompt contains an invalid link:
Therefore, when using devices such as USB drives on linux and windows, you must follow the regular steps.
Sometimes the Recycle Bin under linux cannot be emptied by using the following methods:
Forced emptying of the Recycle Bin
Previous versions of ubuntu8.04
Sudo rm-fr $HOME/.Trash/*
Ubuntu 8.04
Sudo rm-fr $HOME/.local/share/Trash/files/*
Thank you for reading, the above is the "recycle bin under linux and the U disk in the .Trash folder related operation introduction" content, after the study of this article, I believe you on the linux Recycle Bin and the U disk in the .Trash folder related operations to introduce this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.