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

learn more… | top users | synonyms

0
votes
2answers
32 views

EFI Boot Grub on USB Stick

I'm trying to install ParrotSec Linux on an MBR USB stick. The root folder in mounted on sdc5 and I have an ext2 partition on sdc3 containing grub configuration, vmlinux and initrd. I have another ...
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
1answer
60 views

What does the G in GNU stand for? [closed]

(Please do not respond if you are going to say "GNU") I've see https://answers.yahoo.com/question/index?qid=20100402213627AAVRQMm, except the answers are mixed. They had to come up with that first ...
0
votes
0answers
14 views

GNUPLOT: want to zoom but y-axis range was previously fixed: only x-axis is changing

The command I used to plot the graph included a setting of the y-axis and total freedom for the x-axis: [:][-10:10]. After the window opened, I wanted to make the y-axis range smaller. I tried this ...
0
votes
1answer
20 views

GNU Icecat source code. Where to find a specific line?

I've been using GNU Icecat Browser (libre Firefox version made by Gnuzilla) for some weeks. I've been diving through its menus and I found an error: When I get into the 'Customize Mode' (the one that ...
0
votes
0answers
65 views

How to install and run bc in Windows 10 properly?

I have installed the bc with the setup program. After I clicked the bc icon under the GNUWin32/bin, the bc.exe began to run. But when I ran the program, an error bc: command not found occurred. Same ...
6
votes
3answers
30k views

How to install GNU make in Windows 7?

I am trying to install GNU make-3.82 on Windows 7. I downloaded the make-3.82.tar.gz setup but it does not have any setup file. There is process given on GNU site. But when I reach to the folder in ...
1
vote
2answers
260 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 ...
5
votes
2answers
9k 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
1answer
160 views

sed without regex

I am using GNU SED for find and replace functionality on large files(upto 2GB). Find and replace characters can contain any characters, hence I want find and replace parameters to be treated as plain ...
0
votes
1answer
55 views

Is there a way to set up a warning before executing some commands in the terminal?

There are some terminal commands that are proficient at destroying large swaths of data very efficiently. Like: sudo rm -rf /* or rm -rf /*. I want to set up a warning that will show up, whenever ...
1
vote
1answer
1k views

Windows 10 virtual machine disappears in seamless mode in Arch Linux

I have Arch Linux (64-bit) and I installed 32-bit Windows 10 in VirtualBox. Everything seems to work fine—fullscreen, scaled, etc…—except for seamless mode. When I activate seamless mode, the virtual ...
1
vote
1answer
28 views

plotutils: `graph` creates empty plots

I'm trying to create simple plots using graph as described in this tutorial. However, even the most basic example: echo 0 0 1 1 2 0 | graph -T png > plot.png produces a perfectly white 570x570 ...
3
votes
3answers
128 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
0answers
19 views

Debian GNU/Hurd on Virtual Machine not working

I am trying to install Debian GNU/Hurd on Virtual Machine on Windows, I tried different .iso, created images, installed step by step however each time I start it stops at this part: start extfs2: ...
15
votes
3answers
5k 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
1answer
95 views

How do I set $LESS invocation options in a lesskey file?

I'm trying to use less's lesskey-file support, as described in the manpage: KEY BINDINGS You may define your own less commands by using the program lesskey (1) to create a lesskey file. This ...
0
votes
0answers
25 views

GNU Units currency update

GNU Units has a script to update the currency values, units_cur, which is supposed to download currency conversion values. Unfortunately, it tries to download it from ...
7
votes
5answers
15k views

How to get the actual directory size (out of du)?

How do I get the actual directory size, using UNIX/Linux standard tools? Alternative question: How do I get du to show me the actual directory size (not disk usage)? Since people seem to have ...
0
votes
0answers
15 views

Synthesizing progress function with tar script

I use this tar script to backup my files: #!/bin/bash cd /mnt/backupdisk tar -cvpzf "$(date +%m%d%Y).tar.gz" --exclude="~/Documents/Excluded" --exclude-caches-all /home I want to add a progress ...
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. ...
0
votes
1answer
28 views

Awk eqivalent to grep -C <num>

I want to print 5 lines of context around each line that matches "foo" but not "foobar". I can do the match easily enough via <output> | awk '/foo/ && !/foobar/' but I can't figure out ...
2
votes
1answer
1k views

Kali linux 2.0 wlan0

I executed the following command not knowing that it would disable the wireless option from my settings. iw wlan0 del Is there any way to reverse the command? Any help would be really appreciated. ...
2
votes
1answer
20 views

Why does the behaviour of find(1) differ when explicitly adding -print?

The man page for find(1) says: If the expression contains no actions other than -prune, -print is performed on all files for which the expression is true. However, there seems to be a ...
0
votes
1answer
59 views

How can I make this SED command more portable?

I'm using the following sed command: cat version | sed -e 's/[0-9][0-9][0-9][0-9][0-9:M]*-[abp]/Ver\n/' Which normalizes like this: 4330M-p -> Ver<newline> This works fine with GNU ...
-1
votes
1answer
69 views

Should Complete OS X and iOS Source be Available via GPL? [closed]

I have been familiarizing myself with the GNU General Public License (GPL), and the way I understand the license is that any piece of software that includes open-source software licensed under GPL ...
3
votes
2answers
804 views

save bash history, regularly

I have bash set up to save history, to a file. It does this whenever bash exits [properly]. As sometimes bash does not exit properly the history is lost. So the question is can I set up bash to save ...
1
vote
1answer
81 views

In what order does GNU env print environment variables?

When invoked without arguments, the env and printenv commands from the GNU Coreutils print the value of every environment variable. What determines the order in which these variables are printed? ...
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 ...
3
votes
2answers
304 views

gnu screen not to change my window titles

I set meaningful names to new windows I create in gnu screen, but then when I 'cd' or open vim that name gets changed to 'pwd' for instance. Is there a way to prevent screen from changing the title? I ...
1
vote
1answer
30 views

SED/AWK/PERL(GNU userland) - how to substitute pattern A but not pattern B?

First, I am using GNU userland so you can assume I use Bash, GNU coreutils... I have a HTML and I want to change all href="foobarz" into href="" However, I don't want to change any line ...
1
vote
0answers
255 views

How do I stop GNU Freetalk from automatically filling in the buddy name?

I'm using GNU Freetalk along with expect in order to send notifications to my phone – Freetalk has a readline interface, and I use expect to make a series of non interactive scripts that send ...
0
votes
1answer
338 views

R not reading Rprofile.site at startup

When I start R it’s meant to read from /etc/Rprofile.site first thing. I’ve verified that this isn’t happening but have no idea why or how to fix it. When I source('/etc/Rprofile.site') at startup ...
13
votes
3answers
778 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
28 views

GNU/Linux: fast switching between keyboard layouts

on x server environments i just open a terminal emulator (pressing + typing in x-terminal-emulator and pressing return on most graphical environments/window managers) and tping in setxkbmap us and ...
3
votes
1answer
281 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 ...
2
votes
1answer
316 views
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 ...
10
votes
1answer
11k 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 ...
0
votes
1answer
95 views

gnu `uniq -c`: display counts graphically as bars

With sort $file | uniq -c, it's possible to sum up files/input and show the number occurences like that: 13 foo 1 bar To get a better grasp of this data, I'd like to see them graphically ...
3
votes
2answers
789 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?
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
1answer
343 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
33 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
518 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
49 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 ...
7
votes
3answers
3k 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 ...
3
votes
1answer
390 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 ...
0
votes
1answer
277 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, ...