The grep of a Linux command---1

grep means "match"Parameters commonly used in four-I matching file contents ignoring case-R recursive matching files (i.e., files in a layer-level directory)-N Indicates the line number of the matched row displayed in the file-h (added by default

Linux MBR Partitioning (key knowledge)

The hardware devices in the Linux system are stored as files in the Dev directory under the root directory.Hardware devices are automatically recognized by Linux, but they are not immediately availableThe hard disk must be partitioned, formatted and

Linux command-tail

Tail:output the last part of the files: output file trailerTail Parameters:-c,--bytes=k:output the last K bytes;    Alternatively, use-c +k to output bytes starting with the Kth of each file. : Output file to the reciprocal K characters, the

Some common operations for Linux

CentOs6.7 shutting down the firewall (SECURECRT not connected)Workaround:______________________________________First, open SSHLog in to Linux as root, open terminal, run:/etc/init.d/sshd Restrat______________________________________Second, close the

"Linux Learning 009" script programming variables and conditions to judge

One, bash environment variablesThere are four types of variables in bash: Environment variables, local variables (local variables), positional variables, special variables. 1. Environment Variablesenvironment variables are the most extensive, and

Linux command (2): DF command

Here is the information about the Linux command df:DF Command:The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk

Linux command-more|less

More:file perusal Filter for CRT viewing: File ViewLess:opposite of more: contrary to moreMore file: Split screen print file and return to Shell terminalLess file: Print file does not return to shell terminalmore | Less: all support with space down

Linux---Cacti after installation is not shown

1. First check the rra/below, there is no data, if not checked rra/log/owner is not cactiuser. The permissions for this directory should be Cactiuser can read and write2. If there is no problem with the permissions of the directory, then there may

Linux File System Basics

Path:Absolute path: The path relative to the file system root directory.Relative path: The path in relation to the current working directory.File type: the -: Normal file. D:directory, catalog file. B:block, block device files.

Linux arithmetic operations

1: Using expr external programAddition R= ' Expr 4 + 5 'Echo $rAttention! ' 4 ' + ' 5 ' There should be a gap between the threeR= ' Expr 4 * 5 ' #错误Multiplication r= ' expr 4 \* 5 '2: Use $ (())r=$ ((4 + 5))Echo $r3: Use $[]R=$[4 + 5]Echo

Linux Network Services

To view open ports:Netstat-tunlpTo view network configuration:ChkconfigTo turn off the firewall:Chkconfig iptables off/etc/init.d/iptables stopOpen Telnet Service:Yum Install Telnet-server #安装Vi/etc/xinetd.d/telnet #修改telnet配置将disable =yes to No/etc/

Space does not free disk space after Linux deletes files

Under the Linux operating system, there is a useless file occupied 400G, and then deleted.[Email protected] log]# RM-RF messages[Email protected] log]# df-hFilesystem Size used Avail use% mounted on/dev/sda3 545G 438G 101G 82%/Tmpfs 32G 0 32G 0%/dev/

Linux Add Dynamic Library path

As we all know, the default search path for Linux dynamic libraries is/lib and/usr/lib. When a dynamic library is created, it is generally copied to both directories. When the program executes requires a dynamic library, and the dynamic library is

How Linux finds the path to a command

Linux, we often use CD, Grep,vi and other commands, and sometimes we have to find out where these commands are, how to do it?Linux has 2 commands to complete this function:which, WhereisWhich is used to view whenThe path to the command to execute

Old Version Ubuntu update source

Old Version Ubuntu update source Ubuntu normal versions support a limited amount of time. After the support time expires, the update source will be disabled. For example, all original sources in Ubuntu 9.10 will be invalid (including official

[Linux] What is the difference between cached and buffers in the free command? cachedbuffers

[Linux] What is the difference between cached and buffers in the free command? cachedbuffersI. Commands [root@localhost ~]# free -m total used free shared buffers cachedMem: 7869 7651 218

How to install GitLab in Ubuntu/Fedora/Debian

How to install GitLab in Ubuntu/Fedora/Debian Before the advent of Git, distributed version control was never a simple task. Git is a free and open-source software designed to easily and quickly manage small to very large projects. Git was initially

Security Configuration in Nginx Server

Security Configuration in Nginx Server 1. Disable SELinux SELinux is a Linux kernel function that provides security policy protection mechanisms that support access control. However, the additional security and complexity brought by SELinux are not

Deployment and development environment construction of Apache Spark1.1.0

Deployment and development environment construction of Apache Spark1.1.0 Spark is a parallel computing architecture launched by Apache based on Hadoop Distributed File System (HDFS. Unlike MapReduce, Spark is not limited to writing map and reduce

The first deployment record of cross-platform running Rafy

The first deployment record of cross-platform running Rafy I always wanted to use MONO on Linux to try running Rafy. Recently, it was a real test due to business needs. The following are some key points of this deployment record. Linux I tried this

Total Pages: 5467 1 .... 3320 3321 3322 3323 3324 .... 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.