GNU is a 'nix operating system developed by the GNU project. GNU is normally used with the Linux kernel.

learn more… | top users | synonyms

9
votes
2answers
7k views

Does GNU/Linux counts processes and threads together when I limit their number?

I want to limit the number of processes per user on my machine, with /etc/security/limits.conf and the nproc value. I have read here that Linux dosen't distinguish between processes and threads? My ...
5
votes
1answer
11k views

How to setup MX Record?

I am trying to setup a mail server in my PC for my LAN network and I opted for Postfix but the configuration ask me to configure the MX Record, something about DNS configuration but I have no idea of ...
0
votes
1answer
671 views

Can I use gnu grep to search for unmatched parens (and similar)?

I write text files in the MoinMoin Wiki markup language in a text editor (emacs). When I mis-place one of the special tags my whole page gets mangled with the wrong formatting -- or worse. I always ...
1
vote
1answer
206 views

Where to put the GPG keys in $HOME/.gnupg?

I run OpenSuse 11.4 and KDE 4.6. I installed Thunderbird and Enigma. Thunderbird is the following version: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 ...
0
votes
1answer
164 views

Windows port of jwhois?

Other than UnxUtils or GnuWin32, does anyone know of any Windows ports of the GNU jwhois utility? UnxUtils contains a very old version (2.4.1) that no longer works properly, and GnuWin32 crashes ...
1
vote
2answers
571 views

Emacs in terminal mode and line wrap

Why does emacs display a "\" when a line wraps? Visually this is no issue, but if I want to copy a line which also wraps, the "\" character is also copied to the clipboard. How do I get rid of this?
8
votes
2answers
3k views

Can I name GNU screen sessions?

I use multiple sessions for different things. One for work, one for school work and one each project I'm working on. It gets really hard to keep track of the sessions when screen -ls returns ...
0
votes
2answers
377 views

Grep log for certain word only if followed by another word

I have a log file with entries like the following: Input php notice bob php notice winner php notice blah winner php notice asfsdf test php erro)r bob ...
1
vote
2answers
1k views

GNU find: Disable the error when 'find' finds no matches

I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible ...
1
vote
1answer
471 views

Receive shutdown broadcast notification in desktop (GNU/Linux, Gnome)

When # shutdown +5 is run all the terminals (including pseudo terminals) are sent broadcast messages saying system is about to go down. Is it possible for user to receive this in the form of OSD ...
4
votes
1answer
730 views

sort by word length in Nth column

I've got a column file like this: 1 1 1 AKSDFJADFKASDJFAK 2 1 1 ADKLCJASDLKCJDLACKADCJLKDACJADS 3 1 2 AKLJDFHALKDJFHLKJSDKSDFHAKJFDHAKFHJAKFJ And I would like to sort the entries by the fourth ...
3
votes
2answers
806 views

When does rm remove open files?

Particularly, I want to know what happens when I rm an open file and don't explicitly kill the process holding the file descriptor to that file. Will the file be removed when the system is shut down?
1
vote
2answers
264 views

Cross-platform implementation of GNU tools? (Preferably Java)

I'd like to have GNU tools available on multiple platforms, behaving the same. I know there are ports, like http://gnuwin32.sourceforge.net/, but they are different from what's supported by the linux ...
2
votes
1answer
2k views

How to install and use GNU unifont in cygwin on Windows7?

I'm using GNU unifont on FreeBSD and would like to have the same font available under Windows7 in a cygwin terminal. My attempts to install GNU unifont for general use (so it would be available in ...
1
vote
1answer
2k views

GNU sort and git blame

Today I thought I was doing a simple operation: git blame file | sort -k 3 To get all the lines of file sorted by the date on which they were last changed. Unfortunately it doesn't seem to be ...
3
votes
2answers
689 views

Difference between find -name with and w/o quotes?

I was going to file a bug to findutils on gnu.org when I saw a notice that asked me whether I knew the difference between these two commands: find -name *.c and find -name "*.c" I use find ...
5
votes
4answers
5k views

Gnu Tools for Windows [closed]

I was looking for Gnu Tools for Windows and came across two links: http://unxutils.sourceforge.net/ and http://gnuwin32.sourceforge.net/ Does anyone know what is the difference between them and ...
1
vote
2answers
2k views

What is the character used to indent the Make file rule recipe?

I am using gnu make and in a Makefile I have, I see below rule. I want to add a similar rule with a recipe, but when I add a rule and its receipe on the next line by giving a tab or space for the ...
1
vote
1answer
104 views

May I use code from GNU (2.0) licensed open-sourced SW for commercial purposes

My case exactly. I need to implement a feature in a Wordpress theme. Found a GNU licensed plugin for Wordpress which does that. Am i allowed freely to copy and modify those code parts and incorporate ...
0
votes
2answers
5k views

What is a Makefile.inc?

I have a basic questions as to if some Makefile includes a Makefile.inc. Generally what commands/configurations/rules go into the Makefile.inc ? Any pointers would be useful. thank you. -AD
15
votes
3answers
6k views

Make GNU screen survive reboot

I am using GNU screen a lot. I find it very annoying that everytime the server has to be rebooted I lose all my sessions (even if I know in advance, I need to set-up everything again). I've searched ...
1
vote
3answers
142 views

Get man page for different implementation of same command?

On SunOS man grep gives me the man page for the SunOS grep but grep --version says it's grep (GNU grep) 2.5. How do I get the man page for GNU grep?
1
vote
2answers
263 views

A good list of command line *nix like apps for windows? [closed]

I'm looking for a list of command line *nix like apps for windows. I suppose gnuwin32 is a good idea, and cygwin... Each give a good list. any other ideas? I know sometimes there are good programs ...
1
vote
2answers
435 views

What alternatives to SSH do GNU users use?

I have heard that SSH was originally for BSD. Is this correct? And what alternatives to SSH do GNU users use? Or do people just not use GNU for SSH or an SSH type application?
15
votes
3answers
5k views

Getting information from an armored gpg public key file

When given a file with an armored public GnuPG key, i.e. a file (pubkey.gpg) that was created with: gpg -r 0xDEADBEEF --export --armored > pubkey.gpg What is the best way to get information such ...
9
votes
1answer
3k views

Can GNU sed (for Windows) handle Unicode? If so, is it a code-page/locale issue, or a switch?

I've been using GNU SED on and off for a couple of years now. It spins me out a bit sometimes, but it does a good job... for single-byte char sets! I now and then notice references to GNU SED being ...
14
votes
3answers
8k views

Difference between UnxUtils and GnuWin32?

I am a Windows user who wants programs like grep and sed along with other utilities like ls, cut etc in my command prompt. I came across 2 packages which would accomplish this UnxUtils GnuWin32 I ...
2
votes
3answers
2k views

GNU License restrictions. Can I write and distribute/sell programms for Linux? [closed]

How does the GNU license work? I understand, that I am not allowed to do some modifications to Linux, then compile it, put it in CD and start selling or distributting without source code, right? But ...
0
votes
1answer
753 views

Installing GNU Prolog on Mac OS X (getting a Bus Error)

Just installed gnu prolog on Mac OS X 10.4 but it is not working. When I go: % ./gprolog Bus error Anyone have any ideas?
5
votes
3answers
6k views

How do I add color syntax highlighting to GNU emacs?

I have two versions of emacs available to me on a locked workstation: $ /usr/local/bin/emacs --version GNU Emacs 22.3.1 $ /usr/bin/emacs --version GNU Emacs 21.4.1 In both cases, my terminal type ...
1
vote
2answers
3k views

UnxUtils.zip: GNU utilities for Win32 (download link)

Where can I find the latest Gnu utilities for windows to download? The download link in the project homepage is a 403.
2
votes
3answers
291 views

How short a time can time (the Linux program) measure?

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of ...
1
vote
3answers
658 views

OpenSolaris and NTFS

Is there any way to mount NTFS partitions in OpenSolaris? This is the main issue preventing me from testing it out for more than a day. I need to be able to mount my external. I have vast experience ...
3
votes
4answers
2k views

GNU find with -exec rm removes matches, then complains they don't exist

I have a /domains directory in which I have entries such as theawesomesite.com 0.2.v.theawesomesite.com 0.3.v.theawesomesite.com And after testing 0.3, I'll set the main domain to alias the new ...
4
votes
4answers
2k views

Dividing with Gnu's bc

I'm just starting with Gnu's bc and I'm stuck at the very beginning (very discouraging...). I want to divide two numbers and get a float as result: $bc bc 1.06.94 Copyright 1991-1994, 1997, 1998, ...
2
votes
1answer
165 views

Why doesn't “find -print0” work in Cygwin under Vista?

I'm writing a simple shell script: find datafiles/ -type f -print0 | xargs -0 md5sum > datafiles.md5 In Cygwin under Vista, it just sits there and nothing happens. It works fine on Linux. What ...
5
votes
3answers
3k views

How do you install gnu MAKE without compiler

I'm a little new in this area. I have a virtual machine centos5.1 that doesn't come with make or any compiler... basically stripped down. It doesn't come with any install packages like yum, rpm or ...
8
votes
4answers
11k views

find: -exec vs xargs (aka Why does “find | xargs basename” break?)

I was trying to find all files of a certain type spread out in subdirectories, and for my purposes I only needed the filename. I tried stripping out the path component via basename, but it did't work ...
0
votes
2answers
2k views

GNU Octave: How to change base from DEC to BIN?

I need to do many binary calculations of the form: 10.1^(1/11) base 2 10.001^(1/11) base 2 10.0001^(1/11) base 2 10.00001^(1/11) base 2 10.000001^(1/11) base 2 ... where 1/11 base 2 = 1/3 base 10. ...
12
votes
2answers
13k views

How to Combine find and grep for a complex search? ( GNU/linux, find, grep )

I'm trying to do a text search in some files that share a similar directory structure, but are not in the same directory tree, in GNU/Linux. I have a web server with many sites that share the same ...
10
votes
1answer
12k views

Bash command to cut output after x number of lines

I'm looking for a bash command, which I can use to limit the number of lines of a file or another command output. E.g. ls -thor | limit 10 would limit the output of the ls command to 10 lines (in ...
5
votes
4answers
10k views

Best way to get 'linux command line tools' on Windows [closed]

I'd like to download the basic stuff like 'rm -rf'. I used to just download cygwin, but are binutils or some other alternative better (if all I need are the truely basic stuff ... I'm trying to think ...
7
votes
2answers
3k views

Call but not download a page with wget

I was wondering if there was any argument that allowed me to use wget and "call" a page, but without downloading the page. The problem is that when you call wget on a page, it downloads it to the ...