In Linux, check the number of tcp connections and the status netstat-n | awk & amp; #39;/^ tcp/{++ S [$ NF]} END {for (ainS) printa, S [a]} & amp; #39; TIME_WAIT8947FIN_WAIT115FIN_WAIT21ESTABLISHED55SYN_RECV21CLOSING2LAST _. in Linux, check the
Two time commands in linux are found in linux Today. in summary, www.2cto.com has two time commands in linux. one is the bash command, the other is the program/usr/bin/time. The bash time command can only display the execution time of the program,
Ubuntufishshell is a very good shell in ubuntu, because it can check whether the command you entered is correct, install as follows: www.2cto. comsudoapt-getinstallfish: input fish directly from bash to fish to prepare fish ,... ubuntu fish shell
Introduction to Unixshell user-defined functions and use 1. functions without parameters and without parameters can be directly called to implement some functions. The function is written in scripts and stored together with other commands, but the
Adding the root group permissions for linux users in Debian (ubuntu) usually does not like to directly use the root account, which causes a lot of permission troubles. the solution is not only sudo, there is a more convenient method for www.2cto.com
Troubleshooting during linux startup a fault occurs when the MBR is damaged www.2cto.com. if a CD is available, www.2cto will be directly installed again. comMBR repair (ensure that the system has been installed on the hard disk) 1. first, we need
Troubleshooting of redhat-5.4 1. red Hat system boot process www.2cto. com2. rescue mode repairs failure of mbr boot www.2cto. if comlinuxrescue has a CD, reboot from the CD to repair mbr, enter the rescue mode, select the operating language, reboot,
Nginx summary (6) nginx summary (5) http://www.2cto.com/os/201303/193042.html Nginx is used to connect to php. We use php-fpm. php has been installed above. Next, let's take a look at www.2cto.com [root @ host2sbin] # lsphp-fpm [root @ host2sbin] #
Simple script writing 1. exercise: write a script www.2cto.com to determine whether there are users in the current system. the default shell is bash. if so, the number of such users is displayed. otherwise, no such user is displayed; grep & quot;
Linux grep command set for analyzing apache logs in linux. a good article is worth noting. with these commands, apache log analysis is a major part of the history. Www.2cto.com instance: month. january II... linux grep command set for analyzing
The unix process is associated with the opened file. The UNIX process and the file are associated with www.2cto through the file table. the comv node represents the real file metadata (linux only has the I node, but the function is similar). every
Test the shortcut key of the ubuntu terminal -- modify -- add ingwww.2cto. comctrl + alt + t open the shellBashShell shortcut & lt; ALTd & gt;: delete the part from the cursor to the end of the current word & lt; ALTa & gt ;: move the cursor to the
Awk uses the following methods to reference external variables to call variables: www.2cto. com1.awk & amp; #39; {printa, B} & amp; #39; a111b222yourfile note: The variable must be placed before the file name; otherwise, it cannot be called. example:
Tcpdump filter a port we use Tcpdump are used: Java code tcpdump-iethxwww.2cto.com the following command is to view the access to port 80, sort, take the first 20 Java code tcpdump-ieth0-tnndstport8... tcpdump is used to filter a port. generally,
Linux distinguishes physical CPU, logical CPU, and CPU cores (I) concept www.2cto.com ① physical CPU the number of physical CPUs in the actual Server slot the number of physical CPUs, the number of non-repeated physical... information & nbsp; | &
Svn add *. so and other files. when svnadd is used in linux to add and upload files to svn ,*. so *. bin and other files are ignored: www.2cto.com two solutions: Method 1: Each time you add a file, use the following command: svn... svn add *. so
Shell tips and knowledge points: After a command is executed, ignore the returned value and continue executing the next line www.2cto.com & amp; it indicates that only the preceding command is true to continue executing the subsequent command;
Shutting down a Linux system is different from restarting a desktop system. as a server, we rarely restart a Linux system. However, in the following cases, we will restart the system: www.2cto.com hardware change system configuration the system is
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