Lastlog|less View all user login information[[email protected] ~]# Write User12 (send information to Administrator online)Ffffffffffffffff[[email protected] ~]# Wall 222222222 (broadcast to everyone)Broadcast message from root (pts/0) (Wed Nov 12 23:
1. Basic ReadingThe read command receives input from the standard input (keyboard) or other file descriptor (which is said later). After the input is received, the Read command puts the data into a standard variable. Here is the Read commandIn the
1. View the number of concurrent requests for the Web server (Nginx Apache) and its TCP connection status:Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, s[a]} 'Netstat-n|grep ^tcp|awk ' {print $NF} ' |sort-nr|uniq-cOr:Netstat-n | awk '/
1. Download tool Cronolog Compression Pack (http://download.csdn.net/detail/sunling_sz/8144469)2. Drag and drop files to the server, any directory can be.3. Enter the installation directory to Cronolog# CD cronolog-1.6.24. Run the
6 find /root/home/zhang/* ctime 1-exec rm-rf {} \; Deletes all files created by the/root/home/zhang directory a day before six O ' Day in the morning. Do not delete folder Zhang, if this folder also to delete the words with * 6 * * * Find/root/home/
1. Standard inputs and outputsExecutes a command, has input, has output. Standard input: Standardized input, check for stdin, code 0, use or >> standard error output; Standard error output. Abbreviation: stderr, the command executes the returned
Install five input methods for CentOS
Using the ibus in the centos repository, my CenOS6.3 comes with an ibus package. Enable System-preferences-Input Method to configure ibus to boot automatically.
Install an ibus-table-wubi package
Yum install
Usage of grep in linux
Search for a specific string and display the color[Root @ fwq test] # grep-n 'the 'regular_express.txt -- color = auto8: I can't finish the test.12: the symbol '*' is represented as start.15: You are the best is mean you are
Start Linux ISO image directly from hard disk
Linux's GRUB2 boot loader can directly start the Linux ISO file from the hard disk, and can start the ISO of Live CD, instead of burning the CD to install Linux to a hard disk partition, or start from a
Linux Log File Manager-logrotate
Log files contain useful information about system events and are often used in troubleshooting or system performance analysis. For busy servers, the log file size will increase extremely fast, and the server will
Introduction to using the Vi editor in Linux
The Vi editor is a standard editor for all Unix and Linux systems. The vi editor is identical to any version of Unix or Linux.
Basically, vi can be divided into three states: commandmode, insert mode, and
How to add new resolutions to VirtualBox
VirtualBox is an open-source, cross-platform Virtual Machine Software equivalent to NB. However, the newly created virtual machine only supports several resolutions. For example, to install win8.1, there are
How to convert VirtualBox and vmwarevm
Migrating to other virtual machine programs can scare a group of people. If you have already set up a virtual machine based on your preferences, you do not need to install it from the ground up-you can migrate
Cool experience over Win10 latest Ubuntu 14.10
Prepare to install Ubuntu 14.10
Recently, Ubuntu 14.10 was officially released. This version is codenamed "Utopic Unicorn" (utopia Unicorn ). As one of the world's most popular and influential
Simple setup of FTP server in Ubuntu (linux), ubuntuftpPreface
Today, I found that the FTP server is super easy to use, saving the trouble of configuring smb with data lines and annoying lan. Of course, there are also some shortcomings. For example,
DDoSdeflate-defend against/mitigate DDOS attacks in Linux
Preface
As in the real world, the Internet is full of intrigue. Website DDOS attacks have become the biggest headache for webmasters. In the absence of hardware protection, finding a software
Default installation path of Apache PHP MySQL in Linux
Default installation path of Apache PHP MySQL in Linux
ApacheIf the RPM package is used for installation, the installation path should be in the/etc/httpd directory.Apache configuration
Php ci (CodeIgniter) log-level settings
1. The Ci error level is generally set in index. php. You can set ENVIRONMENT. Generally, select the development mode during development. After the official release, select the production mode.
The Code is as
Debian 7 install Tomcat 7
The Tomcat 7 installed on CentOS7 is started and CentOS7 comes with the httpd service. Port 80 is occupied. After the httpd service is uninstalled, install Tomcat 7 after openjdk is installed, then we found that the default
Cacti installation and deployment case
By deploying Cacti, You can monitor your company's vswitches, routers, and servers. This solution solves the running status of various devices in real time, such as the current memory usage, disk usage, and nic
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