The special syntax of Bash is introduced first${parameter#*word}Where parameter is a variable, word is a delimiter, which means that the string from the leftmost left character of the variable to the first match to the delimiter (word) is
To view the occupancy of a port:lsof-i:Example: lsof-i:8080Netstat-apn|grep Example: NETSTAT-APN | grep 8080After you find the process number, use the following command to view the details:Ps-aux|grep Once you know the process number,Kill can kill
Problem: Write a program, try to listen on the 21 port, the result in the execution of bind failed.Sockaddr_in sock_addr;sock_addr.sin_family = af_inet;SOCK_ADDR.SIN_ADDR.S_ADDR = host_inet_addr;Sock_addr.sin_port = htons (port); Port=21ret = bind
Zhou clan, finishing technical documents, for the next generation to stay a little tutorial ...The system defaults to the most installed students know, basically the home partition is very big, but in reality, our home does not need so big, most of
1, command line completion, PATH completiontab, press two tab to give all the commands of the systemCommand completion: Finds the path defined in the PATH environment variable based on the string we give, and more than one press two times tab to
a . VSFTPD Description :There are many softwares for implementing FTP service under Linux, the most common ones are vsftpd,wu-ftpd and proftp. VSFTPD is installed by default in Red Hat Enterprise Linux.Access to the FTP server needs to be verified,
Locate the/usr/src/kernels/directory in Linux, which has a system kernel fileExample: 2.6.32-431.11.2.el6.x86_64Linux kernel version rulesThe Linux kernel version consists of three sets of numbers, such as: XX.YY.ZZXX: Currently released kernel
Linux often uses commandsPWD View the absolute path of the current working folderCat Input.txt Viewing the contents of a Input.txt fileLS Displays all files and subfolders under the current folderRM Recommender-dm-1.0-snapshot-lib.jar Delete
Today under Linux to execute w This command, appeared in the column window is too narrow, do not know what is the problem, later on the internet, look at a solution, after w in the way of pipeline input, and then execute W will not error[Email
How to Learn the common operation methods of linux Files
23:36:10
In linux, file descriptors are used to represent device files and common files. The file descriptor is an integer type of data, and all operations on the file are implemented through
Linux Top commands (1)
TOP is a dynamic display process. You can press the buttons to refresh the current status. if you execute this command on the foreground, it excludes the foreground until the user terminates the program. more accurately, the
Interrupt (1) -- Definition and initialization of the Interrupt Descriptor Table (based on 3.16rc14); symbol table 3.16rc14
1. Definition of the Interrupt Descriptor Table (/arch/x86/kernel/traps. c)
1 gate_desc debug_idt_table[NR_VECTORS]
Centos service optimization operation instructions
Service name suggestionsNetworkManager OFF is a background process that automatically switches network connections. Many laptop users need to enable this function, which enables you to switch
Getting started with Redis configuration and C ++ in Ubuntu
Redis is a high-performance key-value database. The emergence of Redisedis largely compensates for the shortage of key/value storage such as memcached. In some cases, it can complement
Strong Login User withdrawal in CentOS
You can run the pkill command to exit common users logging on to linux!
1. First, check the active user: w
Display description:
USER: current active USER
TTY: terminal name
FROM: Remote Login Host Name
How to install Centos7.0 on a vmvm1. Before writing:The first official text file.{0 _ readme.txt}This is probably the case ).CentOS-7.0-1406-x86_64-DVD.iso: this image (DVD image) includes all the installation packages that can be installed with the
CentOS 32-bit & 64-bit maximum memory
32-bit Linux supports up to 4 GB of memory, and 64-bit Linux supports up to TB level.(In fact, the maximum supported content is not related to the type of the operating system, but to the number of operating
CentOS web configuration on virtual machines
1. Set the VM Nic to bridge
2. Set the IP address to a fixed IP Address
3. Set Subnet Mask
4. Set the gateway to the IP address of the LAN router.
5. Set DNS my centos system, need to have DNS1 DNS2
Install Apache2.4.9 in the source code of CentOS7
1. Prepare the environment
Centos7 minimal installation
Install wget, vim, gcc, gcc-c ++, and cmake in yum.
2. Install apache2.4.10
Official Website: http://httpd.apache.org/
Download the source code
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