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
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
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
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
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
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
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
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
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.
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/
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/
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
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
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? cachedbuffersI. Commands
[root@localhost ~]# free -m total used free shared buffers cachedMem: 7869 7651 218
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
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
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
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
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