Linux Common commands

CENTOS6 iptables FirewallTo clear the firewall rule:Iptables-fTo turn on the firewall:Service Iptables StartTo turn off the firewall:Service Iptables StopTo restart the firewall:Service Iptables RestartOpen 80 Ports:Iptables-i input-p TCP--dport

Log file lookups in Linux, based on keywords

Reference: http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856896.htmlRequirements at that time: Check the System log, Statistics system processing time (from request to system to system return)Log file: 1.logStart processing:1. Print/output

Linux disk formatting

The file system format supported by CENTOS7 and the default is the file system with XFS as the system. "/" and "/boot" are all XFS formats! [Email protected] ~]# Cat/etc/filesystemsxfsext4ext3ext2nodev Procnodev devptsiso9660vfathfshfsplus*mke2fs

Configuration-free key access between Linux

Environment description[Email protected] ~]# cat/etc/redhat-release CentOS release 6.5 (Final) [[email protected] ~]# Uname-alinux localhost1 2 .6.32-431.el6.x86_64 #1 SMP Fri Nov 03:15:09 UTC x86_64 x86_64 x86_64 gnu/linux  Generate secret

Hard disk partitioning, file system in Linux

LSBLK Viewing block devicesFDISK supports MSDOS, and GPT (not recommended) is recommended for use in CENTOS7. InteractiveFDISK-L View partition information for all hard drivesFdisk-l/DEV/SDA View partition information for a specified hard

Different versions of Unix, Minix, Linux and Linux

Development historyUnix: first developed by a great God at Bell Labs to play Star Trek gamesMinix: Because Bell Labs charges closed source is not available, a professor based on UNIX-developed MinixLinux: The father of Linux Linus developedLinux is

Shared memory of Linux programming

Linux supports two different ways of sharing memory: System V and POSIX shared memory.1. POSIX shared Memory 1.1 The origin of POSIX shared memoryInsufficient System V shared memory and shared file mappings: The System V shared memory model

Getting Started with Linux

Introduction to Linux operating systemLinux is an open source operating system (open source Operating system)The composition of the 1.Linux operating system Linux kernel : Biased to the bottom, special software programs for CPU and memory

FS4412 Development Board porting Linux kernel 4.9. Version 9

Basic Porting1. Source code DownloadDownload the latest linux4.9.9 kernel: https://mirrors.edge.kernel.org/pub/linux/kernel/.The third number is the revision number.2. Unzip and configuretar xvf linux-4.9. 9. tar. XZEnter the kernel source directory

Linux scripts? The regular? Practice

Write a script called/root/bin/createscripts.sh, when the script is executed, the input createscripts.sh/path/newsh.sh will generate a script file in the specified path and automatically open the file, start editing, after the end of the edit,

Linux Disk partitioning

One, FDISK partition1. Fdisk–l View Diskdisk/dev/sda:107.4 GB, 107374182400 bytes255 heads, Sectors/track, 13054 cylindersUnits = Cylinders of 16065 * 8225280 bytesSector size (logical/physical): bytes/512 bytesI/O size (minimum/optimal): bytes/512

Linux xargs Command Usage detailed

(1) The Find command is based on the attributes of the file, such as file name, file size, owner, owning group, whether it is empty, access time, modification time, etc.(2) grep is a search based on the contents of the file, and each line of the

Add, modify, and delete users and user groups in Linux

Wide limit to work hard to lag Xuesaitong one, the user:When you create a user, you specify a user group for the new user, and if you do not specify a workgroup to which the user belongs, automatically generates a workgroup with the same name as the

Linux under: Disk Management and File system management

First, Disk basic knowledgeHere are some things to know before you learn this chapter:? Stress: Everything in Linux is file.? The I/O ports is the I/O device address that identifies the device address of the hardware for the operating system and CPU

Basic Learning -10.4-Regular expression exercises for Linux

First, the basic regular environment preparation[[email protected] oldboy]# cat /oldboy/re.txtI am oldboy teacher!I teach linux.I like badminton ball ,billiard ball and chinese chess!my blog is http://oldboy.blog.51cto.comour size is

"Git" Linux environment install Git

1 Installing a git dependency packageYum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-extutils-makemaker2 Deleting an existing gitYum Remove git3 Download git source code1 Switch to your package file storage

What are the daily duties of Linux ops?

Linux System in the Internet companies more and more, there are many friends are willing to join the ranks of operations, then the operation of the day to do what work ?Operators should follow the "simple, easy-to-use, efficient" principle. For the

Linux third application and testing tools

Third party application and test tool link addressHttps://pan.baidu.com/s/1rLQ5NCZvxcy93YQ4fGFaBQIi. use of third-party tools1. Linux NTFS file system Mount tool1-xvzf ntfs-3g_ntfsprogs-2012.1. the . tgz. /Configure make make install2-t ntfs-3g/dev/

Check Linux memory usage

1. To view the process memory usage of the root user, you can use the following command:$ top-u OracleContent Explanation:PID: ID of the processUSER: Process OwnerPR: The priority level of the process, the smaller the higher the priority is

sftp file Upload and download (window upload file to Linux server)

First, File uploadIllustration 1: Upload a file uploaded to Linux on the windowNote 2: Uploaded files are automatically placed in the current user's home directory1: Open the SFTP windowAlt+pEnter the upload command:Grammar:Put

Total Pages: 5467 1 .... 1636 1637 1638 1639 1640 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.