Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

How does Docker handle a system shutdown?

This exact question has been asked before here on SO and here on Reddit. However, the actual question is never answered. I have our Atlassian services running inside docker containers. However, I am ...
1
vote
1answer
18 views

Replace specific character matches in all rows, using the first line as a reference

H, I want to replace specific character matches (.) in all rows, using the first line as a reference My attempt at re-hashing an answer I got to a different question: awk -F'|' 'BEGIN{OFS=FS} NR==1 ...
0
votes
0answers
4 views

Linux Rsyslog disable DNS resolution per facility / log file

I have some cisco logs coming to a linux server on facility4, (local4.*) via udp/514. I know I can disable DNS resolution globally with global(net.enableDNS="off") in the rsyslog.conf file but is ...
0
votes
0answers
21 views

How to list all internal commands of a shell

Is there any way to list all the internal commands of a shell. I am using bash shell. if I type echo then bash has internal echo command so internal echo command will be executed( Internal command ...
1
vote
0answers
7 views

Systemctl starts the process and shuts it down RHEL 7

The application starts up normally when started on its own. While rebooting to invoking systemctl start rads it starts the application and then shuts it down. Any help will be appreciated. Thanks ...
0
votes
1answer
28 views

word count redirect

I can't seem to answer this question: Use the command wc to count the number of words in the file /course/linuxgym/gutenberg/0ws0310.txt. Store the exact output of the wc command when used with the ...
0
votes
0answers
8 views

Restore previous version of file on iOS [3rd party app // Microsoft Edge] [closed]

I have a Microsoft Edge browser installed and i always use it inPrivate mode, sometimes it crash but my tabs always were still saved there, but one day the app crashed and all my tabs gone and i had ...
0
votes
3answers
33 views

How to count the number of bytes in a very large file, grouping the same bytes?

I am searching for a way to get a statistics on a very large (multiple times larger than the available RAM) the outputs what byte values in the files are resent and how often: A0 01 00 FF 77 01 77 01 ...
0
votes
0answers
9 views

PulseAudio profile files for 8i8o soundcard

I have a pretty non-standard (not typical in consumer-segment sound) soundcard that I want to use as my main card. It have 8 outputs and 8 inputs, hovewer, PulseAudio does not understand it correctly ...
0
votes
0answers
8 views

Portable Bluetooth speakers doesn't get detected at all when connected using a 3.5mm audio jack AUX cable to my PC

I'm new to Linux environment but familiar with the basics. I own a Bluetooth Speaker(TAGG Sonic Angle 1) which I usually connect to my PC using the AUX cable as a way to reduce a tiny output lag. This ...
0
votes
0answers
11 views

Adjusting the CPU usage of uwsgi

I have daemonized uwsgi server with django. I am cheking process with top command. Every time request comes, uWSGI process surpass %CPU 102% %MEM 90%. It might be dangerous for long usage, I guess. ...
0
votes
1answer
11 views

Help identifying this device (Sunflower tablet pp3333) and required linux drivers

Hello, I received this device as pictured some years ago, but was never able to figure out what drivers to use for it. My computer does not have the AT connector or serial port, but I do have a serial-...
0
votes
0answers
7 views

.config autostart caffeine -a

I wish to run [Caffeine -a] at start of KDE.Plasma I have run from the prompt caffeine -h which lists options for caffeine. Options: -a --activate Disables power management and screen ...
0
votes
2answers
30 views

Question about dual-booting Windows and Ubuntu on 2 separate hard drives

Hope you're all safe! I have a question about dual-booting Windows and Ubuntu (or any Linux distro for that matter). In my laptop, I currently have a 128GB SSD with Windows + core programs installed ...
0
votes
0answers
25 views

Feed gdb stdin with multiple inputs from a file

This has been driving me crazy and it must be so simple! I've looked at many solutions but none seems to work with my application. I'm debugging a program in gdb. The program takes two inputs like ...
-4
votes
1answer
41 views

Writing a bash shell for loop question [closed]

trying to write a Bash shell for loop that will iterate through each line of the confidential.hex file and add each line of the hex string to the name of target domain name server, ns.example.com and ...
-1
votes
4answers
33 views

Mv files with number formatted in 2 digits

I would like to mass rename files from: "02 Disc 01 My Song.mp3" to "Disc 01 My Song 02.mp3" How can I do this in bash? Please note that all numbers are formatted in two digits (1-9 is ...
0
votes
0answers
5 views

How to add rule file into /etc/udev/rules.d in NixOS?

I'm following this instruction: https://github.com/nns779/px4_drv make under the directory fwtool builds it930x-firmware.bin and make under driver builds px4_drv kernel module. Now it930x.nix and ...
-4
votes
3answers
56 views

Parsing ranges into discrete values, in Bash

User will provide a list containing ranges. I need to convert it to a list of discrete values. For example Input host[1-5],host7,host[13-15] Output host1,host2,host3,host4,host5,host7,host13,...
0
votes
0answers
15 views

strongSwan IPSec VPN connection - peer not responding

NOTE: IPs shown here are not the actual IPs I'm using. They are random just IPs. I have created a tunnel from an Ubuntu server to a Cisco device, using strongSwan. The tunnel looks ok. status of IKE ...
0
votes
0answers
18 views

HP Spectre X360-15t (2018) overheats on idle with Linux Mint 19.3 and fans do not start

I am a new Linux Mint user currently using version 19.3 with Cinnamon Desktop (installed with MATE but switched). I have observed that my laptop has been running very hot even on tasks like browsing ...
0
votes
0answers
14 views

How to provide driver support, without upgrading the kernel?

Ahoy friends. Currently i'm using CentOS on my server, but i also have some latest hardware built in. In this case i got an Intel AX200 Wireless card, to discover other WiFi networks. Unfortunately ...
0
votes
0answers
25 views

Getting more info about Linux process

I've realized that I have dozens of processes running on my machine which I didn't expect to have. I've been using podman for Docker so a lot of these tasks are for podman; however, I'm having trouble ...
0
votes
0answers
23 views

Can we install Oracle Database on Windows Subsystem for Linux

I tried to install Oracle Database on Windows Subsystem for LINUX and when i tried to execute command ./runInstaller following error occured ERROR: Unable to verify the graphical display setup. This ...
-4
votes
0answers
25 views

Ubuntu fail to login

I've been trying to log into Ubuntu for a while, but anytime it boot up it shows the error in the image below
0
votes
0answers
14 views

Error message while installing gimp

大家好 Aftre I installed flatpak the terminal gave me the folloing message Note that the directories '/var/lib/flatpak/exports/share' '/home/asrour/.local/share/flatpak/exports/share' are not in the ...
1
vote
0answers
14 views

Is there a Cache Scheduler?

I am trying to understand how Schedulers work in Linux. I am aware that there is an I/O scheduler and CPU scheduler in Linux. My question is how does Last Level Cache scheduling work? Is there any ...
1
vote
1answer
20 views

Show the full path and name of all files that contain keywords in their name

I am new to the Ubuntu system. If I want to display the full path and name of all files that contain keywords in their name. What can I do? I've tried: grep -lR "keyword" . grep "keyword" $HOME ...
0
votes
0answers
19 views

Multi screen remote desktop

I am looking for a solution (free or paid.) for our small company to improve the environment for working from home. (especially during this period) We have 3-4 monitors at the remote site (homes) and ...
0
votes
1answer
20 views

How to fix my error when trying to update on vmware kali?

I have Vmware workstation player 15 installed Kali Linux 2020.1. When I try to update on vmware kali I'm getting this error: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission ...
0
votes
0answers
12 views

Group permissions and access of files in linux

I created a file in linux with name myfile then used chown myuser:mygroup myfile to allow the access of myfile to user and group both and group have a permission of read write and execute as well ...
-1
votes
0answers
16 views

i am getting the error of basename on upgrading my kali linux

I don't where does it came from but when I want to upgrade I am getting some errors about basename or gdm3 I don't know exactly what does are why I am facing. Here is an Image of my terminal after ...
0
votes
0answers
14 views

Finding multiple instances of an installed application

I have been combing through all sorts of documentation and I can not seem to find a command to find multiple instances of an application on a Linux system. Can someone please help me?
0
votes
1answer
15 views

Get the last value appears in column Y for unique value appears in column X

I hope the title is not confusing.. I have a daily report file contains information about regular retailers, their transactions and their balance after each transaction. example: TransactionDate;...
0
votes
0answers
13 views

Gnome 3.34 freezes when changing tty on Fedora 31

When I change tty (by using CTRL+ALT+F-key), Gnome freezes. The mouse continues to respond to movements, but mouse and keyboard clicks render nothing. When changing to a terminal tty and executing ...
0
votes
0answers
12 views

Mount point: inode/x-corrupted type

I mounted /dev/sdb1 to /mnt/MyFlashdrive. After mounting, the mount point turned into a inode/x-corrupted type. There are no files inside the mount point and its permission is set to 777 and the owner ...
-1
votes
0answers
22 views

Why Postfix has problems sending email to gmail account?

This does not work: echo "Email body" | mutt -a "An attachment" -s "Email subject" -- person1@gmail.com This works: echo "Email body" | mutt -a "An attachment" -s "Email subject" -- person2@...
0
votes
1answer
37 views

crontab cannot find environment variable even after sourcing .bashrc

crontab -e 00 00 * * * /home/username/run.sh >> /home/username/log 2>&1 Inside run.sh: source /home/username/.bashrc java When crontab job is triggered, I got this error in the log: /...
0
votes
0answers
15 views

“who/w” command fails to list active user logged in from SSH client session

I (logged in as "user1", has root access) was following this to experiment with kicking a client ssh session logged in as "user2" (has no root access), connected from the same network from a laptop. ...
0
votes
0answers
9 views

Xubuntu installation on Ubuntu made me lose access to both

I've lost access to my Linux hard drive upon installing Xubuntu. The system will boot (no login required) but it won't accept commands from mouse or keyboard. Is there a way for me to access the ...
0
votes
2answers
19 views

Installing Arch Linux on a i686 CPU?

Trying to install Arch on an i686 CPU laptop, however it looks like Arch no longer supports this hardware. My question is does anyone know if it's possible to install an older version of Arch? If so ...
2
votes
0answers
28 views

How to edit a binary SeLinux policy file?

It appears root access is irrelevant on my device as everything is managed by SeLinux (the root user basically can’t execute anything). The problem is I can’t just create my new polices. I need to ...
0
votes
0answers
9 views

Background and top bar configurations does not apply at startup

I am on Manjaro Linux and using dwm. I have made some changes (additions) in my ~/.xinitrc file to have my wallpaper set and display date & time on top bar when I log in. But I cannot have these ...
0
votes
0answers
20 views

Interaction with running programs on Microsoft's Windows or Unix

I'd like to create a program, which acts like a human in Telegram, WhatsUp or another messenger. I want this program to send messages, add contacts, click buttons etc. I've done it using an auto ...
0
votes
1answer
19 views

Bash script for monitor the API json response

I want to monitor the below health check URL. I need generate a alert if mongodb goes to disconnected state. I wrote a bash script. Seems its still not working. Any can help on this ? Thanks When do ...
0
votes
1answer
13 views

How to run procmail in cmdline and provide .eml file as input?

Procmail failed while running my external python script on received email. After that I tried run that script manually and provide the same arguments as procmail - it passed without any problems, so I'...
0
votes
0answers
10 views

HDD performance is slow on ASUS N750JK SATA III

Intro I have a laptop ASUS N750JK, which I am trying to setup to work as HTPC. I have noticed one strange behavior - the motherboard is slowing down any HDD I connect to it via SATA3 connection. ...
0
votes
2answers
44 views

Does all the non-free firmware get copied on my system if I install a non-free Linux distribution?

I would like to know whether all the firmware is copied to my PC if I install a non-free Linux distribution. What I mean is does the firmware of all the devices like WiFi adapters, keyboards etc. get ...
-1
votes
1answer
40 views

I'm looking to pass 1 line of a .txt at a time into a shell script as a grep search argument

basically trying to make a shell script to run a grep on a certain directory for each line of a particular .txt, then output the results to a .txt that is named the same as the argument. for %...
0
votes
1answer
26 views

I can't cd to my flashdrive

After using the command cd /media/pi/Pendrive, I got an error: bash: cd: /media/pi/Pendrive: Transport endpoint is not connected

1
2 3 4 5
570