First, modify the operating system core parametersUnder root user, perform the following steps:1) Modify the user's shell limit, modify the/etc/security/limits.conf fileInput command: vi/etc/security/limits.conf, press I to enter edit mode, add the
Inter-process Communication-mmap#include void *mmap (void *addr, size_t length, int prot, int flags, int fd, off_t offset); int Munmap (voi D *addr, size_t length); The essence of mmap is to synchronize the memory with the files on the hard disk.
linux Command ----CD"Feature description"CD: Represents the Cut directory (change directory);"Command Syntax"CD [options] [parameters]"Option description"CD or cd~: Indicates whether the current directory can be switched to the user's home directory
I. OverviewIn the Linux environment, there are many scripting languages that automate, such as Shell, Python, Perl, Tcl, and so on. The shell language is the most common scripting language for automating, because it is tightly coupled with shell
1,echo "AA" > Test.txt and Echo "BB" >> test.txt> empties the original file and writes the contents to the file,>> the end of the file 2,chmod go+w-r/home/zhangyAdd Write permissions to group users and other users 3,TAR-TZVF test.tar.gzList archived
To see whether a Linux machine is a 32-bit or 64-bit method:File/sbin/init or File/bin/ls/sbin/init:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for Gnu/linux 2.6. Stripped,If the display 64-bit is 64
Summary three: Linux get command HelpOne, command type viewUsage: type COMMANDSecond, Shell built-in commands usage:helpCOMMANDThird, external command1 , get brief help information usage:COMMAND--help2 , get detailed help information ( user manual )
System Information The processor architecture of the Arch Display Machine (1) UNAME-M display the processor architecture of the Machine (2) uname-r display the kernel version dmidecode-q display hardware system parts-(SMBIOS/DMI) hdparm-i/dev/ HDA
When multiple process tables access a resource on the system simultaneously, such as writing a record of a database at the same time, or modifying a file at the same time, it is necessary to consider the synchronization problem in the city to ensure
11.3 Starting a new process canstart another program inside the program to create a new process. This work can be done through the library function systemYes.#include int system (const char *string);the function of the system function is to run the
1 redirects1.1 Redirect Symbol> Output redirected to a file or device overwriting the original file>! Output redirected to a file or device forcing overwriting of the original file>> output redirected to a file or device to append the original file1.
The Pstree command is a command that looks at the process tree or structure[Email protected]~] #pstree [options] Note that the-P and-u cannot be used at the same time if the former is invalid but not an errorOptions:-P: Show PID of the process-U:
Use Samba to share files between Linux and Windows, sambalinux
Preface
FTP and NFS have always been common methods of LAN file sharing. However, after recently accessing Samba, I learned that some users need to simplify access learning costs to
Linux monitors external IP connections at a certain time point, and linux monitors
I believe everyone is familiar with the netstat command. This command is mainly used here.The DDoS Deflate tool uses the number of IP addresses to measure the number
Operating system --- learning notes 0, operating system --- learning notes
Note: This document follows the "Netease cloud classroom"-Harbin Institute of Technology-instructor Li Zhijun's Open Class course. I would like to thank Mr. Li for his busy
Virtual Machine and linux system installation
Download VMWare, decompress it, and follow the prompts to install VMWare on the hard disk.
(1) create a virtual machine
A. Double-click the "VMwareworkstation" icon on the desktop to run the VM.
B.
How to view the hard drive brand model and other details of CentOS
First, use the smartctl -- all/dev/sda command to check the hard disk information. This command comes with CentOS. The result may be as follows:
smartctl 5.43 2012-06-30 r3573 [x86_64
Tips server ssh forward reverse proxy, tipsssh
1. ssh userxxxxname@115.28.87.102(Directly connect to the remote host using ssh instead of connecting to the specific remote host using http or ftp)Exit and logout close connection exit
2.
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