The static library on Linux is actually the archive file of the target file.The steps to create a static library on Linux are as follows:
Write the source file by gcc -c xxx.c generating the target file.
Use ar the archive target file
First, what is ACL permissionsACLs are abbreviations for access control list, which is primarily intended to provide local permission settings outside of the traditional owner,group,others Read,write,execute permissions. ACLs can be r,w,x for
Add a fixed character to the beginning of a file or to the end of a line1. Add a fixed character to the beginning of the line: Sed-i ' s/\ (^\)/character/g ' file.txt2. Characters with fixed length at the beginning of a line (1 of the length of a
If you have determined that the virtual network card on your host Windows is turned on, open Network and Sharing Center---Change the adapter settings in theBoth VMware 1 and VMware 8 are enabled. At this point, if the Linux network Management icon
File system as a module of the operating system, the kernel needs to be configured to use; The kernel provides configuration features for file system feature optionsKernel configurationMake Arch=arm MenuconfigConfiguration of File system optionsFile
ln [-s-v] SRC DESTHard Links1. Can only be created on files, cannot be applied to the directory2. Cannot cross file system;3. Creating a hard link increases the number of times a file is linked.Symbolic Links1. Can be applied to the catalogue;2.
Alias: Displays and creates an alias for an existing command.BG: Put your homework in the background.Bind: Displays the current keyword's binding to the function, or binds the keyword to a readline function or macro.Break: Jumps out of the inner
mkdir Directory name Create directory mkdir -p /1/2/3 Create directories and subdirectories rmdir directory name Delete empty directory rm file name Delete directory/file rm -rf f: Force r: Need to add cp
the misunderstanding in the languageMany people think that Linux programming is in C language programming. Indeed, Unix was originally written in C, and most UNIX applications were written in C, but the C language was not the only option for Linux
Set the vim character set, in order to determine whether Vim is not a character set problem, can be used after vim file: set Encoding=utf8 see if it can be displayed properly. The ultimate solution to vim garbled is to change the environment
1. Introduction to Linux startup process(1) BIOS power-on self-testAfter the computer starts, the firmware (BIOS) self-test is performed first, the so-called post (Power on Self Test), and then the master boot loader stored in the MBR (Master boot
Blanks1, in the Linux system, file access to the device.2. When booting from the Linux kernel, read the file system to be loaded from the file/etc/fstab3. Each file in the Linux file system is identified by the I node4, all the disk block consists
Check to see if the Linux system has an SSH service installed, openssh or other xxxssh, indicating that SSH service is installedCommand: RPM-QA | grep ssh
650) this.width=650; "src="
I. Status of the process:1. in the operating system:A process is a dynamic entity, so he is alive. From creation to extinction, is the entire life cycle of a process. During this cycle, the process may go through a variety of different states. In
1. Turn off firewall and SELinux# Service Iptables Stop# chkconfig--level 2345 iptables off# Vim/etc/selinux/configChange enforcing= to =>disabledUse Getenforce to get the status of the current SELinuxNote: After you change SELinux, you have to
RedHat 7 configure IP address and Modify host name
This article is the basic configuration of RedHat 7, mainly to configure the IP address and modify the Host Name
Configure the IP Address:
Modify the NIC configuration file:
How to disable Ubuntu notification prompts using NoNotifications
A notification will be displayed on the right of the desktop when a mobile phone is connected to a wired or wireless network in Ubuntu or when a new system is updated, this feature can
Linux ~ Yum command installer and linuxyum Installer
When we use linux for minimal installation, many system programs are not installed. In this case, we can use the yum command to install the specified package, provided that your linux is on the
Build and use Git server GitLab
The Git servers are famous for gitosis and gitolite. The management and use of these two servers are a little complicated and there is no web page, while gitlab is a tool similar to github, github cannot create a
MySQL + MHA + Keepalive + VIP installation Configuration
I. Overview:
This article describes the implementation scheme of MySQL high availability (MHA). MHA is composed of Node and Manager. Node runs on each MySQL server, whether it is a MySQL
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