An important part of user management is the management of user passwords.
A user account is locked by the system and cannot be used without a password. It can be used only after a password is specified, even if it is a blank password.
The shell
What is a file system?
A file system is a method and data structure for the operating system to save file information on a partition.
The Linux File System has a similar general structure, and its key components include:
Super Block
Index node inode
There are three types of users in Linux.
Super User. uid value is 0.
Normal user. uid value: 500 ~ 6000.
The pseudo user. uid value is 1 ~ 499.
Linux Password File
/Etc/passwd
View this file and you will find lines similar to the following. Each
Document directory
Process Information
How to end a process
Although the Job Manager in windows is not easy to use (I personally prefer process Explorer), it is also convenient to conveniently view processes, CPU, memory... it can also easily
Sysctl is an interface that allows you to change the running Linux system. It includes some advanced options for TCP/IP stacks and virtual memory systems, which allows experienced administrators to improve system performance. You can use sysctl to
Statement for viewing file permissions:
Enter at the terminal:
Ls-l XXX. XXX (XXX. XXX is the file name)
Or LL
Then similar information will appear, mainly including:
-RW-r -- divide the 10 digits
D/null
Rwx
Rwx
Rwx
A total
SSH is much safer than telnet, and it is more perfect if RSA verification is added.
A key pair is generated and encrypted by passphrase. The public key is placed on the server to be logged on (in the home directory of an account. SSH). The private
1. Linux link conceptLinux links are classified into two types: hard link and symbolic link ). By default, the ln command generates a hard link.
[Hard connection]Hard connection refers to the connection through the index node. In a Linux File
How to register a keyboard device in Linux
[Implementation of the mouse driver in Linux]Input_init () =>=>Class_register (& input_class); registers the input classInput_proc_init (); create directories and files under procRegister_chrdev
Linux zip commandZip-r myfile.zip ./*Compress all files and folders in the current directory into myfile.zip files.-R indicates recursively compressing all files in the subdirectory.2. UnzipUnzip-o-d/home/sunny myfile.zipDecompress the myfile.zip
Http://pkgs.repoforge.org/dstat/download the corresponding CPU version:
Http://nmon.sourceforge.net/pmwiki.php? N = site. DownloadWget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/download
Unzip nmon_x86_12a.zip
Archive: nmon_
Linux iSCSI target configuration process
I. Install iSCSI target for Linux
1. Operating System:
[Root @ rac2 ~] # Cat/etc/issue
Enterprise Linux as Release 4 (October Update 4)
Kernel R on an M
[Root @ rac2/] # uname-Linux rac2.mycorpdomain.com 2.6.
Binary Tree storage:
Sequential storage is a waste of space.
Binary Tree chain storage structure:
Typedef int datatype;
Typedef struct node {
Datatype data;
Struct node * lchild, * rchild;
} Bitree, * root;
Because of the recursive nature of Binary
Especially when writing ioctl, because of the 32bit userspace + 64bit kernel problem, and because of the different architecture, the length of different data types is also different, it is recommended to use u32 in ioctl, u64 and s32 ignore the data
Chapter 4: synchronizing servers with rysnc and SSH
1. rsync. This book describes ha and load balance. This chapter mainly describes how to synchronize files and content on the two servers. The content on the two servers must be exactly the same
Today I have studied the problem of data synchronization on linux.
Files on server A are synchronized to server B and server C.
Rsync server settings are as follows: (rsync installation is omitted)
Configure Server A as follows:
1. Install the rsync
Last week, the mentor assigned a small program to familiarize us with the programming method of shared memory in unix. The question is briefly described as follows:
Design a C/S structure program, read and write the program in a piece of shared
Linux service configuration: basic configuration of Vsftp 15:16:10
Tags: original works of Vsftp Linux, which can be reproduced. During reprinting, you must mark the original source, author information, and statement in the form of a hyperlink.
1. man provides help explanations for familiar or unfamiliar commands
For example: man ls, you can view the ls-related usage.
Note: Press q or ctrl + c to exit. in linux, you can use ctrl + c to terminate the current program.
2. ls view the
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