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

78
votes
5answers
15k views

Why isn't Linux embraced as the official GNU kernel?

While I knew for quite some time the existence of Hurd, and its mission as the official GNU Operating System kernel, I was wondering how come Linux is not embraced as the official GNU kernel over the ...
27
votes
3answers
2k views

What is the `[` program that resides in my system's /bin?

I was recently browsing my Fedora's /bin folder and noticed a binary named [. I did try to search the internet for more information on that, but I couldn't find anything useful. Running it through ...
24
votes
4answers
2k views

What is GNU Info for?

I understand what GNU Info is and how to use it, but what is it for? Why does it exist in parallel to the man pages? Why not write detailed man pages rather than provide a separate utility?
24
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.
20
votes
1answer
422 views

When and how was the double-dash (--) introduced as an end of options delimiter in Unix/Linux?

I don't think the shell/utilities in historical Unix nor in something as "recent" as 4.4BSD supported using a double-dash(or two consecutive hyphens) as an end of options delimiter. With FreeBSD, you ...
15
votes
4answers
3k views

What are the differences between bsdtar and GNU tar?

I've always used GNU tar. However, all GNU/Linux distributions that I've seen ship bsdtar in their repositories. I've even seen it installed by default in some, IIRC. I know for sure that Arch ...
13
votes
1answer
2k views

What are the main differences between BSD and GNU/Linux userland?

I've read a lot on Unix & Linux about BSDs and GNU, etc. But I still don't understand what some actual, practical differences are between BSD and GNU userlands, despite the fact that they are ...
13
votes
6answers
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 ...
11
votes
2answers
2k views

Why does FreeBSD use the GPL-licensed GCC?

Why does FreeBSD use GCC as its default compiler? I am under the impression that a core pillar of the FreeBSD philosophy is not to use any GNU software and in particular, GPL code. Yet GCC which is ...
11
votes
2answers
481 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 ...
10
votes
4answers
3k views

Any options to replace GNU coreutils on Linux?

I've been thinking about discontinuing the use of GNU Coreutils on my Linux systems, but to be honest, unlike many other GNU components, I can't think of any alternatives (on Linux). What alternatives ...
8
votes
1answer
130 views

Why didn't GNU Info succeed man?

As per my knowledge/understanding both help and man came at the same time or have very little time difference between them. Then GNU Info came in and from what I have seen is much more verbose, much ...
8
votes
2answers
781 views

What is the point of ls -f (or, why is this hanging?)

I've got a directory with about 100,000 files in it. ls -f hangs for over a minute. I ran strace, and immediately started seeing getdents, so ls is clearly reading the directory. I also see a lot ...
7
votes
4answers
4k 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 ...
7
votes
4answers
2k 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 ...
7
votes
2answers
446 views

How is the order in which tar works on files determined?

$ touch dir/{{1..8},{a..p}} $ tar cJvf file.tar.xz dir/ dir/ dir/o dir/k dir/b dir/3 dir/1 dir/i dir/7 dir/4 dir/e dir/a dir/g dir/2 dir/d dir/5 dir/8 dir/c dir/n dir/f dir/h dir/6 dir/l dir/m dir/j ...
7
votes
1answer
379 views

What is the font used for GNU documentation?

I am interested in learning how documentation for GNU related software is written, and am wondering what type of font is used in their PDF documentation? (for instance, the GCC manual here: ...
7
votes
3answers
162 views

In shell config scripts, how can I account for differences between coreutils on BSD compared to GNU?

Up until this month, my shell configs have been pretty simple (just a .bashrc or .bash_profile with some aliases mainly), but I have been refactoring it so I can get different behavior depending on ...
7
votes
3answers
2k views

Is GNU PDF Library in active development?

I've been hearing about The GNU PDF Library since 2007. Since then I've been looking forward to see this tool in the wild, but four years have passed and it seems to me that this is a painfully long ...
7
votes
1answer
570 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 ...
7
votes
2answers
66 views

texinfo: Can I write non-english info files? Such as Chinese, and how?

Most gnu manual files use info, write a texinfo then makeinfo produces info files, it's great. Can texinfo contain non-English characters then produce non-English infos or pdfs? How can I write ...
6
votes
1answer
996 views

Why bash time is more precise then GNU time?

The buitin bash command time gives milisecond precision of execution and GNU time (usually /usr/bin/time) gives centisecond precision. The times(2) syscall gives times in clocks, and 100 clocks = 1 ...
6
votes
2answers
193 views

System programming: How to gather info?

According to this question, a good way to learn system programming would be to implement the existing tools. I decided to try to rewrite ls and ps. My question is how would one proceed to get ...
5
votes
3answers
4k 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 ...
5
votes
2answers
2k 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 ...
5
votes
3answers
450 views

What exactly do we mean when we say we are using Linux?

I was going through an article on GNU which goes something like below There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: ...
4
votes
2answers
3k views

Why doesn't tar ask before overwriting existing files?

I lost a couple hundred lines of a Vim plugin I wrote and continue back up every so often because I extracted a tar file containing an older version. I decided not to use source control management ...
4
votes
4answers
608 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 ...
4
votes
1answer
586 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
723 views

Install only a few GNU coreutils?

Is there a way to build and install only a few of the GNU coreutils? The README in coreutils-8.19.tar.xz lists 100-odd, but the INSTALL doesn't say how to install only a few, and the Makefile is (to ...
3
votes
5answers
380 views

What makes a distribution GNU and are there Linux distributions, that are not GNU? [duplicate]

So GNU/Linux is an operation system, consisting of several programs at a minimum: Linux kenel, gcc, gnu-binutils, Gnome desktop, etc. What makes a Linux distribution GNU? Is it the tools, with which ...
3
votes
2answers
337 views

Mac OS X command-line tools - differences from FreeBSD

As I understand it many Mac OS X command-line tools (like ls, cp, chmod, chown etc.) are imported from FreeBSD. Which version of FreeBSD contains the command-line tools most compatible with the OS X ...
3
votes
1answer
497 views

“tar --exclude-backups” does not exclude files with tilde at end

If I have the following directory: $ ls -a foo . .. a #a# a~ b b.bkp c .git .hg .svn and call: $ tar zcf foo-no-bkp.tar.gz --exclude-backups foo/ The resulting archive still has backup ...
3
votes
2answers
336 views

What are the kernel, the “GNU tools and utilities”, the shell and the Window Manager?

Among the many components of a Linux system, I find myself confused (as a newbie) about what exactly is the kernel or what is GNU's part. I understand some basic concepts of this, but where is the ...
3
votes
1answer
117 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?
3
votes
1answer
72 views

Common flag designations and standards for shell scripts and functions

I have been adjusting to using GETOPT and GETOPTS in my shell scripts and custom functions to enable me to use the functions that I create more flexibly. After using a number of UNIX functions I have ...
2
votes
2answers
245 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
2answers
344 views

Merging /usr/bin and /usr/sbin into /bin (GNU/Linux)

I've read quite a number of discussions about people wanting to merge /bin and /sbin into /usr/bin. The same cannot be said for doing it the other way around. Is there any technical reason why one ...
2
votes
1answer
1k views

Are Icecat and Iceweasel different projects?

I was interested in finding Firefox 'clones' in Linux when I heard about Icecat and Iceweasel. But while Icecat can be installed with sudo add-apt-repository ppa:gnuzilla-team/ppa && ...
2
votes
5answers
204 views

Can the GNU Project be seen as a distribution of Linux? [closed]

When Linus Torvalds was asked in the documentary Revolution OS whether the name "GNU/Linux" was justified, he replied: Well, I think it's justified, but it's justified if you actually make a ...
2
votes
1answer
43 views

Where is using @ before a date string for seconds since the epoch documented?

GNU date and touch commands (and presumably others) use @date to define a date string as seconds since the epoch. For example: $ TZ=UTC date -d@10 Thu Jan 1 00:00:10 UTC 1970 I was answering a ...
2
votes
2answers
780 views

How to create a gnu tarball that can be extracted by solaris tar

I am maintaining a legacy cygwin (with GNU tar v1.21) system and a legacy Solaris 9 system. The configuration of the Solaris 9 system is fixed and cannot be upgraded (i.e. I can't install gnu tar for ...
2
votes
1answer
1k views

Ignore Symlinks when Extracting Tarball

I have a relatively simple question that I cannot seem to find the answer for. I am attempting to extract a tarball (*.tgz, to be exact) and receiving terminal errors on extracted symlinks. ...
2
votes
1answer
92 views

less command runs out of memory

When searching for string (no regex etc.) in large file less filename and less -b 1 filename quits or prints it cannot allocate memory. top shows less using roughly about 5% of memory before it dies ...
2
votes
2answers
249 views

Richard Stallman compares Linux with Windows [closed]

I'm posting this here, because I really don't know any other place that could answer this. I'm curious about switching to Linux. I'm referring to this video: ...
2
votes
1answer
87 views

Translate GNU ps flags to standard flags

I'm using oh-my-zsh and its ssh-agent plugin on OSX, but lately somebody upstream decided to use ps x. I'm not entirely sure what that even does, since I haven't used a GNU userland in something close ...
2
votes
1answer
72 views

Why gnustep-config outputs nothing for any parameter?

Regardless of what I run: gnustep-config --debug-flags gnustep-config --objc-flags gnustep-config --base-libs It outputs nothing. How would I debug this? PS: the OS details: Ubuntu 12.04.2 LTS, ...
2
votes
1answer
77 views

How to set-up a Gnu/Linux distro for kids? [closed]

I will have to repair a computer, which will be used by kids (9-12 years). This computer had Vista, but I will install a Gnu/Linux distro, for security/pedagogic reasons. I just come here to ask if ...
2
votes
0answers
83 views

Corrupt files after extracting with Cygwin's GNU tar

I have a bunch of tarball backups which I just restored onto my new Windows 8.1 + Cygwin system using GNU tar: zsh$ for file in **/*.tgz; do tar xvzf $file; done To my surprise a lot of these ...
2
votes
3answers
32 views

Buffering (named) pipe in GNU OS

In the GNU OS a process can only write data to a pipe if another process reads the same data (from the same pipe) at the same time. Is there something like a pipe which lets the 1st process write and ...