Turn from: http://cntemplar.blog.sohu.com/115378493.html
The most notable place to remove Linux is the MBR (Master Boot record). Before removing the Linux partition, we need to write boot Windows bootstrap information to the MBR, otherwise the
1, the difference between the two
Du,disk usage, is to search the file to calculate the size of each file and then accumulate, du can see the files are only some of the existing, not deleted. The size of his calculations is the sum of all
The DF command is the overall disk usage that lists the file system
How to use commandDF [-ahikhtm] [directory or filename] parameter:-A lists all file systems--------Displays file systems in KB capacity-M with MB capacity
-h Displays (important)
To understand how the Linux kernel works, you have to know a little bit about the basics of hardware. Here we introduce the functions of several registers in the core components of the Intel 80x86 Series CPU protection mode, which play a vital role
To publish FLV data using RTMP, you first need to be aware of the FLV encapsulation format. can view: FLV video Encapsulation Format before you run this instance, you need to build a rtmp server and build an environment where Rtmpdump compiles and
Default=1
Timeout=5
Hiddenmenu
Title Windows XP
Root (hd0, 0)
Chainloader +1
Title Ubuntu 9.10
Root (hd1, 1)
Kernel/boot/vmlinuz-2.6.31-15-generic ro root=/dev/sdb1
### BEGIN automagic Kernels LIST
# # lines between the automagic kernels LIST
Linux command SU performs the following errorSu:cannot set Groups:operation not permitted
This error was said on the Internet because the/bin/su file was canceled, so the solution was chmod a+s/bin/suI still can't use the SU command after I execute
These two days on the SuSE installation and configuration of FTP, encountered a lot of problems, here to do a summary:First, installationSuSE's graphical user interface does a good job, so the installation process is relatively simple.1, open
What is the use of the Paramiko module?
Paramiko is a module written in Python that follows the SSH2 protocol and supports the connection of remote servers in an encrypted and authenticated manner. With the ability to run Cross-platform languages
Use the bridge to connect to the Internet, you need to configure the Linux system IP, the following steps:
1, in the command line mode or desktop access to terminal mode, find/etc/sysconfig/network-script/ifcfg-eth0 file;
2, using VI to open the
1. Check the process PS command to find the process-related PID number: PS A shows all the programs under the current terminal, including other user programs. PS-A Displays all programs. PS C when listing the program, displays the actual instruction
[TOCM] install git and deploy public key install sudo yum install git linux create SSH keySsh-keygen-t rsa-c "xxxxx@xxxxx.com" #使用邮箱创建 view public key Cat ~/.ssh/id_rsa.pub execute the following command to add the public key to the Git@oscSsh-t
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(
1. Select directory to create script file:
2. Give script executable permissions
3.vim test.sh Edit Script, paste the following:
#!/bin/bash#author: JGD#Date: 2017-09-15#自动检测home目录空间, mail notification and cleanup log over
Linux under OpenCV programming
Two methods of compiling and running OPENCV program in Linux environment
First method: Command line (methods using command-line arguments)
XX. C:GCC ' pkg-config--cflags--libs opencv '-o img_1 img_1.c xx. cpp:g++ ' pkg-
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:
GDB is the next powerful debugging tool in Linux, Windows corresponding to the WinDbg, the following examples of common program error Resolution
1.GDB Boot
To use GDB debugging, compile-time specifies the-G option to add debugging information, GDB
The CP command is used to copy one or more source files or directories to a specified destination file or directory. It can copy a single source file into a specific file with a specified file name or a directory that already exists. The CP command
实验环境[[email protected] ~]#cat /etc/centos-releaseCentOS release 6.10 (Final)[[email protected] ~]#cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core)Linux UsersRoot User: Superuser, with the supremacy of privileges,Normal User: Created by
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