2022 Developer Survey is open! Take survey.

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
0 votes
0 answers
14 views

X11 how to simulate two screens in only one monitor

how will configure for preference in /etc/xorg.conf a monitor configuration with 2 screen simulate only in one monitor, in a gnu+linux OS, split by a middle vertical for example, thanks for your help.....
user avatar
0 votes
1 answer
22 views

Process names 0, 1, 2

I see 0, 1, 2 and 3s in htop. I can't kill these (sig 9). They are sometimes consuming a bit of my cpu for a second. I wonder what they are... Killall just says process not found if I try to kill them ...
user avatar
  • 21
0 votes
0 answers
19 views

Platform/version-independent sorting for gnu sort

I am trying to do an offline comparison of two lists generated on two different systems. They both have GNU coreutils so to aid the diff'ing, I sort both lists using sort before transferring them. I'...
user avatar
  • 203
1 vote
1 answer
36 views

How to update 'pgrep' in macOS to get around a known 'pgrep -d' issue

In the version of pgrep ( February 11, 2010 ) that is installed in macOS Catalina there is a bug when setting a delimiter. The delimiter should only be printed between each process ID but it's also ...
user avatar
  • 355
0 votes
0 answers
92 views

Applying theme on GNU GRUB 2.06 for windows

Hello everyone is there anyway to make gnu grub themes working in windows? I setup the Gnu grub 2.06 for windows (not grub2win) but I'm confused how to setup a theme which was easy in linux by adding ...
user avatar
0 votes
0 answers
20 views

GNU screen append buffer multiple times without exiting copy-mode

Is there any way to append copy buffer multiple times without exiting copy-mode in GNU screen? With the functionality I'm looking for I would be able to enter copy mode, scroll to the desired area ...
user avatar
0 votes
0 answers
185 views

GNU `find` error: "find: failed to read file names from file system at or below ‘/’ : No such file or directory"

OS: macOS Big Sur 11.6 I'm trying to find all files on my system that match a pattern so I can delete extraneous files after removing an application. For this purpose the application is RStudio. I'm ...
user avatar
  • 1
0 votes
1 answer
57 views

Pipe Output of dhclient with sed

Goal Limit output of dhclient. Code dhclient eth0|sed 's/answers//' expected behaviour RTNETLINK : Operation not permitted got RTNETLINK answers: Operation not permitted Piping ifconfig works ifconfig ...
user avatar
  • 138
0 votes
0 answers
8 views

In gmake, how to reuse the results of a function without calling it again?

Consider the below GNUmakefile: V= $(shell set -x; date) all: @echo 1 $V @echo 2 $V @echo 3 $V If you run it, the shell-macro can be seen invoked three times -- invoking three separate ...
user avatar
2 votes
0 answers
38 views

How to reply to Python's GNU mailman 3 mailing list

Sometimes I find myself trying to reply to Python's mailing list, but continuously failing. Python's GNU Mailman 2 did not have these issues while Mailman 3 does. There are some conventions Python ...
user avatar
1 vote
0 answers
265 views

Black screen freezing in Macbook EFI Boot

I had Ubuntu on my external hard drive, I had to delete it because i ruined it, after that I reinstalled it and now when I try to boot into my SEAGATE ubuntu hard drive it stuck on a black screen. I ...
user avatar
0 votes
1 answer
75 views

Installed live USB PureOS on system running it already now unable to boot from encrypted partition

A Librem Mini was running PureOS after years of using a Debian distribution of GNU/Linux... I used an USB live with the intent of installing on same "side by side" but something went wrong......
user avatar
1 vote
1 answer
77 views

How to set sysctl fs.notify.max_user_watches in GUIX? (guix system: error: service 'sysctl' provided more than once)

IDE's like PyCharm work better when fs.inotify.max_user_watches is set to a high level. How to do that in GUIX? I recall that the approach by Draketo used to work up to a few months ago: https://www....
user avatar
6 votes
0 answers
519 views

GNU stow. Only symlink files, not directories

I'd like to manage my dotfiles with a Git repository and stow. Here is my current repository that includes the files/directories I'd like to stow and a Makefile with the command I'm using make stow. ...
user avatar
  • 161
0 votes
1 answer
48 views

bash alias assignment in .bashrc for specific date command

I am trying to set an alias to show value of specific date command. When I set the alias, I get correct value, but also get "command not found..." Is there a way to set this without the ...
user avatar
0 votes
0 answers
443 views

Standard (Linux/GNU) toolset for Mac

I'm quite new to Mac OS but I've already noticed that many tools are not what I used to be. For e.g., sed missed the -w option, and xargs missed the -i option, etc I'm wondering if it has always ...
user avatar
  • 7,131
0 votes
1 answer
128 views

How to launch GNU PSPP's GUI?

The homepage of GNU PSPP shows the following screenshot: I tried installing it with the following command on Debian: $ sudo apt install pspp However, when I now run the command pspp, I see the ...
user avatar
0 votes
1 answer
230 views

How to install mkclean?

Download the tar file from this link . > wget https://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-0.5.2.tar.bz2/download Unzip the archive with tar. > tar -xjf ./download I ...
user avatar
0 votes
0 answers
12 views

Getting warning about non-portability when trying to install GNU GO on Ubuntu

I'm trying to install GNU GO on Ubuntu OS, but it is not working. https://www.gnu.org/software/gnugo/download.html I've downloaded the tar.gz source code, then: unzipped using the gzip followed by ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
  • 11
2 votes
1 answer
277 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 ...
user avatar
  • 121
0 votes
1 answer
121 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 ?...
user avatar
  • 159
-2 votes
1 answer
34 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? ...
user avatar
  • 1
0 votes
1 answer
232 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:/...
user avatar
  • 123
2 votes
2 answers
305 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 ...
user avatar
0 votes
4 answers
221 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 ...
user avatar
  • 10.3k
0 votes
0 answers
116 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 ...
user avatar
  • 101
1 vote
1 answer
126 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 ...
user avatar
2 votes
1 answer
653 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 ...
user avatar
  • 237
1 vote
1 answer
1k 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 ...
user avatar
  • 11
1 vote
0 answers
31 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?
user avatar
1 vote
1 answer
47 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-...
user avatar
  • 195
0 votes
0 answers
902 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.
user avatar
7 votes
1 answer
374 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, ...
user avatar
  • 288
1 vote
0 answers
139 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-...
user avatar
1 vote
0 answers
46 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 ...
user avatar
  • 1,030
0 votes
1 answer
243 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-...
user avatar
  • 649
2 votes
2 answers
1k 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 ...
user avatar
  • 415
0 votes
1 answer
61 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 Eclipse ...
user avatar
1 vote
0 answers
259 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 ...
user avatar
  • 11
0 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
79 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 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
4 votes
1 answer
1k 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 ...
user avatar
4 votes
2 answers
4k 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 ...
user avatar
0 votes
1 answer
87 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 ....
user avatar
  • 341
0 votes
2 answers
278 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 -...
user avatar
0 votes
1 answer
48 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! ...
user avatar
  • 196
3 votes
3 answers
20k 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 ...
user avatar
  • 31
0 votes
1 answer
76 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 ...
user avatar
  • 163