Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

0
votes
1answer
12 views

Can Linux export disk images as ATA devices over Ethernet?

This is pretty much just plain curiosity. But there is a thing called ATA-over-Ethernet, which should be supported by Linux and which allows you to export raw disk access over Ethernet directly in ...
0
votes
0answers
4 views

Ec2 Instance Root-Volume with market place codes went to Read-only mode

We have an EC2 instance in the North Virginia Region in which the root volume went to read only mode all of a sudden. The root volume(XFS fs) has market place codes for the centos ami. I have tried ...
0
votes
0answers
12 views

ssh does not quit even after remote host reboots

I am using a command of the form: dd if=/my/block/device | ssh myuser@otherserver "gzip > file.gz" in my script. The block device being copied is very large (17GB). In many cases, I see that even if ...
1
vote
0answers
6 views

Do I need to push metadata after changing only a signing certificate?

Using shibboleth on Linux, I'm exposing a service that uses SAML to the public. Previously I have used a self-signed cert as all the SAML traffic has been internal. Using the same key, I made a CSR ...
0
votes
1answer
8 views

UEFI SSD hidden from Linux?

I have a HP Prodesk 600 G3, and I were able to install Fedora 28 on the nvme SSD. When I put the computer in BIOS mode, then I wasn't able to see the UEFI Fedora SSD anymore from the BIOS or from a ...
0
votes
0answers
7 views

yum transaction error when trying to install RPM built from RPM spec file

I use a meta package to manage software and common dependencies across several lab systems, and until today, this has worked great. However, after a recent build every RPM spec file directive to copy ...
0
votes
1answer
13 views

Integrate AD with RHEL

Is there any way that RHEL can be integrated with the Active Directory. Currently running the below from the Powershell ISE with RemoteAdmin Tools installed on windows. Get-ADUser -Server AD.com -...
0
votes
1answer
10 views

How to add a Cisco AnyConnect VPN profile on linux?

I'm runing linux mint and have Cisco AnyConnect VPN client (v 4.6.01098) working with my primary VPN connection. I need to add a second VPN profile, but all the instructions I can find suggest that ...
-3
votes
0answers
19 views

virtualbox - win 10 guest - linux host license

I'm totally confused about what kind of license I need for a win 10 pro as guest on a virtualbox linux host. Could somebody please clarify - I've googled around and found answers from none on a linux ...
0
votes
3answers
24 views

Dual boot (Mac/Linux) MacBook broken after creating a new partition

My MacBook won't boot to macOS anymore, only on Linux (Ubuntu). Even restarting with pressing alt doesn't show the macOS disk option anymore. Here is what happened: I set up a dual boot High Siera / ...
0
votes
1answer
19 views

Can't make files hidden on shared folder Linux VirtualBox

I'm running Windows 10 Home (x64, not activated) in oracle VM Virtualbox on Linux Mint 19. I'm having trouble with a shared folder. On the host it is /media/Lukaka/WP30 and it is shared so on the ...
0
votes
1answer
41 views

Using `ls` to show real name of file owners

Unix users can have their real names listed in /etc/passwd/. The finger command can display the real names. Can ls -l show these real names of file owners next to the files? If ls cannot do this ...
0
votes
0answers
26 views

Lookup-table text replacement in bash

We have weird usernames in our Linux system (like user0001). I would like to pipe results of ls -l through a lookup-table replacement of the weird usernames by their real names. I can make such a ...
0
votes
0answers
21 views

On Linux Samba share accessed from macOS, macOS has weird file permissions

The things I changed in my smb.conf on my linux machine are: unix extensions = no map archive = no map system = no map hidden = no [myshare] path = /home/bob/myshare browseable = yes read only = no ...
0
votes
0answers
18 views

Xen on Ubuntu Server 18.04 stuck after boot

I have setup an Ubuntu Server 18.04 Machine where I installed Xen Hypervisor via the following: sudo apt install xen-hypervisor-4.9-x64 Installation went fine, but after reboot (after POST and ...
0
votes
1answer
14 views

Updating Ubuntu server (14.04.5 lts) and Mediawiki (1.25.3)

My company uses Mediawiki... a lot... unfortunately it hasn't been kept up to date. Its now my job to update it. I would really like any insights into this task. Ubuntu 14.04.5 update to 18.04.1 ...
0
votes
2answers
20 views

How to display colour text in terminal?

I want to display colour text in terminal(bash shell). Tried with this approach: echo -e "\e[1;31m This is red text \e[0m" But it doesn't change the text colour to red.
0
votes
0answers
7 views

ReadOnly Access for members of Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be able ...
0
votes
0answers
4 views

How to start a PostgreSQL server through pg_ctl and leave it running in the foreground/don't daemonize it?

I'm familiar with the postgres command and am sure that I understand how to run it through pg_ctl. I'd like to use the latter approach in order to have unified command structure and be able to wait ...
0
votes
1answer
14 views

Shell script zips a folder, but exclude parameters not working IF its run from cron.daily

The script works fine if I run it with sh filename, but it ignores all the --exclude parameters if its run by cron: #!/bin/sh TIMESTAMP=$(date +%u) WEEK=`date +"%V"` if [ $(($WEEK%2)) -eq 0 ]; then ...
-3
votes
1answer
36 views

running 64-bit software on a 32-bit raspberry pi

I am trying to run a factorio game server on my raspberry pi 2b. Unfortunately, they only have headless installations of the game for 64 bit operating systems. I tried running it on Raspbian (which I ...
0
votes
1answer
20 views

How to find and tar files then delete them

I need to find files that are older than 30 days, tar and compress them and remove the ones that I already tar and compressed. I was trying to execute something like this but it does not look like ...
0
votes
0answers
20 views

I want to connect Android to Linux using ADB (Android Debug Bridge) over USB there is error

I want to connect Android to Linux using ADB (Android Debug Bridge) over USB. A problem appears. adb phone not appearing as a device Any help would be greatly appreciated.
0
votes
0answers
10 views

BLFS 8.2, SDDM (from BLFS 8.1) shows password as boxes instead of circles

I have just finished installing KDE Plasma 5 on my Linux From Scratch 8.2 system according to instructions from the BLFS 8.2 book. I have also installed SDDM as display manager according to BLFS 8.1, ...
0
votes
0answers
25 views

Asus Q87M-E/CSM mobo led light on but system will not display

Specs: Asus Q87M-E/CSM EVGA 450 BT- PSU Intel i5-4430 3GHz Quad-Core Cool Master MasterBox E300L MATX Tower 16GB DDR3 RAM Cdrom drive <-- HP TS-H65** Seagate ST3100054*** Current problem: ...
0
votes
0answers
12 views

How to delete multiple lines of the IPTABLES

Is there a way to delete multiple lines in an iptables not knowing what is in my iptables? For example, I want to delete every port forwarding from port 80 and here is the iptables: Chain ...
-1
votes
0answers
18 views

How to detect when system generated beep sound in programmatic way ? [on hold]

I want to print TRUE in python or C when beep sound get generated in system in linux Operating system. As per my knowledge everything in linux is filesystem based so if one can help me to locate that ...
0
votes
1answer
16 views

SSH config file - Multipule users for the same host group

Currently I have the following ssh config file: Host 172.30.* ControlMaster auto ControlPath ~/.ssh/cm_socket/%r@%h:%p ServerAliveInterval 60 TCPKeepAlive yes ProxyCommand ...
0
votes
0answers
12 views

apt-get upgrade not working after upgrade from stable to testing: error cycle with libc-bin package

I upgraded from debian stable to debian testing, and now I am not able to do apt-get upgrade anymore. When I do that I get this error: Processing triggers for libc-bin (2.27-6) ... dpkg: cycle found ...
0
votes
1answer
36 views

Bash ignores zip -x arguments [duplicate]

The script below ignores all the -x exclude arguments when run from bash, but it works fine from command line: #!/bin/sh TIMESTAMP=$(date +%u) ulimit -s 65536 WEEK=`date +"%V"` if [ $(($WEEK%2)) -eq ...
0
votes
0answers
30 views

SSH - Connect to Raspberry PI from external network not working

I've setup my RaspberryPi with the newest version of RaspbianOS and enabled SSH in the configuration. Accessing the Pi using Putty from within my home network works fine, but as soon as I try to do ...
0
votes
1answer
27 views

In bash scripts, is the brackets notation better than back-quotes?

When I learnt to write bash scripts, I put the output of a command in a variable using back-quotes, e.g., ALLPDFS=`find . -name \*.\[pP\]\[dD\]\[fF\]` but most of the 'official' scripts (the ones ...
0
votes
0answers
15 views

Xubuntu - update returns tons of errors

I'm attempting to install OBS Studio onto my Tinker Board S in the ELAR Systems dist of Xubuntu. Somehow, I think I might have touched something I shouldn't have when I was trying to compile it and it ...
0
votes
2answers
54 views

ssh to Ubuntu 18.04 connection timed out

I'm trying to SSH to Ubuntu server I have in another city. The IP address for that server is something like 129.123.x.xxx. I use windows and cmder to connect to Ubuntu. When I use my campus vpn which ...
-1
votes
0answers
20 views

sed/awk - how to replace a matching string and adjacent string

check each line, replace a matching string with given string and remove the word next to matching string example input file: Blue duck in the pond Blue Tree in the garden . . . desired output file ...
-2
votes
0answers
36 views

Why was the Knark rootkit installed on the Linux official distribution? [on hold]

I have an upcoming exam, and this was one of the review questions. I don't recall going over the Knark rootkit except that it was infamous and targeted Linux distributions. The review question seems ...
0
votes
0answers
10 views

Cannot unmount auto-mounted network share as standard user

I'm running Ubuntu 16.04 and just added a network share to auto-mount in fstab, which is working just fine. I have two users, one administrator and one standard user and set to mount the share in /...
0
votes
0answers
13 views

only exit the first screen if there are multiple screens

If I have two screen in command line, is there a way to exit the first one instead of both together? I am trying Ctrl+D, but that will exit both.
0
votes
0answers
21 views

Can boot Debian Linux only pressing F12 key

I installed Debian Linux (version 9.5) on a Dell Precision 7720 laptop, and it is the only operating system. Everything works as expected, but it does not boot correctly. If I boot the computer ...
0
votes
1answer
20 views

Can't Make an *.AppImage file Executable

I right clicked on a .AppImage file. I chose "Properties" and then "Permission" tab. I'd like to check the checkbox that is next to "Allow executing file as program". It shows that the checkbox is ...
0
votes
1answer
28 views

Command which distinguishes between disk I/O and socket I/O

I would like to measure the amount of I/O per day to /dev/sda. So I tried, iotop -aoP Here's the output after 1 day: DISK WRITE COMMAND 55.06 G python /usr/bin/xpra start :103 ...
0
votes
0answers
8 views

scrot producing only black images

I'm using pyautogui to monitor and replay user inputs and also to take screenshot of parts of the screen. On Linux pyautogui relies on scrot for the screen capture part. The problem is, scrot is ...
2
votes
1answer
61 views

How to get IP address and the connected interface name in bash

PC with onboard linux has several network interfaces, e.g. two ethernet cards and one wifi adapter (numbers and types may vary). Each of that interfaces could be connected to a network (and could be ...
0
votes
0answers
17 views

How to programmatically upload files to Telegram?

Since Telegram is an infinite cloud service, I use it as a secondary backup location. I would like to automate this so that I don't have to remember to do it every month (in the last two years I ...
1
vote
1answer
35 views

linux - send an email where body is a line of text from a file - date dependent

I would like to add a cron task that sends an email to me@example.com once a day and includes a line of text from a file depending on the date as the message body. My file.txt would look like this: ...
-2
votes
0answers
38 views

Why ASUS select Endless OS? [on hold]

Some ASUS laptops are shipped with Endless OS, a Linux operating system. What are the reasons why a brand as ASUS select an OS Linux as Endless OS, instead of famous Linux as Ubuntu or Debian?
0
votes
0answers
13 views

fedora 26 disable firewalld use iptables startup script

the firewalld zones and rules etc are a complete pain in the butt compared to regular old iptables. My main goal is to get my iptables rules to run at startup and not have to recreate them all with ...
1
vote
0answers
16 views

Is there a tool which allows me to remove all metadata chunks for a WAV file? [on hold]

I'm working with a large number of WAV files, and most of them contain one or more chunks of metadata which I'd like to remove. I don't really need to write new data into them, but I'd like at least ...
0
votes
0answers
3 views

curlftpfs discards exec option

I have a local setup consisting of a NAS running an FTP server in PASV mode. A local Linux client (Raspberry PI 3b+ with current Raspbian) has to mount a folder via FTP using curlftpfs. Unfortunately, ...
0
votes
1answer
22 views

AutoHotKey script replace backslashes with forward slashes

I run a Linux emulator (or subsystem) under Windows 10, and sometimes I need to past Windows paths in the Linux console. Windows paths use backslashes \ to separate directories whereas Linux paths use ...