Some simple command notes for Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Recently, you must be familiar with the Linux testing platform for testing purposes. Be familiar with some simple commands.
1. About users. Users are divided into Super Users and simple users. Super Users have commands for themselves and other users. For example, if A common user creates A user, the password of user A is locked, therefore, user A cannot be used. In this case, the super user can be used to unlock the account. To upgrade a common user to a Super User, you can use the su command to upgrade the user, but you must know the Super User Password.
2. Some simple operation commands:
(1) cat can use this command to observe the file attributes in a folder.
(2) cd can be used to return to the upper level or enter a folder.
(3) mkdir can be used to create a folder.
(4). ls lists all files in the current folder.
(5) adduser can be used to add new users, but it is best to use a Super User to add new users.
3. for embedded systems, the JFFS2 file system is used at this stage. It is maintained by redhat and specially developed for flash memory. The management mode includes block nodes. By managing nodes, there are three modes. by managing the three modes, flash is managed. However, due to the limitations of the initial design: each node in flash has a record in the memory to manage it. Therefore, when the flash size increases, memory is also occupied by more resources. Therefore, a JFFS3 file system was developed and its records were stored in flash, so that resources do not need to be occupied in the memory. (Author: zhengyj1105)
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