When using Linux, what happens when a port is occupied and the process is started (but is not in a controlled state)?When a known port is found to be occupied, you can useNETSTAT-APN | grep yourport to view the PID of the process that occupies the
1,/etc/passwdBy: Split into 7 fields(1) User name rules: uppercase and lowercase letters, numbers, minus signs (not appearing in the first place), dots, and underscores, other characters are illegal(2) x put the password and put it on the/etc/shadow
Complaining is just an act of incompetence, without it. --Brother Ma, it's always a positive energy.
Regular Expressions:
Understanding: A pattern that is pieced together by a meta-character and a normal character, summed up by the
I. lsoffor all files of Linux,list open FIles is undoubtedly very useful, the common parameters mark, for follow-up quick query. 1.-I.Internet, which is network-related, usage:LSOF-I[46] [protocol][@hostname |hostaddr][:service|port]---IPV4 or
http://blog.csdn.net/weiqing1981127/article/details/8298585The interrupt handler is used by the kernel to respond to interrupts, it runs in the interrupt context, the interrupt handler is the top half, and when an interrupt is received, it starts
Simple System Troubleshooting1. Bash Program failure:Symptom: Bash program file is damaged, causing the system to boot, unable to enter the bash console for operation;WORKAROUND: Go to emergency rescue mode and reinstall Bash program;[Email
Today, I met VMware under Linux and host Win7 system shared files, suddenly disappeared under Linux problemEnvironment : vmware10.0.0 installed CentOS, host system is Win7.background : The idea was to get the files under Win7 to be shared with Linux
Linux commands a lot, but usually use more often so many, here to tidy up what I think commonly used, or say practical commands."1" Appetizer: The difference between extracting file formats:*.tar Decompression with TAR–XVF*.gz extract with gzip-d or
First, the network card configuration1, ifconfig network card information, configure IPIfconfig eth0 192.168.2.1022, modify the network card configuration (can not connect the IP to occupy)Enter the Edit interface command:
There seems to be no dedicated DNS view command under Linux.Using the Ifconfig command also does not see DNS information. (Or maybe I don't know)The DNS configuration information for this machine is in:/etc/resolv.conf[email protected] etc] #cat
To compile the NetFilter log module, for example, the kernel directory is linux-3.18.91. Confirm the configuration parameters of the compiled module in. config, which can be viewed through make menuconfig, in Linux-3.18.9/net/netfilter/makefile:obj-$
Linux divides the virtual address space into two parts, called the kernel space and the user space, respectively.
The user space for each system process is completely separate from each other, and the kernel space at the top of the virtual
LinSSID: A graphical WI-Fi scanner in LinuxIntroduction
As you may know, LinSSID is a graphical software that can be used to find available wireless networks. It is fully open-source, written in C ++, using Linux wireless tools, Qt5, Qwt6.1, it
Install Eclipse in Linux for C/C ++ Development
Introduction
C/C ++ IDE is selected in Linux. Eclipse is recommended.
Tools involved: JDK and Eclipse.
Installation Process
See download JDK and Eclipse C ++ to get the jdk-8u40-linux-i586.tar.gz
[Ubuntu14.04 installation] network Initialization Configuration
I. Environment
1. Ubuntu Server 14.04
2. Vmware Workstation 9.0
3, physical machine: Windows7 64bit, i5-3470 (3.20Hz), 8 GB
Ii. Basic Points
1. There are three ways to connect a
GNOME 3.16 officially released
At the end of last month, we showed you a preview of the Gnome 3.16 page. Now, the much-anticipated desktop environment has officially reached version 3.16. "We are proud to announce GNOME 3.16 today, and 1043 authors
Command Prompt format in Linux
Generally, the command prompt format is "[user name @ Computer Name Current Directory] command prompt". Of course, you can modify it, that is, edit ~ /. Bashrc file, find the PS1 definition, in which PS1 is the
Redhat 7.0 uses CentOS 7 Yum network source
The redhat update package only takes effect for registered users. Therefore, we manually change it to the CentOS update package. CentOS is almost the same as redhat, so you don't have to worry about
Common query commands in Linux
View version, operating system, or cpu Information
File:/etc/issue view OS version/proc/cpuinfo view cpu Information
Command: hostname to view the computer name uname to view the operating system information lspci
Set up an ISCSI server on CentOSISCSI server, install target software
yum install scsi-target-utils -y
1
Modify the configuration file/etc/tgt/targets. conf and add the content to the last line.
& Lt; target iqn.2014-09.com. example: target1> #
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