1. View Run level commands# RunLevel2. Explanations at all levels:Init 0 Terminates all processes, that is, shutting down the machineInit 1 Single-user mode, equivalent to the security mode of Windows, usually with the password changeInit 2
--list Directory ContentsList information about the FILEs (the current directory by default). Sort entries Alphabetically if none Of-cftuvsux nor--sort. Mandatory arguments to long options is Mandatory for short options too.
Function: Used
/*** Chinese word processing method*+---------------------------------* @param stirng $string The string to be processed* @param boolers $sort =false The reverse according to value* @param Numbers $top = 0 Returns the specified number, returning all
Users and user groups1./etc/groupGroup name: x: Group number: User listGroup number 1-499 reserved system numberGroup number 500-user created2./etc/gshadowGroup name: Group Password: Group Manager: User list3./etc/passwdUser name: Password
1, there are spaces in the switch directory in Windows can be switched directly, but Linux need to use the escapeFor example, to switch to/ROOT/SRC test/Command: CD src\ testUse a backslash to escape the back and add a space.2, if the execution $ndk/
Netstat-tln The meaning behind the netstat · Proto shows the protocol used by the connection.· REFCNT represents the process number that is connected to this set of interfaces.· Types shows the type of the socket interface.· State displays the
1, under the Windows editing good file Asm_compile.txt, under the Linux display below:Cat -1) ml.exe/c/coff/i d:\masm32\include reg_test.asm^M2) Link.exe/ Subsystem:windows/libpath:d:\masm32\lib reg_test.obj^M^m2. SolutionsTR ' \ r '
Set up the ftp service in linux and the linuxftp Service1. Configuration/Etc/passwd/Etc/group/Etc/vsftpd. conf # configuration file/Usr/sbin/vsftpd # Main Program/Etc/vsftpd/ftpusers # blacklist. You cannot log on to the ftp server as long as it is
Linux disk management notes, linux disk notesDisk Management1. df view disk partition usage-L only display local disks (default)-A: displays the disk usage of all file systems.-H: Calculate the disk capacity in December 1024.-H: Calculate the disk
Common Linux/Unix development auxiliary commands: assorted Linux/Unix Commands
Highlights of many fragmented commands:
1. How to download ftp files through commands
Read-s-p "Your passwd:" Passwd; wget -- user = YourUserName -- password = $ Passwd
How to copy files between different machines in LinuxZookeeper
File Copying on different machines in Linux
1. Copy local files to a remote machine:
Scp/home/administrator/news.txt root@192.168.6.129:/etc/squid
Where:
/Home/administrator/absolute
Install Mysql in rpm mode in RedHat5.8
I want to install Mysql 5.6 ..1. Prepare the file:1) Mysql-client-5.6.24-1.rhel5.x86_64.rpm2) Mysql-server-5.6.24-1.rhel5.x86_64.rpm2. Remove the Mysql version from the system:
yum remove mysql*;
3. Install the
In linux, how does vim set the number of lines to be displayed?In. in the vimrc (or/etc/vimrc) file, enter the following text: set tabstop = 4 set softtabstop = 4 set shiftwidth = 4 set noexpandtab set nu set autoindent set cindent where: Tabstop:
Apache boot script settings, apache script
By default, we compile and install apache in the source code, which cannot be started using the service command. Generally, the command we start is:
[Root @ localhost httpd-2.2.16]
Instructions for common Ubuntu operating commands
Use a USB flash drive to copy compressed filesFor more information about File compression methods, see 3.6 File Archive compression and its release.The USB flash drive is directly inserted into the
Add new hard disks, partitions, and mounts in Linux
After mounting the new hard disk, enter the fdisk-l command to view the current disk information.We can see that in addition to the current first hard disk, there is also a second hard disk of the
Use sonar-ws-client to obtain the number of violations and the number of lines of code
Sonar is an open-source quality management tool. The number of violations and number of lines of code are two metrics (Metric) of sonar quality measurement
Nginx 1.6.0 plug-in development record in RHEL 6.4
Nginx 1.6.0 plug-in development record in RHEL 6.4
1. nginx compilation and deployment#./Configure -- with-poll_module -- with-http_ssl_module -- with-file-aio -- with-ipv6# Make install#
OpenVPN Remote Data Center interconnection and Server Load balancer high availability solution
The architecture is as follows:
--- OpenVPN server construction and deployment1. Install processes on OpenVPN-1 server(1. Add an epel Source[Root @
NFS network file sharing service
NFS-Network File System. Its main function is to allow different host systems to share files or directories with each other over the network.
Application scenarios of NFS in Enterprises
In enterprise cluster
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