Back up linux sudosucdtarcvpzfbackuptgz -- excludeproc -- excludelost + found -- excludebackuptgz -- excludemnt -- excludesys if you want to exclude all other partitions, you can back up the linux system # back up the linux system sudo sucd/tar
In fact, linuxlog Log parsing can be said to be a monitoring system record, and the system will basically record every action. In this way, the information is very comprehensive and important. Generally, only the root user can perform inspections!
For details about the Linux system daemon, ntsysv can turn off the services acpid, haldaemon, messagebus, klogd, network, syslogd, and the above services must be enabled! Other analyses are as follows: 1 NetworkManager.
Linuxshell programming ---- judge 1test in shell to judge 1test-f $ file name to determine whether the file exists test-f $ file name. example: use the test-f command to find whether inputtxt exists in the home. if exist is output, otherwise, output
Getoptgetopts: the command line option parameter in Bash is used to process 0. when writing a program, the command line parameters are often processed. This article describes the command line processing method in Bash. Options and parameters: for
Run the mkdir file name mkdirvarwwwtestcp command to create, delete, move, and copy centos files. run the cp command to copy files from one location to another. If the destination file exists, it will be overwritten; if the destination directory
Linux file types indicate that the file types in Linux are quite different from those in Windows. Linux file types and Linux file names represent two different concepts. We create filetxt and filetargz through general applications. These Linux file
Install freedos in bochs, copy files in host and guest systems, Install freedos in bochs, and download freedos images (freedosiso) in host and guest systems to install bochs (245) to create a disk image bximage & amp; ndash; q & amp; ndash; hd & amp;
Giverootpasswordformaintenance error solution the linux system cannot be started and cannot enter the operating system due to illegal restart or hard disk failure. When you see the message "giverootpasswordformaintenance (ortypecontrol-Dtoc give
In linux, run the following command to view the first 10 processes that consume the most CPU and memory: psauxw | head-1; psauxw | sort-rn-k3 | head-102 maximum memory consumption of the first 10 processes psauxw | head-1; psauxw | sort-rn-k4 | h
Shell method for obtaining process ID: ps-A | grep & quot; cmdname & quot; | awk & amp; 39 ;{ print $1} & amp; 39; pidof & quot; cmdname & quot; pgrep & quot; cmdname & quot; the three methods for obtaining the process ID in bash and busybox shell:
The format of etcsecuritylimitsconf [plain] limitsconf is as follows: & lt; domain & gt; & lt; type & gt; & lt; item & gt; & lt; value & gt; or: username | @ groupnametyperesourcelimitusernam/etc/security/limits. [plain] limits. the conf format is
AWStats is a fast-growing perl-based web log analysis tool on Sourcefroge. Compared with other tools, the advantage is that the interface is friendly, you can directly call the corresponding language interface based on the browser (supports Chinese);
The linuxstty command is used to modify and display the terminal line settings. Sh-sttyspeed115200baud; line0; kill ^ X;-brkintixany-imaxbel-iexten-echoeechoprtsh-stty-aspeed115200baud; rows linux stty command learn stty command to modify and
Linux default built-in ZIP compression, supports a maximum of 4 GB compression, RAR compression ratio greater than 4 GB process: download, install, use ------------------------------------------------------ download wgethttp: www Linux RAR
Linux file decompression tips-x: Extract Files-c: create compressed files-z: decompress files through gzip or gunzipungzip-j: decompress the bzip2 format file-v: Display the file information processed in each step-f: Linux file decompression
Linux release port process Kill Occupy port number process View which process occupies Port 819: case9-sghfofo: usrlocalcnbjtomcat-bjbinlsof-I: 859 View process number 24907 Where: case9-sghfofo: usrlocalcnbjtomcat-bjbin linux release port process
The linuxexitshell exit code has two functions: 1. exit the current shellsh-exitexitINIT: Enteringrunlevel: 32. directly exit in shellscript, in this way, when writing shellscripts, we can use the specific exit command for linux to learn the exit
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