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

learn more… | top users | synonyms

8
votes
4answers
284 views

Unix tools: what if a file is named minus something?

I'm always wondering: most GNU/Unix tools take options in the form "minus something", sometimes followed by an argument. What if you got a file named minus something? $ ls -f $ rm -f $ ls -f $ mv -f ...
7
votes
2answers
714 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 ...
7
votes
1answer
2k 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 ...
6
votes
2answers
6k 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 ...
6
votes
5answers
372 views

What is the difference between GNU's “Free Software” and “Open Source Software”? [closed]

I've always referred to free and open source software simply as "Open Source". However, some people have approached me saying that these two "things" (or philosophies) actually aren't the same at all. ...
6
votes
2answers
2k 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 ...
6
votes
1answer
1k 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 ...
5
votes
3answers
5k 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 ...
5
votes
3answers
2k 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 ...
4
votes
5answers
729 views

Best way to get 'linux command line tools' on Windows

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 ...
4
votes
1answer
3k 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 ...
3
votes
4answers
2k views

Gnu Tools for Windows

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 ...
3
votes
1answer
276 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
291 views

sed Command on BusyBox expects different syntax?

I hope I phrased the question correct. I have a script that makes use of 'sed' a lot. It works great on my ubuntu with the GNU 'sed'. But when I try to run it on BusyBox it fails. Is there a way to ...
3
votes
4answers
1k 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 ...
3
votes
3answers
2k 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 ...
3
votes
1answer
250 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?
3
votes
2answers
671 views

Getting information from armord gpg public key

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

How to open a file whose name is given within another file in Emacs

For example, if my A.txt contains the following line: summary is at: /summary/is/at/summary.txt how can I open summary.txt without having to copy-paste the path, or write the whole path after C-x ...
3
votes
1answer
99 views

Is Debian Squeeze's tar still lacking a tar with xattr support?

Is it true? At least on my Ubuntu 12.x, the shipped GNU tar does not have the --xattrs option ...but why?? (and what are my alternatives, to backup files with xattr?)
2
votes
2answers
262 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 ...
2
votes
1answer
96 views

Installing GNU GPL softwares in office [closed]

I had installed WinMerge and Notepad++ in office computer. My Manager told that I am not supposed to install these softwares in office as it is illegal. What could be the reason? I was under the ...
2
votes
3answers
1k 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 ...
2
votes
3answers
216 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 ...
2
votes
3answers
3k views

Difference between UnxUtils and GNU CoreUtils

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 GNU ...
2
votes
1answer
91 views

Are IceWeasel and IceCat just different rebrandings, or are they 'really' different?

As we know, Firefox' branding (name, logo etc.) is non-free copyrighted, so some Linux distributions package (more-)fully-free versions. However, I can't get a straight explanation on Wikipedia (here ...
2
votes
1answer
414 views

Transcode videos to webm with lossless compression

I am using GNU/Linux(Arch Linux), and i need to transcode some videos from .avi/.mov to .webm. I don't have the original file for most videos, only the "very compressed" .avi, and i can't loose any ...
2
votes
1answer
107 views

Can tar be forced to exit on the first error?

By default, for many kinds of errors tar prints a message to stderr and then continues on its way -- the errors it calls "recoverable" errors, typically errors that relate to a single file or archive ...
2
votes
2answers
1k 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 ...
2
votes
1answer
563 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 ...
2
votes
2answers
189 views

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

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 ...
2
votes
1answer
152 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 ...
1
vote
4answers
858 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, ...
1
vote
4answers
1k views

What is emacs? What makes it so popular? [closed]

What is EMACS ? I only know that it is some kind of text-editor, but what makes them it popular? How it different from the default text editor in windows which is notepad ? I read about it on ...
1
vote
3answers
555 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 ...
1
vote
3answers
122 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
544 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
37 views

How to find mouse binding in Emacs for mouse-5 events?

In Gnu Emacs v23, I'd like to find out what is bound to mouse events like the following: <mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5> ...
1
vote
2answers
241 views

bash get home dir by username

I want to obtain home dir of any user with echo echo ~puchuu >> /home/puchuu But I cant use variable echo ~$USER >> ~puchuu echo `echo ~$USER` >> ~puchuu
1
vote
2answers
2k views

LANG and LANGUAGE environment variable in Debian based systems

It seems both the LANG and LANGUAGE environment variable are used by some programs to determine their user interface language. What are the exact semantics of these variables and where can I read ...
1
vote
2answers
335 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?
1
vote
2answers
33 views

chmod symbolic notation: unexpected “=” operation behavior

I am reading The Linux Command Line by William Shotts and I read somewhere in the book a part regarding permissions which says The operation may be a “+” indicating that a permission is to be added, a ...
1
vote
1answer
202 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?
1
vote
2answers
500 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
109 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 ...
1
vote
2answers
60 views

Match regex pattern only in filename.extension

I need to use find to locate a file matching a regex pattern in filename.extension instead of the default, which matches /path/to/filename.extension. For instance: /folder |--a-love-song.ogg ...
1
vote
1answer
53 views

set sink index in pulseaudio

Is there some configuration option to specify that X device should always grab sink index Y? Much like you can force a specific sound card driver to have a specific card index in alsa? Failing that, ...
1
vote
1answer
55 views

GNU tar symlink preservation on case by case basis

I'm trying to create a tarball, and there is one specific file that I need to preserve as a symlink in the tarball. However, there are a lot of other symlinks that I can't preserve as symlinks, ...
1
vote
3answers
319 views

Will multicore allow the same CPU usage as multi CPU [duplicate]

Possible Duplicate: Multi-core CPU: can I say I have a 3x2.1GHz=6.3GHz CPU? I plan to buy latop with with i5-2410M processor that have 2 cores (according to spec it can also have 4 ...
1
vote
1answer
383 views

remove deleted OSs from grub 1.98 boot menu

I am trying to remove entries for deleted operating systems, from grub 1.98 menu. I am using Gnu/Linux Debian 6 ( grub version 1.98+20100804-14+squeeze1 ). I have an Ubuntu partition with 10 kernel ...

1 2