1. ls command:List abbreviations, viewing files in a directoryls [options] [directory name]DOS command: dir2. Common parameters:-a,–all lists all files under the directory, including the. The implied file at the beginning-A with-a, but not listed "."
"Choice question" in the shell environment, how to see how long the remote Linux system has been running?A, SCP [email protected] is monitored host IP "uptime" B, ssh [email protected] is monitored host IP "uptime" C, ssh [email protected] is
Install a CentOS system, each boot is a desktop interface, want to switch to the command line interface, so, make the following summary:1. Graphical interface and command line interface switch shortcut: CTRL+ALT+F22. How do I set the command line
The function of the WC (Word Count) command in a Linux system is to count the number of bytes, words, and lines in the specified file, and to display the output of the statistic results.1. Command parameters:-C Count bytes. -L counts the number of
Linux system securityConfiguration of the newly installed machine1 Setting a password is a bit more complicated2 Disable root remote SSH login3 Modifying the SSH port4 Setting up a firewall5 using Tcp_wrapper6 Disable Control+alt+delelte restart7
FindFind is the most common and powerful find command, finding a file on disk, using it to find any file you're looking for, which is a bit slow.Find Path-option [-print] [-exec-ok command] {} \;Path is the file, option is the parameter, [] the
Linux file attributes and user groupsLinux file properties and content are stored separately, file attributes have Inode number, content in block blocks.1.650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/7E/wKioL1dDGWuQ8F50AABOGhADgGI683
1. Go to/etc/sysconfig2. Use the VI command to edit the iptables. " VI iptables ", and then show# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:i Nput Accept [0:0]:forward
The find directive is one of the most important operating instructions under Linux and is used for file tree species lookups (possibly accessing the disk) for relevant processing.First we should set up several files ourselves (mkdir command), then
Kernel module compilation 1, Experimental principleLinux modules are a collection of functions and data types that can be compiled as standalone programs. The module mechanism is provided because Linux itself is a single core. Single core because
Using static and dynamic libraries today, a few examples have been written to solidify the foundation.hello1.c ———————————————————— #include void print1 (int i) {int J; for (j=0;j }hello2.c _________________________________________________#include
The GRE tunnel is a IP-OVER-IP tunnel, which is a generic routing encapsulation protocol that encapsulates the datagram of some network layer protocols so that the encapsulated datagrams can be transmitted in the Ipv4/ipv6 network.The tunnel is a
query for Linux commands and files1 query for script file names
which(find "Execute File")
Parameter-A: Lists all the commands that can be found in the path directory, not just the first found directory name
Taking Ifconfig as
In the Linux graphical interface, we can easily view a file or directory to see the last modified time and access time.Unfortunately, on Linux or Unix-like operating systems, the creation date of the file was not saved for us.650) this.width=650;
Find as the name implies, the Linux Find command provides a considerable number of search criteria, so the function is powerful, you can find in many files or directories you want to any file or directory.Find command format: Find Pathname-options [-
Ctags View CodeMakefile Make Maintenance projectI start writingESC U UndoVim default open mode is command-line modeInsert mode is normal in edit modeBottom line mode: WqGG to First line HEADShift+g to the lastDD to Ctrl+xP to pate somethingP toS+4 $
Huangshan Pine, published in cnblogs:http://www.cnblogs.com/tomview/For a win programmer, to transplant the program under win to Linux, you need to encapsulate some of the platform-related functional code, so that when using these functions, you can
Nginx configuration polling service, nginx configuration polling
We usually use the Round Training Service when we use nginx as a proxy.
# Set the polling name
Upstream zyy {
Server 127.0.0.1: 8080 # apache service on the local machine
}
Performance Comparison Between nginx + php and apache + php and nginx
Test Tool http_load the same dynamic page test, the same hardware resources, nginx + php performance is worse than apache + php, the same concurrency, the premise of the same
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