The type of shell that stands in terms of user login:Log-in Shell:Normal usually a terminal loginSu-username (full switch)Su-l USERNAMENon-logon Shell:Su USERNAME (semi-toggle)Open Command Window under graphics terminalShell scripts that are
One, sysctl command introductionThe SYSCTL command is used to dynamically modify the kernel's operating parameters while the kernel is running, and the available kernel parameters are in directory/proc/sys. It contains advanced options for both the
The use of this parameter for Find-mtime has more pits, which is recorded here today:
The Mtime parameter should be understood as follows:-mtime N to find the file according to the file change time, n is an integer.
n indicates a file change
1, Linux system different directory can be distributed in different partitions or different hard disk devices, which is difficult for windows to reach. Directory and disk partitions are not associated.2, Mount point is the entry of the system into
My computer is the WINDOWS10 operating system, installed on the above virtual machine version 12, using the centos6.8 version of the image file installation. Note that you must use the root user to have permission to modify the contents of the
Add a user to a user group and never use it directly:Usermod-g GroupaDoing so will allow you to leave the other user groups, just as members of this user group Groupa.Should be added with the-a option:Usermod-a-G Groupa User(fc4:usermod-g
View network instant speed under Linux1.sar Command (General)Sar-n DEV 1 1001 represents one second to be counted and displayed once100 representative Statistics 100 timesSAR in Sysstat Package2. Using the NTOP Graphics tool (not used in detail,
Linux file structure to see what each folder is used for/bin binary Executable command/dev Device Special files/etc system administration and configuration files/ETC/RC.D startup configuration files and scriptsThe base point of the home user
Common commands:Files and directories:# cd/home into the ' home ' directory# CD: Return to the top level directory# CD: /.. Return to the top level two directory# CD-Back to the last directory# cp file1 file2 copy file1
Three core concepts of Docker: mirrors, containers, warehousesImage: Like a virtual machine image, as the saying goes is the installation file.Containers: Similar to a lightweight sandbox, where containers are created from images to run instances of
rw-r--r--file Type: U owner, G belongs to Group, o others 3 letters a group, R read W write x execute. (-D is a directory file, and L is a soft link file).-rw-r--r--. 1 root root 9.8K November 21:39 Install.log.syslog Example: 1 refers to the number
First, the root permission vi/etc/ssh/sshd_config modify the SSH configurationPort 8833 * Note that changes will not take effect after the change, modify the Iptables firewall port number has been otherwise cause the port number is blocked and
One, Iostat, freeIostat-x disk usageRRQM/S: The number of read operations per second for the merge. Delta (rmerge)/sWRQM/S: The number of write operations per second for the merge. Delta (wmerge)/sR/S: Number of Read I/O devices completed per second.
Online there are many ways to modify the MAC address under Linux, most of the gourd painting gourd, seems to have not been verified, not to modify the purpose.After my detailed test, the problem was finally solved successfully.Myth One:#ifconfig eth0
Hybrid devices for the character device:To define a hybrid device:struct misdevice{int minor; Why is there only a secondary device number because the hybrid device is a /////////////////////////linux system with the default main device number of 10
Linux System Programming ThreadsScene:There are two thread functions in a dual-core virtual machine that perform the following functions:Line Cheng: printf ("hello\n");Thread Two: printf ("world\n");When the program runs in a single-core state and a
Linux Kernel knowledge point recording [memory management] [process scheduling] [Exception debugging] [lock] [kvm virtualization] [kernel startup], linuxkvm
1. How do I understand memory management?
. Hardware principle and paging mechanism
Selenium assertions and exception type Parsing
Selenium assertions and exception type parsing.
Assertion:
Verify that the application status is the same as expected.
Common assertions include verifying the page content, such as whether the title is
In linux, set the program to the systemctl service and start the system.
Take the nexus service as an example:
Enter/usr/lib/systemd/system, create the nexus. service file, and write the following content. For field descriptions, refer to 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