Http://bbs.chinaunix.net/viewthread.php? Tid = 956371)
GNU/GPL may be the most misunderstood software protocol. Let's talk about the top ten common mistakes.1) GPL infected everything.Modifications to derivative works on the GNU/GPL software must also be published on a GPL basis. However, independently developed software is not affected by GPL. Therefore, even in the same software, GPL components can coexi
Fileutils, Shellutils, and Textutils have been combined into the GNU Coreutils package.
The tools supplied with this package are:
Chgrp-Changes file group ownership.
Chown-Changes file ownership.
Chmod-Changes file permissions.
Cp-Copies files.
Dd-Copies and converts a file.
Df-Shows disk free space on filesystems.
Dir-Gives a brief directory listing.
Dircolors-Setup program for the color output of GNU
Summarize: This text discuss how to manage cmake project on building GNU makefile such as debug and release build, and how to add Postfix on final targets.
Whenever you cmakelists.txt file is done in your project directory, use the cmake command with option-D and set the cmake_build_type to debug, which create a debug version of makefile build, and set to release will create a release version build, and soOn. but you must create your makefile profiles
Introduction
The GNU Scientific Library (GSL) is a numerical libraryC and C ++ programmers. It is free software under the GNU General PublicLicense.
The library provides a wide range of mathematical routinesSuch as random number generators, special functions and least-squaresFitting. There are over 1000 functions in total with an extensive testSuite.
The complete range of subject areas covered by the librar
Introduction: For text operations, there are more operations besides cutting and pasting, especially when the GUI is not used. In this article, the author explains how to use the gun text toolkit for text processing. After learning this article, you will process the text like an expert.
Overview: This article introduces "filters" that can be used to build complex pipelines to process text. You will learn how to display text, sorting, word and ROW statistics, conversion, and other operating techn
How to obtain the current traffic of a process in GNU Linux
/*************************************** ******************************* Author: Samson* Date: 11/19/2014* Test platform:* 3.small-24-generic* GNU bash, 4.3.11 (1)-release**************************************** ****************************/
The procedure is as follows:
(1) Use the packet capture Libpcap library technology to obtain the network tra
Lsblk, a convenient block device viewing tool in GNU Linux
Previously, in GNU Linux, I used fdisk or something, or I used ls/dev/to check the Block devices. This is very earthy and inconvenient. Lsblk, this is a good thing. We recommend it to you.This tool belongs to the util-linux-ng package. It is installed on RHEL 6.1 and can be used directly. Also available in later versions of Ubuntu.
This tool lists a
"UNIX is simple, and you don't need to be a genius to understand it"
Since the term GNU/Linux is too long, if it is not specified below, "Linux" refers to GNU/Linux ".
In this age, I am afraid no one needs to introduce what Linux is? If you think "Linux is just something similar to DOS", I'm afraid you haven't seen a day in the cave for a long time? What is the status of Linux next to you?
So why should I w
Comprehensive use of GNU Linux system variables (sysctl configuration command)
Comprehensive use of GNU Linux system variables (sysctl configuration command)
View the values of all kernel variablesSysctl-
How to view the value of a system variable1) cat/proc/sys/net/ipv4/ip_local_port_range32768 61000
2) sysctl-a | grep ip_local_port_rangeNet. ipv4.ip _ local_port_range = 32768 61000
Modification metho
1. Preface
GSL (GNU Scientific Library) is a library written in C for scientific computing. It has more than 1000 functions. It provides many mathematical computing aspects, most functions of MATLAB can be implemented by using it, which saves a lot of trouble in numerical calculation. Detailed functions of gsl. GSL functions and the introduction of the relevant header files can see this partial article: TTS, GSL document directory translation see here
in front to indicate that the error is ignored. If the file does not exist, no prompt will be prompted.
Makefile example:
#include 关键字, 使用变量来包含。#include a.mkfmymk = a.mkf-include $(mymk)edit : $(objs)cc -o edit $(objs) main.o: kbd.o: command.o: display.o: insert.o: search.o: utils.o: files.o: .PHONY : clean clean :-rm edit $(objs)A. mkf
objs = main.o kbd.o command.o display.o insert.o search.o files.o utils.o
How make works:
The execution steps of
/********************************************************************* * Author:samson * date:01/06/2015 * Test PL Atform: * 3.13.0-24-generic * GNU bash, 4.3.11 (1)-release * *********************************** ********************************/The mechanism of file permissions is a feature of the Linux system, which is a basic privilege for beginners of Linux to be readable (r), writable (w), and executable (x). The permissions of a file are represen
Reprinted from: http://blog.csdn.net/wang1144/article/details/42277179In the ubuntu14.04 version of the installation of lxml, always error, after a hard search, finally found out the correct method of installation, in fact, is not dependent on packaging full:sudo apt-get install Libxml2-dev libxslt1-dev Python-devsudo apt-get install Zlib1g-devsudo apt-get install Libevent-devsudo pip install lxmlHalfway through Pip install lxml may encounter an incorrect recognition situation and need to apt-ge
Mac install GNU command line tool2. Added repoTap Home/dupesBrew Install CoreutilsBinutilsDiffutilsEd--default-namesFindutils--default-namesGawkGnu-indent--default-namesGnu-sed--default-namesGnu-tar--default-namesGnu-which--default-namesGnuTLS--default-namesgrep--default-namesGzipScreenWatchWdiff--with-gettextWgetBashEmacsGDB # GDB requires further actions to do it work. See ' Info gdb '.GpatchM4MakeNanoFile-formulaGitLessOpenSSH--with-ed-opensslperl5
A very interesting question to see on stack overflow today is:You need a script to process a text file, but this text file can be very large, because of the problem of processing the script, you want to be able to process only a few lines of the text file, like Xargs, and can not use split to split the file, and does not allow the generation of temporary files.If temporary files are allowed, then it is not difficult to use bash script, which can be implemented using the
displayed on the shell. SelfUpdate, the "for users" already has MacPorts installed and wish to upgrade to a newer release. "(Note: I have been waiting for this step for a long time.) But I found out because I used WiFi too bad--| | | )5. Common commands for MacPorts(1) Search for software in MacPorts index
Port Search NAME
(2) Install the new software
sudo port install NAME
(3) uninstalling the installed software
sudo port un
Although Gnu/linux is not omnipotent, it does offer free, open solutions in many cases. These two days I want to do a simplified, search the online score typesetting software, found the Lilypond software based on the GPL protocol. But Lilypond is used to make staff. Fortunately, a jianpu-ly.py script written by Silas of Cambridge University was found to be able to eventually generate simplified by calling Lilypond. See here for a detailed description
/********************************************************************* * Author:samson * date:07/03/2014 * Test PL Atform: * 3.11.0-12-generic #19-ubuntu * GNU bash, version 4.2.45 * **************************** ***************************************/To see how the current file is encoded in GNU Linux:You can open this file with vim and enter it in control mode: Set fileencoding can view the character enco
Early on the Internet to see the Zareason company launched the industry's first Linux super Ben Ultralap 430 News. By searching online, I learned that Zareason is a U.S. company that specializes in producing and selling preinstalled Linux desktops, notebooks, super-Ben, and tablets, and customers can choose hardware accessories and their favorite gnu/linux distributions on the basis of their standard products. For
up to load;
S4: Hibernate, after saving all the currently running environments to the hard drive, only the RTC processor is powered up, and the RTC is powered by the BIOS battery, so it is the same as shutting down, when the wake-up time is set or when the Power-on button is reset, from the hard disk to the saved environment into memory, That is, the state before hibernation, to facilitate rapid recovery to the previous work environment.
The Gnu/li
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.