TransWikia.com
  1. All Categories
  2. Unix & Linux

Unix & Linux : Recent Questions and Answers (Page 14)

Find answers to your questions about Unix & Linux or help others by answering their Unix & Linux questions.

Infinite while loop issue using read

I am writing a small script that asks a user to insert a number from 1-10. The script will then tell the user if the number is between the requested...

Asked on 12/15/2021 by Mister123

4 answer

insert character in the beginning of specified line in file

I need to insert character (#) in the beginning of specified line in a text file. Input example:Hellow1Hellow2Hellow3Desired outputHellow1#Hellow2Hellow3...

Asked on 12/15/2021 by user210015

7 answer

sox FAIL formats: can't open input `alsa_output.pci-0000_00_1b.0.analog-stereo.monitor': can not open audio device: Connection refused

I wrote the following service to listen to the audio input:[Unit]Description=Monitor Audio OutputAfter=syslog.target network.target plusaudio.service[Service]Type=simpleExecStart=sox -v 5 -t pulseaudio alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -t mp3 /home/ahmad/recordings/k2.mp3 silence 1 0.1 3% 1...

Asked on 12/15/2021

1 answer

Block all outgoing network requests except SSH

I have a type of linux that I only want to use for SSH to other machines. I'm trying to block outbound traffic to prevent auto-updates, viruses, etc. I can...

Asked on 12/15/2021 by steve antwan

1 answer

Sound is coming out of speakers, audio isn't accessible in applications?

My audio sounds perfectly fine coming out of my speakers, but I noticed when I check my audio levels in Pavucontrol or OBS, the audio bars are showing zero output....

Asked on 12/15/2021

1 answer

How do I discover the remaining space on disk image FAT32 partition?

Given the current Debian installer hd-media boot image files, how do I find out how much free space is remaining within the contained FAT32-formatted partition? Here's what...

Asked on 12/15/2021 by rubicks

1 answer

Killing jobs submitting from an exited bash script

I wrote a bash script that submits a bunch of background jobs and then exits. I realized that I ran with the wrong input and they'll run for way too...

Asked on 12/15/2021

1 answer

Specific web pages that should be light are a burden on the processors

I've been realizing for quite some time that some specific pages are a real burden for my browser to open. I hear the fans at full on speed and the...

Asked on 12/15/2021 by TomCho

0 answer

Increment duplicates in a file

I have a file like this:20001 17001170015300190001 9000190001and I'm trying to modify $1 by adding one to it when it's a duplicate entry, so the output will be like...

Asked on 12/15/2021

2 answer

Dependency issues while updating through Discover app in kali linux kde

Whenever I try to update my existing system files and software using the Discover app in my kali linux kde, I get some certain dependency resolution errors, which halts the...

Asked on 12/15/2021 by lone wolf

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP