Questions tagged [gnu]

GNU is a Unix-like operating system that is free software and developed by the GNU project. GNU is normally used with the Linux kernel. This tag can be used for questions relating to GNU software, particularly programs that differ from the POSIX standard or their BSD equivalents.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

cp files from directories but abandon directory structure [closed]

As an example, I have this directory structure: src |- a \- 1 |- b \- 2 |- c \- 3 I want to copy 1, 2, 3 to something like this: dest |- 1 |- 2 |- 3 My idea is to write a bash script that ...
1
vote
0answers
9 views

gnu stow to ignore dirs

I am relatively new in stow (using for last 6 months). While this is working fine for backing up my config files, it is actually storing unwanted files, and not obeying my .stow-local-ignore. I am ...
0
votes
1answer
95 views

Sorting almost-duplicate lines by their share of identical beginning characters

Is there a *nix tool/way to show each two lines (possibly adjacent via sort) that are almost duplicate top-ordered by the number of similar characters in same positions between each of those to lines ?...
-2
votes
1answer
32 views

Setting Debian and Windows [duplicate]

I have Debian. I want to run Windows on the same hard drive, but in separate partitions. I don't want to start my computer "DualBoot" (DualBoot is causing problems for the computer). what should I do? ...
0
votes
0answers
46 views

Launch Debian and Windows

I have Debian. I want to run Windows on the same hard drive, but in separate partitions. I don't want to start my computer "DualBoot" (DualBoot is causing problems for the computer). what should I do? ...
0
votes
1answer
21 views

gnuradio companion: “sources” tree does not appear in blocks menu in Ubuntu 18.04

Ubuntu 18.04. I have done the following: sudo apt install gnuradio sudo apt install gr-osmosdr sudo apt install hackrf sudo apt install libhackrf-dev Following the gnuradio tutorial here: https:/...
0
votes
1answer
79 views

Install GNU “script” command on Mac

I have a Mac. I would like to use the GNU script that comes with CentOS as it is more full-featured than the BSD Mac version. Specifically, man script on a CentOS box gives: -c, --command command ...
0
votes
4answers
160 views

Detecting corrupted JPEGs: using find -exec with || logical operator

find . -maxdepth 1 -type f -exec identify -regard-warnings -verbose {} > /dev/null 2>&1 + || mv "$1" --backup=numbered {} -t "./Corrupted" I'm trying to use the above to check for the ...
0
votes
0answers
68 views

Gaining real su permission on gnu root debian instead of proot env?

Im running a samsung galaxy j110H, kitkat 4.4.4, rooted. Is it possible to attain real super user privillige on gnuroot debian instead of fakerootfs. Is there any way as in when I type in su; there ...
0
votes
0answers
48 views

Nano: error: no member named 'st_mtim' in 'struct stat'

I am tying to install nano v4.6 on my macBook 10.15 and when i run "make", I am receiving the following output: text.c:2529:33: error: no member named 'st_mtim' in 'struct stat' timestamp_sec = (...
1
vote
1answer
53 views

Batch renaming filenames to remove part after last “ - ” ignoring extension

I'd like to batch rename files in a certain folder, removing the part after the last -, in the following way. hello world - Mr Sheep to hello world super user - question on super user.docx to super ...
0
votes
1answer
68 views

open a random file in osx with command line

I'd like to open a randomly selected file via the terminal. I found shuf, which seems to be just the utility that I need, although I cannot figure out a way to make the command I'm working with ...
1
vote
1answer
431 views

Octave 5.1.0 -Symbolic package installation error

I just installed Octave 5.1.0 and need to use the symbolic and control packages with it on my Windows 10 machine. When I first opened the application, I tried this to install Symbolic: >>pkg ...
0
votes
0answers
36 views

WiFi 802.11a/g/p implementation on GNURadio

I am using LimeSDR Mini for implementing 802.11a/g/p receiver relying on GNURadio flowgraph. The flowgraph is based on the following github project : https://github.com/bastibl/gr-ieee802-11 The ...
1
vote
0answers
27 views

Output of GNU size is misaligned when the binary is larger than 10M

The output of GNU size is misaligned when the binary is larger than 10 M, e.g., size /usr/bin/docker. Don't see a way to print eg. 10000K instead of 10000000. Do I just live with it?
0
votes
1answer
36 views

Why does find sometimes find . and sometimes not?

find -name "?" find ~ -name "?" Why does one of these commands find . and the other not? How can I make the second version, with an explicit path, find the . entry along with any other single-...
0
votes
0answers
195 views

GNU Global installation on windows

I want to install GNU Global to configure pascal's extension in VS code but i haven't found it yet. Please help me by giving a link to download it or anything else.
0
votes
0answers
15 views

How to stop Make from updating pre-requisites which are in other directories?

I use explicit rules with pre-requisites that reside in other directories. Those pre-requisites are intended to be used "as is". However if such a pre-requisite matches any of the pattern rules (even ...
6
votes
1answer
199 views

Why is GNU diff such a memory hog? [closed]

There are enough questions asking how to diff large files, as diff can't handle them. I'd like to know why GNU diff can't handle them. I did a tiny experiment. I diffed two identical datasets, ...
0
votes
0answers
47 views

Bison 3.4.1 Crashes with Error 3328 when Built and Run within Cygwin

I have installed Cygwin 3.0.7 to my 64-bit Windows 10 system with the latest version of Flex, GCC, GNU M4, GNU Make, and GnuPG. I also have Strawberry Perl installed, and it exists after Cygwin in ...
0
votes
0answers
2 views

GNURadio first step and immediately an error message stating that the value cannot be computed, where it came from if I this value was not set

GNU Radio the first step and immediately incomprehensible error in the block "Signal Sourse" error occurs - the value can not be calculated, but I did not ask this value, where it came from, I will be ...
1
vote
0answers
67 views

Making libtool 2.4.6 hangs waiting for lock to be removed

I am trying to install gnu libtool 2.4.6 on my Mac. While running make the process hangs with this message: libtool: link: Waiting for /Volumes/Business/It/software/Unix/packages/gnu/libtool/libtool-...
0
votes
0answers
35 views

Failed communication between two USRP with GNU Radio

I am trying to send and receive a cosine wave between two usrp with the software GNU Radio at a carrier frequency of 2.45 GHz. The problem is that even if I change the frequency of the cosine wave, ...
1
vote
0answers
27 views

How can I write a GNU File magic test to loop?

Either here or on StackOverflow: I may be trying to get more power than the language allows, but I was writing some new file formats test suites using the man page for libmagic when I wanted to reduce ...
0
votes
1answer
182 views

Run bash script from Debian GNU/Linux

There are lots of examples on how to run bash scripts on Windows. For example: bash -c "command". I took that example from https://www.howtogeek.com/261591/how-to-create-and-run-bash-shell-scripts-on-...
2
votes
2answers
985 views

How do I upgrade Guix?

Guix 1.0.0 was released recently. I have an old version that I installed once and did not use for a long time, so I decided to try 1.0.0. $ guix --version guix (GNU Guix) 0.16.0 Copyright (C) 2018 ...
0
votes
1answer
45 views

installing GNU MCU Eclipse failed in linux LMDE 3 (cindy)

I need to work with arm mcu (especially STM32 and Raspberry pi mcu), so I read this instruction : How to install the GNU MCU Eclipse plug-ins? So when I want to do the instruction: go to the ...
1
vote
0answers
113 views

gcc-ar: Error running /usr/bin/ar: vfork

As the title says: my ar fails on a vfork() and consumes all resources for a minute or so, before exiting. I see the same for both GCC 7.3 and GCC 4.8 Binutils v2.30 Ubuntu 18.04 LTS Any ideas ...
0
votes
1answer
575 views

How to represent a Carriage return (\r, ^M) as part of text over serial

I am trying to send a message including carriage returns (represented without pressing enter) over a serial connection. It works if i press enter with an open serial connection, but I have not found ...
1
vote
1answer
53 views

Changed /etc's permissions on Guix 0.14.0 (GNU/Linux); now unable to login

I have a laptop (Asus X553MA) running purely GNU Guix System 0.14.0. I naively changed the permissions of /etc by executing: sudo chmod -R ugo+rw /etc -then tried to 'correct' the mistake with ...
1
vote
1answer
727 views

GnuPG package: Difference between pgp and gpg

I feel there's a not much of general user friendly content on the internet about GnPG and it's utilities. At least I couldn't find any to my satisfaction. It's probably because people (except ...
4
votes
1answer
341 views

nmcli: WIFI-HW vs WIFI, (and WWAN-HW vs WWAN)?

In nmcli radio status, given by: $ sudo nmcli radio all # Show status of all radio network interfaces WIFI-HW WIFI WWAN-HW WWAN enabled enabled enabled enabled Is -HW for ...
2
votes
2answers
2k views

What are the differences between multiplexing using tmux/screen and opening tabs in a terminal emulator?

I am trying to compare these two methods of running multiple shells/processes by measuring memory and cpu usage via htop. Can someone explain the differences in how each method functions, or if ...
0
votes
1answer
64 views

Pipeline after sourcing a bashscript

I have a code # Inside Child.sh ChildVariable=BigChild # Inside Parent.sh source ./Child.sh echo "ChildVariable=${ChildVariable}" Output: ChildVariable=BigChild But, # Inside Parent.sh source ....
0
votes
2answers
117 views

How to sort a list of numbers and null values in ascending order, with null values at the end?

I have a list of numbers and null values. How can I sort them in a way such that the null values come to the end of the list using sort in GNU coreutils? Sample Input (input.data) 0.9000 23 1 2 5 -...
0
votes
1answer
38 views

Date a GNU/Linux or Unix program was first released [closed]

When I uncover a new command, most recently column, I am curious as to how long this command has existed -- in appreciation of the longevity of Unix, its dedicated developers, and my own ignorance! ...
2
votes
3answers
8k views

Stuck on GNU GRUB screen

I brought a computer with Ubuntu and I tried to install windows 10 from a usb (I do not know why it did not work from a USB, error while loading files) so I entered the bios and deselected safe boot ...
0
votes
1answer
69 views

Remove GNU Peppermint Linux loader

Story: I tried to do a full install of Linux Distro Peppermint 9 on a USB stick. I went through the install process clicked custom and installed to the USB stick I succeeded but not how I wanted. I ...
7
votes
2answers
6k views

Sudoers NOPASSWD for single executable but allowing others

Operating System: Arch Linux Linux version: 4.16.11 Sudo version: 1.8.23 What I need: be able to execute any executable with a sudo with a password prompt be able to execute one executable, /home/...
1
vote
1answer
294 views

Gddrescue asks for a mapfile but refuses to create one

I'm using Example 3 from gddrescue's documentation here to zero-write a disk and force pending bad sectors on it to be reallocated. The same documentation states elsewhere that: If mapfile ...
2
votes
0answers
88 views

unaccessible files in lost+found

(This in principle the same as question 15800742 on Stack Overflow, but the answer that it got, as well as miscellaneous other answers I have found on the Internet, have not worked for me.) After a ...
0
votes
0answers
1k views

The GPGME library returned an unexpected error at gpafiledecryptop.c:540. The error was: No secret key

I downloaded GNU on my laptop. I can send messages, but I can't decrypt received messages. It says: The GPGME library returned an unexpected error at gpafiledecryptop.c:540. The error was: No ...
0
votes
1answer
258 views

Linux didn't installed yet but GNU grub is. How remove GNU grub?

I have tried to have a dual boot in my laptop with Windows 10 and Linux. When I doing that, I could not able to complete installation process of Linux. But now I have unfinished installation part in ...
5
votes
5answers
1k views

How to chain awk print statements?

Okay, here's a quick example; me isolating a host's IPV4 in three steps: ip -br a lo UNKNOWN 127.0.0.1/8 ::1/128 eth0 DOWN wlan0 UP ...
2
votes
2answers
1k views

GNU/Linux flock command: how to atomically take several locks

I have several commands that I would like to run in parallel, but only if there are no conflicts in the resources they access. So I decided to use flock. Each command must take one exclusive (write) ...
2
votes
1answer
470 views

Windows, How come Diff.exe reports an error?

We have 3 files in 3 directories: d:\run.exe d:\temp\RunShortcut = d:\run.exe s:\temp\RunShortcut = d:\run.exe The above 2 shortcut files are 433 bytes each and shortcuts are present in ...
0
votes
1answer
32 views

How can I access the correct XPI from a Firefox fork?

I am running a Firefox fork on GNU/Linux that AMO does not recognise. So instead of giving me XPI links it gives me buttons to "Get Firefox Now!". Digging into the HTML source I can find links to XPI ...
-1
votes
2answers
2k views

sed needs `\\\n` to append new line

I am trying to append a new line using sed, it works only when I add the new line like this: \\\n: echo "sometextutf8_filesystemmmmm" | sed -r "/utf8_filesystem/a \\\n# Passive mode" the output: ...
0
votes
0answers
1k views

Clone an Encrpyted Drive With CloneZilla

I've got a LVM Encypted (while installing Debian) HDD. Size is 400 GB. Used space is 10 GB. When I try to create a system image with CloneZilla, it doesn't care about empty space. So 10 GB / 400 GB ...
0
votes
1answer
149 views

Did I just find an awk bug?

Using test2.txt $ cat /tmp/test2.txt | hexdump -C 00000000 47 61 6c 6c 6f 20 63 65 6c 74 69 63 6f 0a 47 65 |Gallo celtico.Ge| 00000010 73 97 20 42 61 6d 62 69 6e 6f 0a |s. ...