System administration CommandsStat Displays details of the specified file, more detailed than LSWho shows online loginWHOAMI Show current Operation userHostname Display host nameUname Display System InformationTop dynamic display currently consumes
Change all of the. php files under the store to the owner of FTPD[Email protected] ~]# chgrp ftpd/store/*.php[Email protected] ~]# chown ftpd/store/*.php=========================== Add vsftp Account start===================================View Linux
Original link: http://www.cnblogs.com/sell/archive/2013/07/24/3210198.html1. Download tar.gz version of Ant from http://ant.apache.org2. Copy to/usr3, Tar-vxzf apahce-ant-1.9.2-bin.tar.gz decompression4, chown-r yjdabc apahce-ant-1.9.2 Change
Install Inotify-tools First#!/bin/shdir=/opt/pup/archive//usr/bin/inotifywait-mrq--format '%f '-e create ${dir} | While read F do if ["${f##*.}" x = "png" x];then#echo upload file: ${f}/usr/bin/ncftpput-u a-p a 10.151.84.139. ${dir}${f}fi
Basic Linux Knowledge1. Interface1) GUI: Graphical interface Interface gnome is a visual interface, a beginner is best to start with this interface, written in C language;2) CLI: Command line interface, when a Linux minimum installation is only this
Concurrent Linux under the high concurrency of Nginx server, when the number of TCP time_wait sockets often reach 20,000 or 30,000, the server can easily be dragged to death. By modifying the Linux kernel parameters, you can reduce the number of
When you watch a video in Firefox on a Linux system, you don't have the Flash Player plugin installed to play the video. Simple steps to install the plugin, you can happily use the Linux system to watch the video. 1. When downloading, select the
1. Man helps explain commands you are familiar with or unfamiliar withEg:man ls to view LS-related usageNote: Press the Q key or CTRL + C to exit, under Linux you can use CTRL + C to terminate the current program run.2. LS View the directory or file
When applying unix/linux, we usually want to let a program run in the background, so we will often use & at the end of the program to let the program run automatically. For example we want to run MySQL in the
There are two modes for triggering a Oprofile sample based on the CPU architecture:1) NMI mode: Use the performance counter function of the processor to specify the type of counter and the number of progressive count. Like whatType=dtlb_miss, count=5
Linux boot-up process:1. Press the power buttonSupplementary: The main hardware of computer case is: motherboard, hard disk, optical drive, CPU, memory, video card, sound card, network card2. Initializing and detecting hardware using the BIOS
NETSTAT-ANP | grep 8080//you can clearly know which program is using the 8080 portVim file name//Open the corresponding fileKey ESC//Exit Edit: Q!//do not save file, exit directly: Q//Exit VI: x//Save (if the current file has been modified) and
chattr command usage: chattr [-RVF] [-v version] [mode] FileMost crucially, in the [mode] section, the [mode] section is composed of +-= and [Asacddiijsttu] characters, which are used to control the properties of the file.+: On the basis of the
CD command: such as cd/tmp---into the TMP directoryCd.. /---Back to the top level directoryCD./---current directory
ls command: such as ls-a---view all files (including hidden files)
mkdir command: If mkdir/test----Create Test folder
Common socket types streaming Sockets (SOCK_STREAM)---TCPProvide connection-oriented, reliable transport services, data error-free, no duplication of transmission,and received in the order in which they were sent. datagram Sockets
Use batch processing on Windows to copy files from a remote Linux server to a local################################################Install Cygwin to select the following installation package:Autoconf2. , automake1.1, Binutil, Gcc-cor,Gcc-g, GD, Pcre,
One Linux Command every day 5, Linux Command
Command name: touch Function Description: Create an empty file format: touch file name
Example: $ touch japan. list (created in the current path) $ touch/root/japan. list (created in the specified path)
$
The steps for uninstalling MySQL in CentOS Binary Package/source code installation are as follows: centosmysql
View the mysql running status of the current system
[root@zendlinux ~]# ps -ef |grep mysqlroot 1153 1 0 15:40 ? 00:00:00 /bin/sh
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