zip Usage: Zip [options] files or directories that need to be compressed after the file name is compressed Common options: -q do not show compression procedure -r Recursive processing, processing all files and subdirectories
Record the directories and their related roles in the Linux system.
Catalogue
function
/
Root directory, the origin of everything.
/bin
Contains the binaries that are necessary for the system
Linux command line shortcut keys 7 repliesInvolves fast cursor movement under the Linux command line, command editing, post-editing execution history commands, Bang (!) commands, control commands, and so on. Make basher more efficient.Description
Ftrace Operations overviewUsing the tracker provided by Ftrace to debug or analyze the kernel requires the following actions:
Switch to directory/sys/kernel/debug/tracing/
View the Available_tracers file for a list of trackers supported
/var/log/cron File Save Cron task execution recordCD/var/log/-L cron*Will find a cron log change every day.UseTail-f CronAbility to view logs for today's cron:UseCat/etc/crontabCan seeMailto=root means that when a crontab command or task is executed,
Process ManagementNarrowly defined: A process is an instance of a running program.Generalized definition: A process is a running activity of a program with certain independent functions about a data set. It is the basic unit of the operating system
Learning to the 11th day, the system-related software configuration using RPM package or source configuration will encounter a variety of dependency problems, Yum is Red Hat out of the package management tools, can effectively automatically solve
I. User's permissions1. For documents:R: Readable, you can view the contents of the file using commands like CatW: writable, can edit or delete this fileX: Executable, exacutable, can be submitted to the kernel at the command prompt as a command to
In the Linux source code analysis of the byte sequence (3), the Linux source code analysis of the byte sequence (4) are seen, the source contains the#include This header function describes the specific method of byte exchange. Let's take a look at
In general, stress testing requires monitoring the state of the server to assess the server load capacity, and in addition to the analysis by tools such as Zabbix, you can use commands to analyze1.uptime command Check server average load[[email
The top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task manager for Windows.Top is used to dynamically monitor the system resources of
Linux Kernel base layer (1), Linux Kernel
I. Data Structure of the kernel Base Layer 1: list of two-way linked listsA): linked list definition
struct list_head{ struct list_head *next,*pre; }
B): container object and list_entry
#define container_of(
Linux handle restrictionsLinux handle restrictions
Linux handles can be divided into 1 system level limit and 2 user level limit:
/Proc/sys/fs/nr_open>/proc/sys/fs/file-max> = ulimit-Hn> = ulimit-Sn1 system-level limit: 1.1/proc/sys/fs/nr_open
The
(CentOS) program installation package management: yum
Introduction:
Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora, RedHat, and CentOS. Based on RPM package management, You can automatically download and
Speed Measurement Using speedtest-cli in CentOS
In Windows, we can easily access speedtest.net through a browser for speed testing. In a Linux system without a graphical management interface, we can also use a small script speedtest-cli for speed
How to upgrade to Ubuntu 15.04 (Beta)
Ubuntu 15.04 Vivid Vervet will be officially released on April 9, April 23, 2015. This version uses the Kernel 3.19.3 by default. Many may want to use Kernel 4.0 in the new version, because Linux Kernel 4.0
Linux Regular Expression awk explanation
Like sed, awk is a streaming editor. It also operates on the rows in the document and runs on one row. Awk is more powerful than sed. It can achieve what sed can do, and it can also do what sed cannot do. Awk
Fedora 21 sets the boot script
Fedora 21 sets the boot script
Sudo touch/etc/rc. d/rc. localSudo vim/etc/rc. d/rc. local
Write in the/etc/rc. d/rc. local file, and then save and exit with the: wq command.
#! /Bin/bash
# Write the command to be
Centos6.5 Based on MariaDB10.x master-slave replication High Availability
Master-slave replication objective:
The stability of the mysql server is improved to avoid affecting the entire business after a single mysql server goes down. When the 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