1: Undo the extra service according to the use of the machine, many services are not needed. If Linux is used only as a desktop, there is no need for SendMail, httpd, and many other services. If your servers (server network resources are downloading)
Quotaon
Quotaon command: Limits on disk space used to open a user
Parameters
-A to turn on all disk quota limits
Disk quota limit for-G group
-P list Status
-U user Quota limit
-V Runtime displays detailed processing information
--HELP
Atrm
Deletes the current user's at task, equivalent to at-d
Cases:
Delete at task
The code is as follows:
[Zhangy@blackghost ~]$ ATQ
3 Fri Apr 12:56:00 2013 a root
The code is as follows:
[Zhangy@blackghost ~]$ ATRM 3
Batch
Batch to
In many people learning the Linux command line, you will often encounter a command not found error, which can occur mainly in the following ways:
Command writing error, such as some people make Windows commands and Linux commands wrong, such as
The Linux operating system, a cloning system developed on the basis of UNIX operating systems, has become one of the most widely used UNIX-type operating systems in the world today, with the help of Internet networks and the combined efforts of
After inserting a U disk, follow these steps:
1.fdisk-l/dev/sd*
Usually this step will be able to find a U disk, if the U disk has led will also be lit, said to be found.
2. If you do not respond to the previous command, or if some information
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--0.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--1.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--2.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--3.L
-rw-r--r--1 Work Work 17:27-rw-r--r--. R
-rw-r--r--1
porting a Windows program to Linux, found that two operating systems differ greatly in the way many data types are named, such as u+x for unsigned data types in Windows, such as UINT, UCHAR, ULONG, and Linux on the need to be the same, are
1, Sync
Sync:flush file system buffers.
Sync Command function: Refreshes the file system cache and writes data to the hard drive synchronously.
The need to perform the sync command: In a computer, the data processed by the CPU is first read into
Applicable system: Linux (Redhat, Centos,debian,ubuntu)
* Linux Cloud Server data disk is not partitioned and formatted, you can follow the following steps to partition and format the operation.
The following operation will divide the data disk
1) effective after reboot
Open: Chkconfig iptables on
Close: Chkconfig iptables off
2) immediate effect, restart after failure
Open: Service iptables start
OFF: Service iptables stop
It should be explained that for other services under Linux,
The command runs with Ctrl+z, forcing the current process to turn back into the background and stop it.
1. Bring the process back to run (background)
(1) Use the command bg
Example:
zuii@zuii-desktop:~/unp/tcpcliserv$./tcpserv01
* Use ctrl+z
1, lsmod column to mount the kernel module;
Lsmod is the name and size of the module loaded in the current system, and we can also view the/proc/modules, we can know the system has loaded the module;
The code is as follows:
[Root@localhost beinan]
Today in the deletion of this filename delete to nausea:
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--0.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--1.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--2.L
-rw-r--r--1 Work work 0 Mar 17:27-RW-R--R--3.L
The following is a description of the maximum number of threads that can be used in a process in a Linux environment.
By default:
Main thread + worker thread +
Contains the main thread and a worker threads, up to 255, that is, you can only
1.tftp. What's that for? Communication between host and Target machine. In short, the computer communicates with the board.
2.NFS.? Full name NET file Dystem simply set up a shared file on a Linux host, and then let some eligible Linux and the
1. How to set up the system to start directly into the character working mode, the system provides multiple virtual consoles, the default 6, using ALT+F1 to ALT+F6 switch, the graphical interface can press CTRL+ALT+F1 to CTRL+ALT+F6 switch to the
Varnish-cache in the Linux system is a set of High-performance reverse Web site cache server, such a large server to facilitate the use of computers, but on the computer how to install and experience it! Now let's take a look at it!
The main
Name: Halt
Use Permissions: System Manager
How to use: Halt [-N] [-W] [-d] [f] [-i] [P]
Note: If the system RunLevel is 0 or 6, then shut down the system, otherwise the shutdown instruction (plus-h parameter) to replace
Parameters:
-N: Do not
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