5.10 a.m. Speaking Linux outside

Source: Internet
Author: User

account management can create and delete users manually. Generally for convenience, useUseraddcommand to create a user,Usermodand theUserdelusers can be modified and deleted. can be usedusermod-l Userand theusermod-u UserLock and unlock users and prohibit users from logging in. passwdcommand to modify the user's password. Login Account RecordLinuxin the/var/run/utmpthe user who is currently logged on to the system is logged in the file/var/log/wtmplog-in and logoff events are logged in the file. respectively byW.H.O.and the Lastcommand to read and print records. The types of file system file systems that are common areEXT2,EXT3and theEXT4,Linuxnow also supportsWindowsunder theFATand theNTFStype. There are also some uses that are not very extensive such asIBMof theJFStype. In the/etc/fstabThe file contains a list of devices that correspond to the file system. DFcommand to view the size of the file system. $ df-h/filesystem Size used Avail use% mounted On/dev/sda3 78G 3.7G 71G 5%/throughMountand theUmountcommand to install and unmount the file system, such as:# mount/dev/hda5/userspartition the disk on the/dev/hda5represents the file system installation to a path/usersthe next. You can add a new file system to the/etc/fstabfile to install automatically. When uninstalling, if the kernel indicates that the device is busy, it can runFUSER-MV Mpointto view the processes that are using resources on the file system. fuser-v FileYou can view the use of specific files using the- koption to kill all the trouble-causing processes. A more powerful alternative islsof. fsckcommands can be used to check and repair file systems, and often error references to files and data blocks can be repaired by it. Organizational Structure inLinux, different files are placed under a certain path according to the Convention, usually the installer makes some assumptions about the location of the file, so you should keep this default file tree structure as much as possible. /bin

5.10 a.m. English speaking Linux

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.