Author: EasyLife http://www.mike.org.cn/blog/index.php?load=read&id=635
In the Linux operating system, there is a special feature-Initialize the memory disk INITRD (INITial Ram disk) technology, and the kernel supports compressed file system images.
Http://blog.chinaunix.net/uid-26602509-id-3076870.html
Source code and binary packages are two forms of software packages. The binary package contains a program that has been compiled and can be run immediately. All you need to do is download and
Expr Command
Use
Evaluate the value of an expression variable.
Grammar
Expr Expression
Description
The expr command reads the expression parameter, evaluates its value, and writes the result to the standard output.
You must apply the following
Use the DD this Linux command to create a certain size file.Linux Create File command: DD commandCopies the specified input file to the specified output file, and can be converted to format during the copy process. Grammar:Code:[copy to clipboard]dd(
Reprint: Http://hi.baidu.com/helloant/item/af52b8edf2e8e6e62a09a4d4
Viewing real-time bandwidth consumption requires installing the software and logging in to SSH to view it in a command way. Install the Vnstat command as follows:wget
Open FTP Access
A. After you log on to the Linux host, run the command
Useradd username-s/sbin/nologin
The account path by default points to the/home/ftpadmin directory;If you need to point the user to a different directory, run the command:
Nohup/root/start.sh &
Prompt after carriage return in shell:
[~]$ appending output to Nohup.out
The standard output of the original program is automatically redirected to the Nohup.out file in the current directory, which plays the role of
In the article "How to Add/Remove FTP users and set permissions in Linux", we talked about how to add and remove users, but later, we still encountered a lot of
Problem:
1. After entering the system, the command line has only a dollar sign such as "$
A dictionary without a word
Without a dictionary, concise and elegant Youdao dictionary command line version. Support offline query and online query English/Chinese features. Python writing.Welcome to my GitHub to send issue or pull request.Https://
32000 subdirectory restrictions are mainly file system problems, ext2 and ext3 file systems generally can not break through.
The Ext4 file system can exceed 32,000 subdirectories and is said to support the Ext4 file system in a later kernel version
I installed the arm cross compiler under Ubuntu, when I verify that the cross compiler is able to use, there are arm-none-linux-gnueabi-gcc to find errors. As shown below
root@zqj-ubuntu:/#
In Linux or Max, edit the file: ~/.ssh/config
Add content as follows:
Host *
controlmaster auto
controlpath /tmp/ssh-%r@%h
%r is the login name for the remote machine
%h for remote machine nameThe first SSH login requires a password, but
Completion Definition
Defined directory: Include/linux/completion.h
*
* struct completion-structure used to maintain state for a ' completion ' * * This is the
opaque structure Used to maintain the state for a "completion".
* Completions
System for CentOS 6.5, others installed the system, the hard disk is 4TB, but Df-h found only a 1TB, so they set out to partition.
Online Search a lot of information, some only talk about parted, and did not talk about the use of parted partition
Learn notes and personal understanding, if there are errors, please correct me.
Warm tip: It is recommended to follow the numbering sequence in the comments to read the code
Test method: Cat/proc/abc_proc
echo arbitrary string >/proc/abc_pro
Http://www.ha97.com/2602.html
1. lsmod lists the kernel modules that have been loaded
The lsmod lists the names and sizes of the modules loaded in the current system, and we can also view the/proc/modules, as we can see the modules that the system
Keyword-based search
grep keyword file parameters:
-I ignores case
-N Displays the results in rows
-V output lines with no keywords
-an the specified number of rows after the line is output at the same time
-BN the specified number of rows before
Reproduced from: https://www.cnblogs.com/jtestroad/p/8031850.html
Important things to say three times, strongly recommend the use of the second method! second!;
Ways to open ports:
Method One: Command line mode1. Open port command:/sbin/iptables-i
I. Purpose
When using the CentOS6.3 version Linux system, found that the root directory (/) of the space is not sufficient, and other directory space has a lot of free, so this article is mainly for the existing space to adjust. First, let's look
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