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

learn more… | top users | synonyms

7
votes
4answers
7k 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
1answer
21 views

Replacing string in a script using sed

I am new in using sed command and I have an sql which contains "MONYY" and I want to change the "MONYY" in the file by replacing it with the current "MONYY" automatically. I have used the following ...
0
votes
0answers
24 views

Octal Dump is taking too long, and is only using 6% of cpu

I am trying to do an Octal Dump on a large binary file (roughly 50 GB) and it is taking much longer then it should. We are running this on a $7000 4-processor Thinkmate with 4 Core-Intel Xeons and 1 ...
0
votes
1answer
24 views

Is GNU Hurd using the same principles as Minix 3 for self healing?

Minix3 has a reincarnation server that can restart drivers if they crash or end up in a infinitive loop. It can even restart the disk driver by keeping a shadow copy of the same or an older version of ...
0
votes
2answers
37 views

find: show directories which contain certain subdirectories

I have a list of directories /u2/tip/coy/inter/fcs/ /u2/tip/coy/inter/fcs/devel /u2/tip/coy/inter/fcs/ecom_flink /u2/tip/coy/inter/fcs/totalstable /u2/tip/coy/inter/fcs/develbi ...
4
votes
3answers
629 views

GNU screen: change focus in split windows with mouse

Is there a way to enable proper mouse support in GNU screen so that I can switch the focus between split windows using my mouse? In other words, I'm looking for a mouse-driven alternative to typing ...
0
votes
1answer
24 views

Can less wrap lines like fmt does?

Like most people I use less as my terminal pager. Occasionally I view files consisting of very long lines of plain or marked-up text. By default less folds these lines at the terminal window edge. ...
0
votes
1answer
13 views

Unix mail command: Sort by newest first

When I use the "mail" command, it prints a list of messages in my inbox in a format like this: 1 Super User Mon Jun 9 17:13 86/4716 Complete Registration With Stack Exchange However I've ...
7
votes
3answers
5k 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 ...
10
votes
2answers
3k 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 ...
0
votes
1answer
42 views

How to install Debian GNU/Linux without Removing Windows or Formating

I want to install debian on my computer, and I already have Windows on it. Is there any way i can install Debian on a partition without removing what's in it or formatting? I can't get past the setup, ...
2
votes
2answers
57 views

How to list only ordinary files on UNIX

I'd like to list only ordinary files (not directories or symlinks) using ls from GNU tools. So far I have only some hackish greps. Is there an option or better way of doing that? Edit: I need more ...
1
vote
0answers
89 views

Slow hotkey response in GNOME 3.12

I run Arch, and I recently grabbed the 3.12 upgrade for GNOME. I've had F12 bound to terminator for a while, since I often have to summon new terminals. Ever since the upgrade, using a hotkey for a ...
0
votes
0answers
24 views

Ubuntu GUI slows to a crawl when doing CPU heavy stuff

For a clients site we have an Ant-build that is highly parallelized. The build consists of multiple GWT modules that are all quite heavy and built in parallel. The build takes about 5 minutes or so. ...
1
vote
1answer
72 views

What exactly does Cygwin do?

I understand that it "looks like" Linux by giving me forward slashes and providing a directory structure similar to Linux. I also know that a lot of apps have been ported to Cygwin, but if the source ...
0
votes
0answers
163 views

Booting Windows 7 from GNU GRUB v 1.99~rc1 Command Prompt

I just bought a new HP ProDesk 600 G1 SFF pc today. I booted it up for the first time and Windows 7 booted regularly. I created a user account and logged in. A prompt to backup my hard drive data with ...
1
vote
2answers
2k 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.
8
votes
3answers
2k 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 ...
1
vote
1answer
21 views

xargs process string as multiple arguments

Linux GNU xargs I have the file doit with arg1 arg2 arg3 arg4 arg1 arg2 arg3 arg4 I want to perform command arg1 arg2 arg3 arg4 command arg2 arg2 arg3 arg4 What I can't figure out is how to ...
1
vote
2answers
138 views

How to figure out what device (if any) my DVD drive is assigned to in Debian GNU/Linux

I am running stock Debian Jessie and I would like to burn a DVD with xfburn. Problem is that xfburn can't see my DVD drive. e.g. it does not show up under as /dev/scd0 or any other (as far as I can ...
3
votes
2answers
4k 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 ...
3
votes
3answers
363 views

linux tar -T - does not work on the fly

I found some problem with linux gnu tar. wheh I use option -T - (for file list from stdin) or -T named_pipe_file , this desn't work on the fly. for example, simple interactive script: while ...
3
votes
1answer
91 views

How to do a multiline search in less?

In less, can you search using / for a pattern that contains a carriage return and newline? I know your pattern can end with a line using $ (from How do I include newlines in a search in less?), but I ...
3
votes
0answers
73 views

Installing GNU mailutils on windows

I'm using Windows 7, and would like to use the GNU mailutils, specifically mu and mu4e. Unfortunately, these are not available as Cygwin packages. Is there any way to use GNU mailutils on windows ...
0
votes
1answer
51 views

Linux on SUA. Any active projects?

I would like to know whether besides the following attempt http://www.debian-interix.net/ to port the entire set of tools which come with the most popular Linux systems to Windows systems with SUA ...
1
vote
1answer
212 views

Windows 7 Ultimate versus Cygwin: POSIX compliance and is it practical to install a GNU system directly on Win 7 Ultimate without Cygwin

What are the advantages or disadvantages of using GNU/Linux utilities on Windows 7 via Cygwin as opposed to making use of Windows 7 Ultimate SUA (Subsystem for UNIX-based applications) support ...
1
vote
3answers
129 views

Permanently set `find` regextype

GNU find allows the use of different regex formats via the -regextype option, but as far as I can tell I have to type out -regextype <whatever> every single time which is onerous. If one wants ...
0
votes
2answers
163 views

Can gnu screen prompt for a title when a new window is created?

There are a number of questions about automatically naming screen windows based on what's running in them. But sometimes why you created the window is more important than what you're doing in it. ...
0
votes
1answer
43 views

Move numbers in a filename to the start

I have several files in a folder, with names in the form: SOMETEXT1 number SOMETEXT2.mp3, or SOMETEXT number.mp3. I want to rename these to number SOMETEXT SOMETEXT2.mp3, or number SOMETEXT.mp3. Using ...
0
votes
1answer
45 views

Does a successful exit of rsync -acvvv s d guarantee identical directory trees?

I have two volumes, one xfs, and another ntfs - ntfs was empty, and xfs had 10 subitems. I needed to sync them. I initially copied a few of the subitems by dragging them over in a gui fm. Several of ...
3
votes
2answers
467 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 ...
0
votes
2answers
189 views

Copy file names to another folder

I need to copy file names from one folder to another. File contents are never changed. No files are overwritten, moved or copied. It's only about file names. I have a folder A with files named: ...
0
votes
2answers
443 views

How to install GNU gettext on windows 7?

I need to install version 0.15 or higher of GNU's gettext. I've downloaded : http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz from https://www.gnu.org/software/gettext/ However I ...
1
vote
2answers
330 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?
0
votes
1answer
101 views

Create user with partial root permissions

Is there any way to create a user with partial root permissions on a GNU/Linux system? For example: A user who can use the useradd and userdel tools, but nothing else besides regular user ...
5
votes
4answers
3k 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 ...
8
votes
3answers
368 views

What should I make my computer do while I'm away from keyboard? [duplicate]

During the day, usually I'm away from my computer for 3-5 hours. I also sleep 6+ hours every night. I run Arch Linux x64 on my computer. Besides the usual things that do not require user ...
0
votes
4answers
308 views

Does 64bit GNU/Linux have better performance?

I had 32bit Ubuntu (with Xfce) and now I switch to 64bit Xubuntu and I'm not sure but I think that 32bit had better performace, but just a feeling. I want to know which one 32 or 64 will give better ...
3
votes
2answers
1k 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 ...
0
votes
2answers
237 views

How can I iterate through possible completions in gnu readline?

In a shell that implements GNU Readline, I can click the key to get a list of possible completions to what I started typing. For example: C:\>cd P<TAB> PerfLogs\ Program Files ...
1
vote
0answers
324 views

Using Thunderbird, how can one attach from command line a file containing commas (,) in its name?

thunderbird -compose "attachment='$HOME/test test.txt'" works. thunderbird -compose "attachment='$HOME/test, test.txt'" does not work and gives a file does not exist error message. This must be ...
2
votes
2answers
118 views

Why is sort.exe truncating large output on 32-bit Windows?

We have a data file from a client which is 1,443,777,659 bytes in size. Sorted output has lines missing and is only 1,269,801,985 bytes in size. Sample command: sort -k 1,10 -T . -s -i ...
18
votes
3answers
1k views

Why does the output of some Linux programs go to neither STDOUT nor STDERR?

Why does the output of some Linux programs go to neither STDOUT nor STDERR? Actually, I want to know how to reliably capture all program output, no matter what 'stream' it uses. The problem I have is ...
1
vote
1answer
40 views

Viewing the ASCII codes of piped-in characters

Is there a command that would let me see ASCII values of characters outputted from a program? Say I pipe in a NUL character and a p, could I get a 0 and a 112 out?
1
vote
1answer
44 views

What does GNU tar “--restrict” option actually restrict?

The manual of GNU tar only states that --restrict: --restrict disable use of some potentially harmful options Can anyone elaborate on what are these "harmful" options? I could not ...
2
votes
1answer
119 views

In Debian GNU/HURD, how to switch back to text terminal after I start X?

I've been running Debian GNU/Linux for several years. Recently I gave Hurd a try by running Debian GNU/Hurd on a physical machine. It works fine, and I can get X running without problem. The problem ...
0
votes
1answer
81 views

Attach screen on a running terminal

I have a long running process in a (virtual) terminal that unfortunately was not started in a (gnu) screen session. Is there a way to migrate it in a screen session? (obviously, without stopping it) ...
7
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 ...
1
vote
1answer
207 views

GNU GRUB - Misaligned display/screen

I have installed Ubuntu 12.04 with Windows 7 - and upgraded to Ubuntu 12.10 recently - Ubuntu installed the GRUB (version 2.00-7ubuntu11) boot menu. When I first got Ubuntu, I changed the default OS ...
3
votes
4answers
1k 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, ...