GNU Project is a free software, mass collaboration project. The founding goal of the project was, in the words of its initial announcement, to develop "a sufficient body of free software [...] to get along without any software that is not free.

learn more… | top users | synonyms

0
votes
1answer
12 views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
4
votes
1answer
1k views

What are the different ways to set file permissions etc on gnu/linux

On Unix, a long time back, I learned about chmod to set permissions, and to allow programs to gain privileges (using setuid, setgid). I have recently discovered some newer commands, on GNU/Linux: ...
1
vote
1answer
46 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
10
votes
2answers
3k views

Check ping statistics without stopping

Is there a way to tell ping to show its usual termination statistics without stopping the execution? For instance, I'd like to quickly view: --- 8.8.8.8 ping statistics --- 2410 packets transmitted, ...
4
votes
1answer
64 views

Why does Gawk in compatibility mode split records in the same way as when GNU extensions are enabled?

I'm not sure if I found a bug in Gawk or if I'm misreading / missing something in gawk's man page. According to gawk's man page, when in compatibility mode, if RS contains multiple characters, only ...
-6
votes
1answer
76 views

Why does GNU say it is “Not Unix”? [closed]

I use Fedora. Today I found GNU (on the web) about which I didn't know till yesterday. I knew that GNU is a Unix-like operating system that is free software but I didn't get why they say GNU's "Not ...
0
votes
1answer
14 views

How can I tell if GNU GSL is installed?

How can I find out if GNU Scientific Library is installed? OSX 10.11
-8
votes
2answers
131 views

What is the name of an animal used as a logo by the GNU Project? [closed]

What is the name of an animal used as a logo by the GNU Project (gnu.org)? And why was this animal chosen to represent the project?
0
votes
2answers
31 views

Sed incremental arithmetic

I want to replace a number at the end of a string by incrementing the number by one each time I run a specific sed line. the string looks like this: server-port=25555 I was thinking I could run ...
3
votes
1answer
52 views

GNU sort --compress-program compressing only first temporary

I am sorting big files (>100Go), and to reduce time spent on disk writes, I am trying to use GNU sort's --compress-program parameter. (Related: How to sort big files?) However, it appears in certain ...
1
vote
3answers
110 views

rm prompt when deleting unwritable files

This is about GNU rm. The info page says: Otherwise, if a file is unwritable, standard input is a terminal, and the -f or --force option is not given, or the -i or --interactive=always option is ...
2
votes
3answers
198 views

What are the major contributions of GNU in the GNU/Linux OS?

I read in the GNU/Linux FAQ, that one of the reasons they are asking everyone to call the whole system GNU/Linux is: Principal & major contribution of GNU in developing the operating system. ...
0
votes
2answers
68 views

Is Chromium OS a GNU/Linux distro?

I want to ask, if Chromium OS is a GNU/Linux distribution or is it a non-GNU Linux-based operating system like Android, webOS or Syllable Server. Does Chromium OS use GNU C Library, GNU coreutils ...
0
votes
2answers
439 views

gtags for cygwin

This might be a silly question, and hopefully it's not off-topic, but I can't figure out where else to ask. Is gtags available for cygwin? I'm using ctags but it'd be nice to have all the extra ...
-1
votes
1answer
30 views

Upgrade GNU parted 3.1 to 3.2

I'm trying to upgrade GNU parted 3.1 to 3.2 and when I try to verify the key it says : # gpg --verify parted-3.2.tar.xz.sig gpg: Signature made Mon 28 Jul 2014 11:20:50 PM EDT using RSA key ID ...
30
votes
1answer
2k views

Were all Unix commands re-written in Linux?

I would like to know which commands were re-written for Linux and which were retained from Unix? I'm new to Linux.
0
votes
1answer
100 views

Which version of split supports flag -p?

This command does not work in GNU Coreutils split, split of Cern Linux 5 (Redhat) and BSD (Apple Yosemite 10.10.3): split -p'\0' input.txt where input.txt is masi\0hello\0world. Some comments ...
12
votes
4answers
10k views

sed on OSX insert at a certain line

So I've been using 'sed' on linux for a while, but have had a bit of difficulty trying to use it on OSX since 'POSIX sed' and 'GNU sed' have so many little differences. Currently I'm struggling with ...
1
vote
2answers
53 views

How are GNU documents in PDF formats created?

Some GNU software doesn't offer PDF files for its manual, e.g. http://www.gnu.org/software/findutils/manual/find.html Some does, and their PDF files have bookmarks/outlines, e.g. ...
1
vote
1answer
20 views

jobs / wc: getting wierd return values

I can't make sense of these return values. When I run jobs -s | wc -l, I get different results depending on what directory I'm in. If I'm in the directory that I returned to after suspending the ...
4
votes
1answer
321 views

Why GNU find -execdir command behave differently than BSD find?

On my OSX, I've installed GNU find next to default BSD find via: brew install findutils. As far as I understand, BSD find is following POSIX standards and GNU makes it optional (as per this post), ...
0
votes
1answer
78 views

What can be considered as operating system? [closed]

I am talking about GNU/Linux but not about GNU or Linux! I know that Kernel is the core component in operating system but I want to know what defines the "operating system" (What can be considered as ...
1
vote
0answers
30 views

Is there a GNU/Linux equivalent to the Mac OS X open command? [duplicate]

In Mac OS X there is a handy open command that opens the target file or directory in the default GUI application meant for it: open /usr/local/share will bring up a Finder window with the ...
4
votes
1answer
75 views

Why does a '.' work in chown?

Why does GNU chown user.group work? The docs say nothing of the syntax being supported. Is there a juicy story behind it?
4
votes
1answer
366 views

`set -e` and `grep` idiom for preventing premature exit from shell script when pattern not found

Help required - in the context of shell scripting on a GNU/LINUX bash: I always use set -e. Often, I would like to grep and do not always want the script to terminate execution if grep has an exit ...
9
votes
5answers
1k views

Is there a practical use for the GNU factor command?

Looking through the GNU Coreutils, I spotted the factor command, that I had never noticed before. Reading the man page: Print the prime factors of each specified integer NUMBER. If none are ...
0
votes
1answer
32 views

Linux based operating system that has isolated software installations like in Android

Is there any linux based operating system for desktop that has software installation in single folder, like it does in Android (except the apps that need android/data or obb folder on external ...
15
votes
5answers
20k views

Parallelize a Bash FOR Loop

I have been trying to parallelize the following script, specifically each of the three FOR loop instances, using GNU Parallel but haven't been able to. The 4 commands contained within the FOR loop run ...
0
votes
1answer
40 views

Permission denied when I try to run a program assembled with the GNU assembler

I was testing the GNU assembler using intermediate code generated by gcc. I don't really understand the GNU assembly syntax at all, though I could learn it at some point. I ran the command as ...
2
votes
1answer
148 views

Where can I find mailfromd RPM's for CentOS 6?

I have been trying to locate an RPM for GNU Mailfromd and it's dependencies and have been quite surprised to find it absolutely nowhere on the 'net. Only place I could find any RPM's were for ...
2
votes
2answers
293 views

Has the GNU coreutils stat tool changed?

Has the GNU coreutils (8.6) version of stat changed? After a recent update, some scripts I wrote that call stat are not working as expected; in particular, I had been making use of stat -c %Y ...
2
votes
1answer
72 views

Why do GNU tools use non-matching ` and ' to quote errors?

GNU tools often output error and warning messages with parts of the line (e.g. filenames, syntax errors, invalid dates, etc) quoted with non-matching quotes: ` and ' e.g. From the GNU coreutils FAQ: ...
1
vote
1answer
119 views

Why does xargs -I imply -L 1

I've seen Why does 'find -exec cmd {} +' need to end in '{} +'? which explains why {} + has to be at the end of the -exec cmd(*), and now I'd like to know why GNU xargs reverts to one ...
0
votes
1answer
43 views

How are GNU system utilities compatible with Linux?

According to GNU Hurd Architecture the GNU operating system was originally designed to be used with the GNU Hurd kernel which is a microkernel architecture. How is it that hobbyists were able to ...
2
votes
0answers
53 views

How to remove a broken installation of glibc

I just attempted to install glibc version 2.19 to my computer as follows: 1) I cloned the glibc git repo with $ cd ~ $ git clone git://sourceware.org/git/glibc.git 2) I checked out version 2.19 ...
1
vote
0answers
37 views

What are the major differences between the Darwin/BSD and GNU versions of Findutils?

OS X comes with its own versions of find, locate, and xargs. GNU versions of these utilities are also available as part of GNU Findutils. What are the major differences between the two versions? Is ...
3
votes
3answers
210 views

Regex search for word roots with common prefixes

I recently had a curiosity about words in the dictionary that share both "pro-" and "con-" as a prefix. So, for example, procession/concession, produce/conduce, profess/confess, progress/congress, and ...
4
votes
1answer
66 views

How to find how many windows are opened in GNU screen?

I am trying to automate my work flow. I have a script that opens individual window in screen for each IP in a list. Imagine setupscreen.sh <IP1> <IP2> .... After all windows are open, each ...
1
vote
0answers
159 views

Error building and compiling GCC 5.2.0 from scratch on Vortex86DX

In order to upgrade a VortexDX86 custom linux with a gcc 3.2.3 compiler, I´m trying to built the GCC 5.2.0 compiler to support the latest C++ 11 standard. I have downloaded its source code from ...
0
votes
1answer
195 views

What are the alternatives to GNU ld?

I was curious if it's possible to build Linux kernel without GNU toolchain (gcc+autotools). I found out that it is possible: after applying patches from llvm.linuxfoundation.org, it was possible to ...
1
vote
0answers
36 views

It is possible to run these in GNU parallel [closed]

I would like to run these: screen watch -n 0 php /usr/share/nginx/html/2siti.php & screen watch -n 0 php /usr/share/nginx/html/2siti.php & screen watch -n 0 php ...
4
votes
5answers
309 views

Is there a plain GNU/Linux OS?

I'm currently looking at all the different Linux distros and can't seem to find the original GNU/Linux OS. Apparently there is a GNU System which combined the GNU project with the Linux kernel. How do ...
0
votes
2answers
812 views

Where does the word GNU come from?

GNU is a Unix-like operating system. That means it is a collection of many programs: applications, libraries, developer tools, even games. The development of GNU, started in January 1984, is known ...
13
votes
7answers
1k views

Ideal Hardware for GNU/Linux Laptop

What's the best way to find a laptop with hardware that is amenable to installing and running GNU/Linux? I'm looking for something that will ideally work with GPL'd drivers and/or firmware. I took a ...
1
vote
0answers
585 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
1
vote
0answers
33 views

How can I easily deal with differences between BSD and GNU sed? [duplicate]

BSD and GNU sed have some small differences in what arguments they accept. I just learned that I have to use different command lines when using -i: sed -i '' # BSD sed -i # GNU I solved this ...
10
votes
2answers
4k views

What's the difference between “dir” and “ls”?

I have compared the man pages of dir and ls and they seem to be exactly the same. Both are part of GNU coreutils and "list directory contents". The only difference I've seen so far is that dir ...
0
votes
1answer
60 views

'pkglibexecdir' is not a legitimate directory

I'm following some outdated instructions in an attempt to compile some proprietary, closed-source, unsupported, legacy code. Here is what a typical shell session looks like: $ autoreconf -fi ...
8
votes
4answers
3k views

GNU/Hurd vs. GNU/Linux

I was quite surprised to learn that the GNU project has an independent kernel of their own called Hurd. And there are mainstream distributions like Arch Hurd and Debian GNU/Hurd which uses it. Is ...
15
votes
2answers
943 views

Is it possible to run pure GNU?

On the GNU Project webpage, there's a subsection called "All GNU packages" which lists the various software in the GNU project. Are there any GNU distributions which use only these packages -- i.e. a ...