Recent Questions - Unix & Linux Stack Exchange |
- virtual machine doesn't use allocated disk space
- Alacritty Desktop Entry doesn't show on GNOME 41.1 / Fedora 35
- How to disable fingerprint authentication when laptop lid is closed?
- Accounting with pam_radius
- How to get ifstat outputs in python?
- How to stop the gnome-keyring on Slackware?
- Capture output of systemd-run --scope to journal
- match a part of a string and print the whole string
- Deny access to only one user to a file
- Execute POST request from Alpine container
- How to add mega repo in Arch Linux
- Point out my mistake while converting TIFF to PNG/JPG
- Execute single command with write caching disabled
- Ensure only one instance of script is running?
- Why do I get the error "... version `Qt_5.8' not found ..." when trying to run "4k Video Downloader"?
- How to setup Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) in Arch Linux?
- Is a `preloaded library` warning from `rkhunter` a reason to worry?
- how to rename files in directorys using unix?
- Cutting off the value of a variable
- java.net.connectException: Connection Refused by apache
- How to re-attach to docker -it after detached?
- Does FSCK repair / mark bad sectors as it scans and, is it possible to resume a scan from an offset?
- Batch set MP4 create date metadata from filename
- Why should parent process wait (to terminate) until all of its child process terminates?
- tcpdump -i any doesn't work on FreeBSD
- Cron Authentication Failure error in Linux?
- Telnet connection had been closed by a foreign host
- Why I should avoid loops in shells? [duplicate]
virtual machine doesn't use allocated disk space Posted: 22 Nov 2021 06:04 AM PST I am running manjaro in an Oracle VirtualBox to test a virgin install of a set of softwares. I am getting an error that there is no more disk space on a particular download, however, when I set up the vm in the VirtualBox Manager, I am allocating it plenty of space (> 100GB). I have tried changing this from dynamic allocation to a fixed partition, but this did not solve the issue. When I run So to me it looks like the 134gb partition needs to be mounted? I run I am running the installs from my $HOME directory (which in this case is Let me know your thoughts. Thanks. |
Alacritty Desktop Entry doesn't show on GNOME 41.1 / Fedora 35 Posted: 22 Nov 2021 05:37 AM PST I followed this guide on how to add a Desktop Entry for Alcritty with GNOME and it worked correctly. Recently, after updating some dependencies, I noticed it disappeared from the GNOME Applications Menu. After looking through the dnf history, I found out that I tried changing This is my current |
How to disable fingerprint authentication when laptop lid is closed? Posted: 22 Nov 2021 05:29 AM PST I recently managed to make fingerprint authentication work on my laptop, thanks to the Goodix Linux Development discord community and the github users Infinytum and Michael Teuscher on the But after enabling fingerprint for login with Whenever I am using an external monitor to work, and the lid is closed, I have to wait for the fingerprint authentication to time out, before being able to type the How can I disable fingerprint authentication when the laptop lid is closed, so I can type the |
Posted: 22 Nov 2021 04:40 AM PST How can Implement accounting on a unix system using pam_radius ? pam_radius configuration is easy for authentication. But I confused to find a way for accounting. In accounting we send some AVP's to 1813 port of radius server. However how can I do this method on pam_radius ? For example I have following config on /etc/pam.d/radius : And test my config with pamtester : Radius server already running and authentication was successful. But where is accounting on pam_radius module ? |
How to get ifstat outputs in python? Posted: 22 Nov 2021 04:37 AM PST Trying to get the values from The full code is: The code output is nothing. When I run When I run I find the interface in my case: What is wrong with my code? please help? |
How to stop the gnome-keyring on Slackware? Posted: 22 Nov 2021 04:28 AM PST My syslog is full of those messages The process didn't exist! Impossible to find from where it came How to stop it? |
Capture output of systemd-run --scope to journal Posted: 22 Nov 2021 03:32 AM PST For improved traceability, accountability, etc., I want certain applications to be supervised by systemd and have their output collected in the journal. I know that this all happens automatically when I use systemd-run's service mode, but due to dependence on the calling environment, this is sometimes not possible. I have tried using systemd-run and systemd-cat together, but have found that it sadly fails to capture the unit metadata. I know I could theoretically dump the environment variables to a file with I'm not unwilling to use the hacky approach; I'm just wondering if there is a "known good" alternative to it |
match a part of a string and print the whole string Posted: 22 Nov 2021 05:42 AM PST A command on my Ubuntu system prints the following output and I'm saving the output into a variable $problem_dbs: I want to search and print the string that starts with 'tac-*': I've tried: but it only prints Am I missing something? |
Deny access to only one user to a file Posted: 22 Nov 2021 03:34 AM PST I recently had this question at a test for a Linux certification. How do you do this?
|
Execute POST request from Alpine container Posted: 22 Nov 2021 04:05 AM PST I want to execute a With this image Of course one way would be to copy an executable or a compiled Java class into the pod, over which I could send the request but I'd prefer a one-liner that is ready to go. |
How to add mega repo in Arch Linux Posted: 22 Nov 2021 05:14 AM PST How can I add the Mega repository to Arch Linux? Already add this in my But I am getting this error: My system: What I have tried:
|
Point out my mistake while converting TIFF to PNG/JPG Posted: 22 Nov 2021 04:01 AM PST This is a input tiff image, which I want to convert to JPG/PNG. As general rule of thumb, I always use following command to convert between 2 image formats (mainly JPG to PNG ). But: produces following image. Could you point out why convert TIF to PNG is not working properly. Is this something to do with colorspace/compressions? Just in case: |
Execute single command with write caching disabled Posted: 22 Nov 2021 04:32 AM PST Whenever I write a large file to a USB drive, write caching makes it very difficult to track process. I can disable it in various ways like How can I tell my system to bypass the dirty bytes entirely for a single write command? For example, something like: Or To clarify: The current behavior of |
Ensure only one instance of script is running? Posted: 22 Nov 2021 05:32 AM PST Code: Original source of the code: https://forum.rclone.org/t/continuous-syncing/12377/2 I don't understand how this code inside a bash scrip ensure only one instance of the bash script is running. I understand the part Question: Do anyone know how the code working? |
Posted: 22 Nov 2021 05:36 AM PST Summary 1. I've just installed the 32-bit version of the "4k Video Downloader" package into /opt/4kvideodownloader/ using the instructions at https://www.click4infos.com/install-4k-video-downloader/ The main steps that I followed on that webpage are 4 and 8. As instructed, I have put the downloaded and unzipped directories and files in /opt/4kvideodownloader/ 2. a) But when I run 4kvideodownloader, I get the following error: b) Also, "$ konsole" will no longer launch from a terminal, but gives similar output to the above ("a)"). See Full Details "6.". 3. I wondered if doing step "8" of the "www.click4infos.com" instructions at "1." above has caused the problem. Step 8 says
4. My Question: I'm out of my depth with this, so could you tell me what is wrong, and what I need to do to make 4kvideodownloader run OK (and make "konsole" launch as it did before)? Full Details 5. I downloaded the 32-bit 4kvideodownloader from https://downloads2.4kdownload.com/app/4kvideodownloader_4.3_i386.tar.bz2 6. Launching "konsole" from a terminal worked fine before installing 4kvideodownloader. But now, I get an error similar to the one that occurs when running 4kvideodownloader, as follows: 7. I'm wondering if the error at "2.a)" in the Summary, namely "version `Qt_5.8' not found" is a red herring. This is because I THOUGHT I'd seen a library name relating to 4kvideodownloader of something like libQt5Core.so.5.6 somewhere on my filesystem. I believe that the appended ".6" is the so-called "minor number". So wouldn't this suggest that the libraries supplied with the 4kvideodownloader installation are Qt version 5.6 (ie correct), and not 5.8? 8. /opt/4kvideodownloader/ contains 9. The config files related to "ldconfig" are as follows: All the above files (in this entry "9.") have old modification dates, so it appears that they have not been modified/created as a result of running ldconfig. 10. A website says that the following tells me what my version of Qt is: |
How to setup Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) in Arch Linux? Posted: 22 Nov 2021 03:27 AM PST How to install this WiFi adapter in Arch Linux: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)? Please help as I can't connect to wireless right now... |
Is a `preloaded library` warning from `rkhunter` a reason to worry? Posted: 22 Nov 2021 05:30 AM PST And I have zero idea what that means. I have installed |
how to rename files in directorys using unix? Posted: 22 Nov 2021 05:03 AM PST How can I rename file with in subdirectories? I have this sample: I want to rename each file in all subdirectories 001 - 00 x and not rename the directory itself. I want to rename the files sequentially starting with This command, when I run it only works on the main folder and not the sub folders. What do I need to change to get it to run recursively on each subdirectory and have each dir start with 1. The operating system that i am using is OSX I a looking to drop abc form the the file name. This is just an example. Not every file will start with abc. I tryed this, it renames but dose not start at one in each sub dir. What can i change to get it to start at one? |
Cutting off the value of a variable Posted: 22 Nov 2021 03:39 AM PST I had wrote a simple script with should read a list of URL string from a file into a variable and prepare it for the future processing. Content of the dl.txt file: Script: As the result, the each from the read strings is beeing cut to exactly 10 characters from the begining. Any idea how to solve it ? |
java.net.connectException: Connection Refused by apache Posted: 22 Nov 2021 05:19 AM PST Recently we have updated our OS from RHEL 6.10 to RHEL 8.4. After the installation of RHEL 8.4, we installed our application which uses Apache internally. Please note that our application is constantly functioning on RHEL 6.10. When we try to start the services in RHEL 8.4, we are getting a "Connection Refused" error. Please find below error, Internally, we have redirected the apache port to "8443". But if we check the Listening port, it still uses 80 port only. Moreover, we have added the below command, and we got "Success" as a result of that same. this also didn't help us to solve the error.
Please let us know the workaround solution. |
How to re-attach to docker -it after detached? Posted: 22 Nov 2021 04:09 AM PST I am running spark from focker and run some long lasting command. Then I can detach with Now, how to reattach to this very same command? If I issue how can it decide, whether attach to spark startup script or to my command I ran when I was doing If I issue this command, I am entering unknown console, where I see nither signs of my program, nor spark. I can't stop anything with What I am doing wrong? |
Does FSCK repair / mark bad sectors as it scans and, is it possible to resume a scan from an offset? Posted: 22 Nov 2021 05:05 AM PST System: macOS 10.14.6 Overview: One of the HDD in the system was giving issues and I suspected the old disk was dying. I wanted to check for bad sectors on it. It uses the Mac OS Extended (Journaled) filesystem. So I started a scan of the disk with fsck_hfs: But even after more than 12-13 hours overnight it had only scanned around 66% of the 1TB drive: and I had to interrupt it as the system was needed. Doubts:
|
Batch set MP4 create date metadata from filename Posted: 22 Nov 2021 05:11 AM PST On a Linux system, I have a bunch of MP4 files named like but as far as I can see, the Edit: If I wasn't clear, I want to set creation date metadata on mp4 files using its filename that contains the date, so that programs can sort all my media files by their metadata |
Why should parent process wait (to terminate) until all of its child process terminates? Posted: 22 Nov 2021 04:08 AM PST I know there is no enforcement for the parent process to wait until all its child process terminates. However it's a convention followed. Furthermore, I know that if parent process terminates before it's child process terminates, then the child process become orphan and it will be adopted by init process. But what I don't understand is, what is the problem if the child process becomes orphan and gets adopted by the init process. Why should it be attached to the parent process itself until it terminates? |
tcpdump -i any doesn't work on FreeBSD Posted: 22 Nov 2021 06:19 AM PST How to listen all interfaces on (I would like to listen ICMP) |
Cron Authentication Failure error in Linux? Posted: 22 Nov 2021 03:25 AM PST I was bogged with an error "Authentication Failure" for all of my cron jobs in Linux Ubunutu. I try everything but didn't want work , I m using LDAP. Did someone had the same problem ? |
Telnet connection had been closed by a foreign host Posted: 22 Nov 2021 03:23 AM PST The The server The server The The NOW:
Would you please help me figure out what is the problem and how can I fix it? |
Why I should avoid loops in shells? [duplicate] Posted: 22 Nov 2021 05:33 AM PST The following link recommends against using loops in shells. bash variables in for loop range Why is this? Here is an example loop I just happened to be looking at when I came across that answer: |
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