Sed-stream Editor for filtering and transforming textFilter and convert text for the stream editorsed [-nerf] [action]Parameters:-I modify source file danger-e perform SED action edits directly in command line mode-F writes the SED action directly
The navigation of the file system is a continuous process of accessing nodes in the tree structure.File System Treelinux only One inverted file system tree different devices can be mounted on this same tree Files and subdirectories are part of
Create the. ssh#mkdir/root/.ssh/Create a file and copy the public key into the file love you #vi/root/.ssh/authorized_keyssgjkhkgjhskghskghskghskgskgSave exit: WqModify Directory Permissions #chmod 700/root/.sshModify file Permissions #chmod
Linux as the operating system of course, and Windows is to be set up on the basis of hardware, so the hardware configuration information for us is also sure to understand, the following is the centos/redhat inside the command to view the hardware
Linux system startup process brief1, power-on self-test, the initialization of hardware.2, enter the BIOS, look for boot media, the initial installation of Linux system is usually CD-ROM or USB drive boot, installed Linux system selected local HDD
Number0 standard input (stdin)1 standard output (stdout)2 standard error (STDERR)Data redirection:When executing a command, some commands execute when the result of successful execution or the process at execution and the execution of the command
Virtual memory Model
L The Inux kernel itself is not running in virtual space, it uses physical addressing mode.
Physical memory is divided into interfaces, and the size of a memory page is determined by the Page_size macro.
The way
Command prompt
[Email protected] ~]# whichRoot: currently logged in userHGS: Host Name~: Current directory (home directory), for the root user, home directory:/root , for ordinary users, home directory:/home/{username} #: Super user
Linux Kernel Configuration and compilationOne. Configuring the Kernel(1). Why to configure the kernel1. Hardware Requirements2. Software RequirementsPick what you need and get rid of it.(2). How to configure the kernel1. Make ConfigInteractive
The Cat command feature is used to display the contents of the entire file using no paging function, so it is often used with the more commands, and the Cat command is the ability to merge several files into one file. More command function: Let
When doing the system operation, we often need to execute the same command on multiple machines simultaneously, this time can use the parallel Execution shell tool like pssh,pdsh.Of course, before the use of these tools, if there is no password ssh
1. Use the command to check the 10 processes using Memory Ps-aux | Sort-k4nr | Head-n 10 2. You can use the command to check the 10 processes with the most CPU Ps-aux | Sort-k3nr | Head-n 10 3. Change the file user group and user chown-r admin.admin/
1. Under Ubuntu View Windows disk information, Ctrl + ALT + t open terminal, enter the following command:sudo fdisk-l The information is as follows:[Email protected]:~$ sudo fdisk-l [sudo] password
. Linux swap partition,. linuxswap Partition
1. The most important role of swap partitioning is to prevent the system from using insufficient memory allocated due to the sudden increase of website traffic.
2. Using swap to swap partitions will
Local file backup script and file backup script
#! /Bin/bash # backup script retains the backup PRO_DIRS =/var/resin/webapps/COSAPIBAK_DIRS =/data/cos_backupDATE_DAY = 30BAK_FILE_DATE = 'date + % Y % m % d For the last 30 days % H % M-% s' if [! -D
Linux compiling and installation kernel, linux compiling Kernel
I. Introduction
Kernel is the core of an operating system. It manages system processes, memory, device drivers, files, and network systems, and determines system performance and
Linux kgdb command and linuxkgdb command
I. Introduction
Kgdb is a source code-level Linux kernel debugger. When using kgdb to debug the kernel, you need to use it with gdb. They can perform single-step debugging on the kernel, set breakpoints, and
Linux + Apache + Php + Oracle Basic Environment setup, apacheoracleEvery system may be more or less different if it fails to pass the code 100% at a time. If some dependent packages are missing, please forgive me. 1. To install Apache, compile and
Linux oprofile commandI. Introduction oProfile is a powerful performance analysis tool on the Linux platform. It supports two sampling methods: Event-based sampling (eventbased) and time-based sampling, which can work on different architectures,
Swap partition in linux1. The most important role of swap partitioning is to prevent the system from using insufficient memory allocated due to the sudden increase of website traffic. 2. Using swap to swap partitions will significantly reduce server
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