Redirect:Default output device: Standard output, stdout,1. Standard output for displayDefault input device: standard input, stdin,0. Standard input for keyboardStandard error Output: stderr,2. The standard error output is the display.The input
let's start with a brief summary of the previous one, which we learnedLinuxThe classification of commands, and the most basic commands in each category. Today we are going to get a detailed understanding of these commands, in order to understand the
#待用Ps-ef | grep Tomcat -ef | grep java -ef | grep xxkill-9 Process Number (Can be obtained by the above command)Ps-auxTar zxvf file pathUnzip the zip war unzip file pathView file cat file path (shown from the first line)TAC file path (shown
User management is done under the root user 1, the configuration file path: Save user information files:/etc/passwd Save password file:/etc/shadow Save user Group files:/etc/group Save User group password file:/etc/gshadow user
The database needs to be automatically backed up at 0 points per day, so a scheduled task needs to be established. I chose to use crontab to add a timed task to execute the shell file under Linux. The shell file has a database backup command.一.
In the Linux operating system, the FTP function is one of the most commonly used services, usually write code is done under Windows and then FTP to Linux. This FTP service is essential.However, in the newly installed Linux operating system, the FTP
Explain the output of the free command on Linux.Here is the result of the free run, with a total of 4 rows. For convenience, I added a column number. This can be seen as a two-dimensional array fo (free output). For example:
FO[2][1] = 24677
Before we learn to develop Linux , we have to build a good environment for compiling and developing. But because of the environment and the choice of tools, everyone's habits and hobbies are different, so this article I will post some necessary
Idea: first need to support iSCSI function in two servers, then need to install two software server installation scsi-target....rpm inside the/cluster storge ./media/clusterstorage scsi-target-utils-1.0.8-0.el5.i386.rpm
Client
Previously compiled 2.4.10 version of the kernel, very good compile, the middle has been missing the SCSI low-level drivers under the BusLogic SCSI support option caused the system can not boot, and then open the option is OK, Turn off some useless
Find-typeFile type: Common f common file, D directory file,-nameThe most commonly used option is either to use this option alone or to use it with other options. You can use a file name pattern to match files, remembering to enclose the filename
Rm:remove files or directories: Deleting a file or directoryRM option:-F:--force:ignore nonexistent files, never prompt: Ignore nonexistent files, do not prompt-i:prompt before every removal: prompt on each deletion, the default RM is rm-i in the
1. Description The kernel of Linux is responsible for the related work of hardware management, resource scheduling, process management, and resource management, in which memory resource management is a very important work for kernel. Kernel when
1. # Parted/dev/sdbGNU Parted 1.8.1Using/dev/sdbWelcome to GNU parted! Type ' help ' to view a list of commands.2. Format the MBR disk as GPT(parted) Mklabel GPT3. Dividing all spaces into one partition(parted) Mkpart primary 0-1This step can also
Due to the project needs, the user name of the Linux system needs to quickly get the group name, through the test summarized as follows:Method 1: Pass the groups command[[email protected] ~]# for i in ' awk -f ': ' ' {print $1} ' /ETC/PASSWD ';d
On CentOS 6.3, you can use an external SMTP server to send mail by installing MAILX.Yum Install Mailx-yAfter the installation, edit the configuration file.Mailx-v12.4 7/29/08 RPM-QC MAILX/etc/mail.rc Vi/etc/mail.rcAt the end of the file, add the
Network Yum Source, the largest netease (163) is a, whether the speed or software version, are very good, the Yum source is set to 163yum, can improve the speed of package installation and update, while avoiding some common software version cannot
Sorting interface in Linux kernel -- sort function
The sort function in the Linux kernel is actually very similar to the qsort function. Let's take a look at qsort:
Qsort function prototype is
Void qsort (void * base, size_t num, size_t width, int (
Linux mount command details
In Linux, image files, mobile hard drives, USB flash drives, Windows, and NFS are shared.
Linux is an excellent open-source operating system that can run on various computer systems ranging from huge to small, with the
RHEL7.0 Log System
This article is a note I took when studying RHCE7.0. I hope it will be helpful to you.
System log Architecture
System Logs
The process and the operating system kernel must be able to log the time before occurrence. These logs can
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