Linux command statement cheats

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

Installation and deployment of Linux Nginx

Deploy Nginx [Email protected] ~]# mkdir/home/oldboy/tools-p #创建安装包存放位置[Email protected] ~]# cd/home/oldboy/tools/ [[email protected] Tools]# rz-y              #上传nginx安装包 [email protected] tools]# #wget -Q http://nginx.org/download/nginx-1

Linux add vsftp account and set directory permissions

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

Installing the ant environment on 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

Linux Sync files with inotify

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 Knowledge

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

Modify the Linux kernel parameters to improve the performance of Nginx server at high time

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

Installation of Firefox flash under Linux

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

Several basic commands commonly used by Linux

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

The use of the Linux nohup command.

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

Demo Analysis of Linux tuning tool Oprofile

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 system boot up process

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

Linux RPM Installation Jenkins app service

1. Download and install the Jenkins installation packageWget-o/etc/yum.repos.d/jenkins.repo Https://pkg.jenkins.io/redhat-stable/jenkins.repoRPM--import Https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum Install Jenkins2. Yum installs Jenkins

Common Commands under Linux

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

linux-changing file properties-chattr and Lsattr

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

1.1 Linux Common commands

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

"Linux network Programming" common socket types

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

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

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

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

Total Pages: 5467 1 .... 2536 2537 2538 2539 2540 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.