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
0answers
16 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 ...
0
votes
1answer
29 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......
1
vote
1answer
16 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....
1
vote
0answers
29 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. ...
0
votes
0answers
82 views

How to Get Rid of “GRUB GNU” Menu on Startup?

Every time I startup my PC, the GRUB GNU menu pops up before I boot into Windows. Is there any way I can get rid of this menu or avoid it? Any help would be appreciated.
0
votes
1answer
19 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
4 views

How can I include a second .pam_environment file in GNU/Linux

I version control my .pam_environment file, and I'd like to add some changes that are only useful on my current machine. I do this in my .zshrc file by adding a line at the end: source ~/.zshrc.local ...
0
votes
0answers
43 views

After waking GNU/Linux up from suspend display stays turned off

Hello everyone, I am trying to solve an annoying problem which happened to me, when I migrated one of my boxes (computers:) from Ubuntu to it's fully FSF compliant equivalent called Trisquel. Both of ...
0
votes
0answers
16 views

GNU tech info utility

Does anyone know how to keep GNU's tech info utility from clearing the screen after it exits. I have done countless research of a way to prevent that from happening. No documentation seems to narrow ...
0
votes
1answer
24 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 ...
0
votes
1answer
79 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 ...
0
votes
0answers
16 views

How to reboot with only few services?

Recently I did an experiment. First, I booted my computer normally and launched the game. Then I stopped gdm.service (I'm using GNOME), executed xinit command and launched game again. I didn't measure ...
0
votes
0answers
8 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 ...
1
vote
0answers
28 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
136 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
119 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
33 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
1answer
91 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:/...
2
votes
2answers
168 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
175 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
95 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 ...
1
vote
1answer
75 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 ...
2
votes
1answer
307 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
923 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 ...
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?
1
vote
1answer
41 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
608 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.
7
votes
1answer
293 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, ...
1
vote
0answers
100 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-...
1
vote
0answers
36 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
211 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
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 ...
0
votes
1answer
47 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 ...
1
vote
0answers
179 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
987 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
58 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 ...
2
votes
1answer
1k 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
707 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 ...
3
votes
2answers
3k 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
74 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
183 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
39 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! ...
3
votes
3answers
14k 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
71 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
8k 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
477 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
94 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
1answer
268 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 ...