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

1
vote
0answers
24 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 ...
1
vote
2answers
741 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 ...
4
votes
5answers
113 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 ...
1
vote
0answers
31 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 ...
0
votes
1answer
20 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 ...
3
votes
3answers
62 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 ...
0
votes
0answers
12 views

No internet connection [Linux-libre]

I tried to install Parabola what worked after that I rebooted and booted from my hard drive and wanted to update with "pacman -Syu" all were unknown hosts I also tried to ping other sites. As I found ...
1
vote
1answer
52 views

Cross compiling a software module

I'm trying to compile dropbear with the GNU ARM tool chain. I've went through this guide and managed to successfully build all the required tools. They are located in a directory: ...
0
votes
1answer
20 views

Compile freedink couldn't find SDL2

I tried to compile GNU Freedink as described in the BUILD file but when I try to configure it couldn't find SDL2. Log: http://pastebin.com/GYHHa4T0
-1
votes
1answer
50 views

To sed if with and without conditions correct

I know that I may have the C package #include <stdint.h> in the first 1-30 lines. I would like to add it to lines where no previously if the file contains the word LARGE_INTEGER by GNU tools. ...
1
vote
2answers
52 views

Exec condition and xargs in Find simultaneously

I am trying to include the standard C package stdint.h to files which have the word LARGE_INTEGER, as a part of conversion from Windows to Linux drivers as discussed here for datatypes. I know the ...
0
votes
0answers
48 views

Which version of split support flag -p?

Code which 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 versions I do ...
0
votes
1answer
46 views

Launch Win 7 from Grub Terminal?

I a newbie to Linux and tried to install Ubuntu via Win 7 from my SD card where I used a program to mount the is file. I launched the installer from Windows and I asked the program to reboot and it ...
0
votes
1answer
61 views

cp options --no-clobber vs. --update

I want to copy a single file if (and only if) the destination does not exist. The source file changes rarely, maybe once a month. The destination almost never exists. Are there any differences ...
0
votes
1answer
56 views

direct GNU sort to use much memory and many cores

I have a fairly large text file (19Gb, half a billion lines) and a fairly large server on which to sort it (16 cores, 64Gb memory) running Ubuntu 12.04. What is the best way to use the command line ...
4
votes
2answers
85 views

How to prevent automake from overwriting INSTALL?

I'm working on a project that has a custom INSTALL file. Running automake --add-missing (or more precisely, autoreconf -i) will generate the GNU default INSTALL file, and overwrite our file with it. ...
0
votes
1answer
30 views

Where can I use 'beadm'?

I want to use beadm destroy but I don't know where can I type that command... Do I have to type it here or where?
-2
votes
1answer
32 views

How do I get a list of users that are not on the last command? (Not logged in recently)

I need a list of users that I cannot find by using the last command (i.e. they were not logged in recently). Would a temporary file be useful for this?
0
votes
0answers
21 views

GNU screen - prompt position is not at the top in full screen mode (PuTTY)

when I use screen (in combination with PuTTY), the prompt doesn’t jump to the top position of the terminal when switching to full screen mode. When I start screen, the prompt is in the first line as ...
1
vote
1answer
97 views

Will `mv` ever have the ability to create directories?

This question asks for the best way to create a directory when using mv if it doesn't exist. My question is why isn't this an inbuilt feature of mv? Is there some fundamental reason due to which this ...
3
votes
1answer
49 views

Can tar discover the archive format when piping it in via wget?

When I have a tar archive of any format, I can use: tar xf archive.tar.xz tar xf anotherarchive.tar.gz as tar discovers the relevant format by itself. Now I want to download the archives and ...
6
votes
3answers
201 views

What do the “features enabled” in GNU find mean?

When I use find --version with GNU find, I get something like this: find (GNU findutils) 4.5.9 [license text] Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) ...
2
votes
0answers
73 views

What types of regex DO support (e.g.) negative lookbehind?

Bash on GNU: I am using a collection of find commands, most of which employ -regex to do their matching. Each time I try a different feature in my regex I have to cycle through the values for ...
0
votes
1answer
99 views

bash: What is the difference between these two script variants?

(Note: Both of these examples may require GNU or BSD find and may not work as-is with the POSIX "edition" of find). Both of the scriptlets below must be understood as excerpts from way more complex ...
0
votes
1answer
202 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 ...
2
votes
1answer
60 views

Portable wrappers for GNU, BSD, etc. versions of tools

Is there any script that provides a compatibility layer to a subset (a rich subset would be best of course) of BSD and GNU commands? As an example, possible cases handled could include: dd and its ...
0
votes
1answer
118 views

Scripting multi-volume (GNU) `tar` with pre-defined number of volumes

I've wrote me a little script to test (or extract) a very big multi-volume tar archive (note: created with GNU tar), each of which 00x.tar chunk will fit onto a standard DVD: #!/bin/bash d=$(dirname ...
0
votes
0answers
58 views

Why does GNU head/tail read the whole file? [duplicate]

I have a huge file and want to see its beginning and end. However, when I use head and tail, it apparently tries to read the whole file. Since the file is larger than a terabyte, this takes a very ...
0
votes
2answers
87 views

difference between gnu tar and tar package in fedora repositories

man page of tar in fedora (and also man page of tar on die.net) mentions the --acls and --xattrs and --selinux options but they are not mentioned in tar manual in GNU website Why? do this mean ...
-1
votes
2answers
136 views

How similar are Linux and Unix exactly? [duplicate]

I am a computer science minor and I do appreciate *nix a lot more since i started to delve into computer science. I used to be a windows fan boy and now i own two macs (as well as my PC which has ...
2
votes
3answers
100 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 ...
2
votes
1answer
157 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 ...
9
votes
1answer
203 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 ...
2
votes
1answer
68 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 ...
0
votes
0answers
206 views

GNU Guix usb-install freezes at GRUB after boot

I wanted to try out the GNU usb install that was released with Guix 0.7. The problem is that when I try to boot from the USB, it freezes, with the word GRUB and a flashing type line. I followed the ...
25
votes
1answer
1k 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 ...
6
votes
1answer
2k 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, ...
1
vote
0answers
367 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 ...
2
votes
2answers
952 views

What is the relationship between GNU and GNOME?

Is there any relation between GNU and GNOME? And further related license GPL?
2
votes
0answers
128 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 ...
1
vote
1answer
80 views

`sort` disregards question mark [duplicate]

I need to sort a file based on names in the first column. Some of the names end in a question mark. sort persistently ignores this question mark during sorting: sort -k 1 -t , <<TEST a?,1 a,2 ...
3
votes
2answers
511 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 ...
8
votes
2answers
946 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 ...
1
vote
1answer
55 views

Building GNU part of GNU/Linux [closed]

I have successfully built the Linux Kernel 3.13.6 and ran it in QEMU. Since it is just the kernel, it will eventually complain that it cannot find init or sh, etc. Therefore, it is necessary to ...
1
vote
3answers
112 views

My grep (GNU grep) 2.5.1 does not obey backslash character and special expression

I'm trying to follow a section in The GNU Grep Manual but my expression isn't working. Is it my grep version? Red Hat 5.5. $ rm file $ echo 'hello world' > file $ grep 'hello world' file hello ...
28
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 ...
2
votes
1answer
181 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
1k 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 ...
3
votes
1answer
93 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 ...
3
votes
1answer
113 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 ...