Solution: I am confused about linux-general Linux technology-Linux technology and application information. The following is a detailed description. 1. Why is there no registry in linux?
2. Why is the installation content and configuration file of the software installed in linux in its own file, unlike windows, east and west?
3. Does linux have a thread concept?
4. How can I manually clear a zombie in linux?
5. What should I do if an error occurs during linux software reinstallation or upgrade?
Solution: Linux is unlikely to become a zombie, which is highly secure. The directory is clear and can be deleted even if anything is not clean. There seems to be nothing to delete in Linux.
Linux uses configuration files to save software and system configurations. the system configuration files are stored in/etc, and the personal configuration files are stored in the user directory. Why, the system is developed in this way.
As for the concept of thread, Lnux only adopts the thread model. Simply put, all threads are implemented as processes.
Linux adopts the thread model outside the kernel, that is, a core process (Lightweight Process) corresponds to a thread, and thread scheduling is equivalent to process scheduling and handed over to the core for completion, other tasks, such as thread cancellation and inter-thread synchronization, are completed in the off-Core Thread library. Therefore, we can regard the process as a group of threads, which have the same thread group number (TGID). This TGID is the ID of the processes affiliated to this group of threads, the ID number of each thread is the LWP number we see using the ps command.
The zombie program is also a program. It has its own process, and the corresponding port is opened like a common program. It can be found and deleted based on the characteristics, but now everyone is busy with the windows zombie program, at least I haven't heard of it in linux.
An error occurs when you reinstall the software in linux or when installing the upgraded version. The simplest way is to delete and reinstall the software. Because there is no registry, you do not need to worry about it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service