Group Information file:1. File Address:/etc/group-rw-r--r--. 1 root root 492 October 6 21:56/etc/group2. Contents of the file:XIAOL:X:500:3. Information meaning:1th field: Group name2nd field: Group password flag3rd field: GID4th field: Additional
1. View the number of device cardsLspci|grep Ethernet See the number of PCI slots NICs2. NIC configuration file/etc/sysconfig/network-scripts/ifcfg-interface-name (Interface-name Depending on the type of network card, sorting is generally eth0
linux--Find and replaceText lookup:grep, Egrep, Fgrepgrep: Searches a document based on a pattern defined by a basic regular expression and displays a line of text that conforms to the patternNote: Search is part of the search, as long as a line has
1, installation yum-y install NSCD2. configuration file:/etc/nscd.conf3. cache files: Cache db files under/VAR/DB/NSCD. Statistics information can be viewed through nscd-g4, Clear cache: Nscd-i passwd/group/hosts; Service NSCD Restart5, NSCD can
When using RM to delete a large batch of files, it is possible to encounter the problem of "parameter column too Long" (Argument list too long). As shown below[Email protected] bdump]$ rm-v epps_q001_*-bash:/bin/rm:argument list too longSee how many
The Vmstat command is the most common Linux/unix monitoring tool that can show the status of a server at a given time interval, including server CPU utilization, memory usage, virtual memory exchange, IO Read and write situations. This command is I
Linux backgroundLinux is the full name of Linux is not UNIX. This name to see its simple, in fact, very connotation, the whole sentence of the first letter together is also L-n u*x, similar to the recursive structure, it is a programmer's
Today, I bought a 1T mechanical disk used as a database, and the computer can recognize it properly by loading a new hard disk.The hard drive is mounted in the order in which they are mounted, formatted with partitions, and so
1 Background execution2. Viewing the execution of the current command in the same session environmentExit the console, re-putty up to see the current implementation (PS can see, jobs can not see)If you want to kill the background shell process.Find
One, more commandsMore features like cat, the Cat command is the contents of the file are completely displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is
The Action tar command is a reliable way to back up files in a unix/linux system. It is almost possible to work in any environment, and its use rights are for all users.Grammar:tar [main option + Secondary options] File or folderMain options:C
Filter the open message for a port numberNETSTAT-ANPL | grep 9010Filter information for a service process that is open by a queryPs-ef | grep nodeTo force a kill off a processKillall-9 Service Process NameKILL-9 Process PID NumberView the number of
First, install the Linux system with the virtual machine and find the terminal in the application (it is important that the Linux system performs the task as a command, and all the commands are entered and executed in the terminal), and then enter
Add Users:Useradd Xiaol-U manually specify the UID number of the user-D Manually Specify home directory-C Manually specify the user's description information-G manually specifying user initial groups-G Modify User Attach GroupAttention:Assigning
Linux installation can be divided into 4 points, but also some 2 (/, swap area), turn a linux20g is enough1/boot Disk Format Ext4We can divide the boot area first because the boot space requirement is very small, for storing the system boot file
in a single thread program. We often use "global variables" to implement shared data among multiple functions, but in a multithreaded environment. Because the data space is shared. Therefore, global variables are also shared by all threads. But
When the system has multiple sets of JDK, it is inconvenient for the system to be equipped with unified java_home, we may want to specify the JDK path for Tomcat.1.Linux Tomcat Specifies the JDK pathLocate $cataline_home/bin/catalina.sh and
Supervisor installation configuration, supervisorSupervisor Introduction
Supervisor allows its users to control multiple processes on UNIX operating systems. The block is as follows:
Convenient
You need to writeRc. dScripts are usually
Xshell uploads files locally to Ubuntu and downloads files locally from Ubuntu,
1. The first method is the most commonly used: If Xshell and Xftp are downloaded, Ctrl + Alt + F will be able to select the mutual file transfer! (Virtual
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