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
20 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
0answers
15 views

Any GNU C examples where faccessat() function (or equivalent) is used? [migrated]

In reading IEEE Std 1003.1 (POSIX Base Spec) regarding access(), I came across this note: "The purpose of the faccessat( ) function is to enable the checking of the accessibility of files in ...
0
votes
1answer
29 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
40 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
50 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
22 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
24 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
15 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
91 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
41 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
171 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) ...
1
vote
0answers
40 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
83 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
114 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
vote
1answer
41 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
102 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
56 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
64 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
106 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
76 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
136 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
164 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
55 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
159 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 ...
23
votes
1answer
848 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 ...
5
votes
1answer
1k 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
272 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
2answers
702 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
112 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
71 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
452 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
750 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
50 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
93 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
147 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
84 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
106 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 ...
7
votes
2answers
68 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 ...
3
votes
1answer
157 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?
-2
votes
2answers
3k views

What is the difference between Unix, Linux, BSD and GNU? [closed]

What is the very fundamental difference between Unix, Linux, BSD and GNU? Unix was the earliest OS, so the term 'Unix like' is understandable, since they have kernel, file system structure, most of ...
7
votes
3answers
192 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 ...
6
votes
3answers
8k 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 ...
19
votes
4answers
6k 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 ...
0
votes
1answer
96 views

What kernel for ARM architechture, Linux or BSD? [closed]

I'm a computer sciences student and recently started a project with the engineering department that involves an onboard ARM processor, the question is what sort of operating system, kernel and ...
3
votes
5answers
420 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 ...
1
vote
0answers
26 views

What are the numbers after program names in Linux/GNU documentation? [duplicate]

I see numbers in parentheses after program names and it confuses me. For example, perldoc mentions that perl grep is "similar in spirit to, but not the same as, grep(1) and its relatives." What does ...
13
votes
2answers
602 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 ...
3
votes
2answers
427 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 ...