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

5
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: the traditional way to set permissions, on Unix (and to allow programs to gain privileges, using setuid, setgid). I have recently discovered some ...
7
votes
1answer
735 views

Poor Man's GNU Parallel implemented in ksh?

I'd like to use the feature of GNU parallel where it can execute the command and the list it's fed in parallel and spit it out after it's all done, however, I don't want to install GNU parallel across ...
4
votes
3answers
294 views

Disable GNU Indent backup files

I am using GNU Indent to format C code in my project. By default backup files are created ending with a ~. I don't want to have any backup files created, is there a way to disable it?
1
vote
1answer
36 views

install gnu command

I have the command split installed. However I need the '--filter'argument, which is supported by gnu's split command. SO I need to install gnu split. How do I do that on my mac? I tried $ brew ...
0
votes
0answers
32 views

Why didn't GNOME 3 display desktop icons by default? [closed]

I found that in GNOME 3 the desktop icons are not displayed by default. I even cannot configure this in the ordinary settings panel; I need either to install additional configuration tool (gnome-tweak-...
2
votes
1answer
48 views

Can GNU/Linux software run on GNU/Hurd?

I am only familiar with the GNU/Linux system and I recently discovered the Hurd kernel, so the first question that came up in my mind was: is the software that I can find on a GNU/Linux system able to ...
13
votes
1answer
193 views

Why does `find . -type f` take longer than `find .`?

It seems like find would have to check whether a given path corresponds to a file or directory anyway in order to recursively walk the contents of directories. Here's some motivation and what I've ...
0
votes
1answer
38 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 ...
1
vote
1answer
50 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
88 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
19 views

How can I tell if GNU GSL is installed?

How can I find out if GNU Scientific Library is installed? OSX 10.11
-9
votes
2answers
156 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
37 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
68 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
142 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
225 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
102 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 etc.,...
0
votes
2answers
513 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
58 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 ...
31
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
116 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
11k 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
61 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. https://www.gnu.org/...
1
vote
1answer
23 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 job,...
4
votes
1answer
360 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
82 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
31 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 /usr/...
4
votes
1answer
78 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
528 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 ...
10
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
33 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 ...
20
votes
5answers
23k 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
46 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 hello....
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
296 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
74 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
138 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
48 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
62 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
40 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
234 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
70 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
175 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 gcc....
0
votes
1answer
234 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 /usr/share/nginx/html/2siti....
4
votes
5answers
355 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
825 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 ...