Recent Questions - Unix & Linux Stack Exchange |
- Zookeeper systemd service is not running
- How can I trigger an automount after manually unmounting an automounted USB drive?
- When I need to make that error appeare
- Access permissions have not been updated in open VNC sessions
- I have downloaded NItrux Os (minimal version because I have low bandwidth) and I dont know how to get past this
- Harddrive bootable from EFI and BIOS
- Can't drop down to virtual console. All I see are the system login/boot messages (like a bootup screen) - can't type anthing
- Why can my statically compiled ARM binary of BusyBox run on my x86_64 PC? [duplicate]
- Debian Apt: architecture not supported by selected mirror
- Coldplug or hotplug device?
- How to put an $ variable inside the printing of a command variable?
- Daemonize prometheus on Amazon EC2 with init.d
- Troubleshooting KVM guest's anaconda installer logs
- What does "[ "$foo_user" = 'foo' ] && foo_user='bar' || true" do?
- Need to install the same script across multiple linux servers
- Remove lines from pattern to next empty line
- I overwrite /bin/sh how do I restore it?
- Special Characters in bash
- How to translate a non sugary syntactic shell (Bash) command into "lower" types of code such as assembly or even machine code?
- How can I set the amount by which the sound keys increase/decrease volume?
- Block Screen Sharing
- How to take command arguments from a file, one per line? [duplicate]
- rsync_xal_set: lremovexattr("/my/path/file.zPXUj1","security.selinux") failed: Permission denied (13)
- A fresh install of snapd and notepad-plus-plus leads to a failure with "unsupported features: snapd2.43"
- How to copy files from windows virtual machine to ubuntu host machine?
- Have remind send out notifications some days in advance
- Why ICU lib is so big?
- When using apt-get without an internet connection, how does one tell which packages are missing?
- bcmwl-kernel-source driver issues on install
Zookeeper systemd service is not running Posted: 07 May 2021 10:16 AM PDT I have downloaded Kafka under When I run the Where am I going wrong? Note: I am running the commands with |
How can I trigger an automount after manually unmounting an automounted USB drive? Posted: 07 May 2021 10:26 AM PDT I'm running Devuan GNU/Linux Beowulf. Like many Linux desktop environments these days, when I plug in a USB flash drive, it gets automounted under Now suppose I unmount that (not eject or power down, just unmount); and I want it to be re-automounted, and visible in the file explorer application (e.g. Nemo on Cinnamon). How can I trigger such an automounting? Note: This is a systemd-free system. |
When I need to make that error appeare Posted: 07 May 2021 09:46 AM PDT This message shown when I need to make when need to install drivers to run alfa any can help. |
Access permissions have not been updated in open VNC sessions Posted: 07 May 2021 09:22 AM PDT I've updated group access permissions of a directory. Users that belong to authorized group can access the contents of the folder when they login via SSH. However, they cannot access that folder within their VNC session unless the VNC session is killed and started again. Is there a workaround without killing the current VNC session? The OS is CentOS release 6.10. |
Posted: 07 May 2021 09:08 AM PDT I'm really new to Linux and only used only some Linux distros (Manjaro, Elementary, Archcraft, Mint and Garuda) And I find nitrux to 'fit my style' and I can't seem to get past this thing. On Reddit they said it was default i3wm. I'm still waiting for help and I am posting this here hoping to get some response here too. Thanks in advance c: |
Harddrive bootable from EFI and BIOS Posted: 07 May 2021 09:03 AM PDT I have an external harddrive with Linux loaded onto it that I use with my home PC (BIOS enabled). When I try to boot into this harddrive on my Mac (EFI), it doesn't show up as an option. Is there any way I can reformat the harddrive so that it is bootable both from my PC and Mac machines? I couldn't find much on the web for how I would be able to do this. |
Posted: 07 May 2021 08:49 AM PDT Ctrl+Alt+F1 workedgave me access to the console before, now it shows me the boot up and login process messages ("started CUPS, network manager etc.) The funny thing is my graphical session works but I can't drop down to the console. If anything, it should be the other way around lol, since the latter is used to rescue the former in case of emergencies (well, that's Linux for you). Does anyone know what's causing this nonsense and how to get the console back?process |
Why can my statically compiled ARM binary of BusyBox run on my x86_64 PC? [duplicate] Posted: 07 May 2021 09:10 AM PDT Bit of a strange situation there. I compiled a static executable of BusyBox 1.32.1 for the ARM platform (32-bit) and strangely it runs without problems on both platforms. Look by yourself: then:
Any idea of what's going on? |
Debian Apt: architecture not supported by selected mirror Posted: 07 May 2021 10:03 AM PDT Today I built a new PC, trying to install latest debian 10.9.0, but it always gets stuck on Might it be because of a relatively new chipset that is not yet supported in stable version of debian ? HW: Mirrors I used: It is stuck on this for past 2 hours and cancel button does not respond: |
Posted: 07 May 2021 09:00 AM PDT Is there a way given a device file name to figure out if it was created by some udev rule or it was created "the cold way"? |
How to put an $ variable inside the printing of a command variable? Posted: 07 May 2021 09:21 AM PDT Source part: It stores the current timestamp as a command on a variable, but this variable can't work inserted in a command inside another variable. How to achieve this? And feel free to edit with an more appropriate title. Update: full source - https://github.com/DaniellMesquita/Web3Updater |
Daemonize prometheus on Amazon EC2 with init.d Posted: 07 May 2021 08:15 AM PDT I am attempting to install and run Prometheus on an AWS EC2 instance that is running "Amazon Linux." It's important to note that it is not Amazon Linux 2. We'd like to have Prometheus start with the instance and be manageable as a service, but this flavor of Linux does not have systemd, so requires an init.d script. The system also does not have "start-stop-daemon" installed, and I'd rather not add it. I've been trying to write a script (sorry, I'm new to this stuff), but have not had much success. Here's what I have so far: If I run the script… …it echoes the "Starting prometheus" message and then hangs. When I break the hanging init.d script, I can find that Prometheus is indeed running (using ps ax), but the PID and log files do not exist. How do I write this script so it behaves like an init.d script, e.g., firing Prometheus in a separate daemon process? And why aren't my log and PID files working? Again, this is my first time writing an init.d script, thanks for your patience. |
Troubleshooting KVM guest's anaconda installer logs Posted: 07 May 2021 08:01 AM PDT I am trying to install RHEL7.9 KVM guest on Ubuntu 18.04 Azure VM. The anaconda installer fails due to some error but the virt-viewer screen got closed so fast, I was unable to read what is the exact error. I know all anaconda logs get stored in /tmp/anaconda.log file on the KVM guest disk image but I am unable to figure out a way to check the contents of the file. I tried mounting the KVM guest disk image using "mount -o loop .img " command but it fails with NTFS signature is missing, thats probably because the installation fails before the KVM guest's disk is partitioned properly. I am looking for ways to check the contents of that file. Is there any way to redirect the anaconda logs of the guest machine to the Ubuntu host machine ? Pasting the virt-install script and kickstart file used. The RHEL7.9 installation media was downloaded from https://developers.redhat.com/products/rhel/download site. virt-install.sh ks-rhel79-oracle.cfg |
What does "[ "$foo_user" = 'foo' ] && foo_user='bar' || true" do? Posted: 07 May 2021 08:34 AM PDT I found this line in one of our repositories without any comments explaining what it does. I am fixing a bug that I found in this repository and don't know what to make of this line. I am unsure of how to research for this in a time efficient manner, so I'm asking here. It looks like an if statement that tests if What does this code do? |
Need to install the same script across multiple linux servers Posted: 07 May 2021 07:50 AM PDT please excuse my ignorance but I am very new to the linux and server management space Use case scenario - I have 20 linux servers and I need to install the same package/script across all these servers. The challenge is that during installation of this script, there are few steps where it would prompt for some inputs(such as password, Y/N options, etc..). Solution researched - I found some videos on how to use ansible to send commands across multiple remote servers, however the challenge that when the installation is running on the remote server, they would promt to input password or Y/N questions in order for the installation to continue and end on completion. Question I could not find a solution that would enable me to do this unless I manually SSH into each of these server and enter the inputs. Can anyone help me? Also please remember I am very new to this so any help in details would be highly appreciated. |
Remove lines from pattern to next empty line Posted: 07 May 2021 10:31 AM PDT I need to remove lines from a pattern to the next empty line. For example: And I want to delete all the lines from "fruit" (pattern) to the next empty line, resulting in a file like this: |
I overwrite /bin/sh how do I restore it? Posted: 07 May 2021 09:51 AM PDT I am new to Linux and thought I did I get the error:
Any advice? I am running Ubuntu 20.04 |
Posted: 07 May 2021 07:54 AM PDT What is the difference between My pwd is home directory. Now, when i run the command: |
Posted: 07 May 2021 09:19 AM PDT Please consider: I would say that the first command is a possible sugar syntax of the second command, and that the second is less abstract. Just for the sake of demonstrating how commands can become less and less abstract to newcomers to programming (in the context of explaining what is abstraction), focusing on shell, I ask: |
How can I set the amount by which the sound keys increase/decrease volume? Posted: 07 May 2021 10:03 AM PDT On my laptop, when I press the volumeup/volumedown key, the sound lever go up/down by 10 units. I can check that with But I would like these keys to be less sensible: it would be nice if the level could go up/down by 5 points when I press a key. I know that these rules are configured in How could I do that ? Is there a config file somewhere ? EditI'm on arch, and I would like to know where the config is stored (if there is one) |
Posted: 07 May 2021 09:02 AM PDT Is there any part of my system that I can block access to from the firefox process on a Linux system that will break screen sharing? I noticed during a video call that Firefox has the ability to do screen sharing, which means the process can read the contents displayed on my screen. I don't like the idea of everything on my screen being available to my browser, whats the mechanism behind this? |
How to take command arguments from a file, one per line? [duplicate] Posted: 07 May 2021 10:35 AM PDT Say I have a file of filenames like this: and I want to view all of those files. I'd be tempted to do: but that winds up opening the files "requests.log", "responses.log", "resources", and "used.log" which is not what I want. I tried but that results in the error message "Warning: input not from a terminal" I've tried editing the file and quoting each of the individual lines, but that was no help either. Is there a way to do this short of writing some sort of front-end script? |
Posted: 07 May 2021 08:55 AM PDT I am currently migrating from Ubuntu 20.04 to Fedora 34. Following backup script has worked fine so far: Unfortunately on Fedora, every copied path now results in a warning, polluting the log:
ResearchThis seems to be an issue with rsync wanting to preserve/erase extended attributes ( Recent quote from Michal Ruprich, Red Hat:
Using Copying files from a source without SELinux to a target using this security feature is interpreted as deleting the extended Which raises the question: How to suppress these warnings?I still would like to copy extended attributes with It really would be nice to solve the problem at its root only for this particular case: Given USB disk mount point Thanks in advance |
Posted: 07 May 2021 08:37 AM PDT On a fresh Debian 10 install, I did : but I received the message : error: cannot perform the following tasks:
Then, a but a All is looking ok, |
How to copy files from windows virtual machine to ubuntu host machine? Posted: 07 May 2021 10:03 AM PDT I have ubuntu installed in my work laptop and windows installed in my virtualbox. I installed windows in virtual machine so that I can download origin games on it. I want to copy those origin game files form the windows virtual machine to my ubuntu main host so that I can copy it from ubuntu to my gaming pc later. How should I do it? |
Have remind send out notifications some days in advance Posted: 07 May 2021 09:39 AM PDT I have been trying to use the Unix program It works, but for some reason it doesn't respect At this moment, the above example will only trigger |
Posted: 07 May 2021 07:47 AM PDT I'm trying to reduce the size of an embedded system. So I'm studying what I could remove. One of the biggest file is : libicudata.so.52.1 which length is 23 Mo. This is a big part of my system.
|
When using apt-get without an internet connection, how does one tell which packages are missing? Posted: 07 May 2021 08:01 AM PDT Like many others before me, I'm stuck having to install a package on Ubuntu without having any external internet access to the machine. However, I've already attempted dry-runs and transferred all the packages listed to the archive directory, and yet when I attempt a --no-download --fix-missing install attempt, it fails due to missing packages but does not specify which ones are missing. How do I find out what's missing? Thanks all. |
bcmwl-kernel-source driver issues on install Posted: 07 May 2021 09:06 AM PDT I am installing Mint 17.1 (MATE) on my MacBook Pro Retina (due to it having much better hardware than my PC, on which I successfully installed Mint 17.1 in the past). I followed the instructions from this tutorial. Everything goes great until the ability to connect to my WiFi. I followed the steps in the tutorial: From the menu, run Administration -> Driver Manager The Driver Manager warns that it cannot install drivers... (because we're offline) Plug in the Linux Mint USB stick you used to install the operating system. Once it's mounted, press the "OK" button in the Driver Manager to dismiss the warning. Select the "bcmwl-kernel-source" driver Press "Apply changes" So when I insert the Mint USB, the Warning message does indeed go away, but when I press "Apply Changes" , it shows a loading bar for just a second, but then goes right back to the old selection. I tried restarting it, with no luck. The funny thing is, when I tried the above method when I was running just from the USB before the install, I was able to select the bcmwl-kernel-source and connect to the WiFi. It was only after the install was successfully completed that I could not repeat this. Any and all help is really appreciated! |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment