Stack Exchange Network

Stack Exchange network consists of 175 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]

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.

0
votes
1answer
8 views

ps + what is the meaning of R / D flag

what is the meaning of R / D from ps ax is it indicate on some problem ? 3 ? R 522:45 [ksoftirqd/0] 4380 ? Rl 1240:31 gdm-session-worker [pam/gdm-launch-environment] ...
0
votes
0answers
12 views

AntiX Full, how to properly install Xfce with everything 100% working

sudo apt-get install xserver-xorg x11-xserver-utils xfonts-base x11-utils lightdm lightdm-gtk-greeter xfce4 xfce4-goodies -y --allow-unauthenticated Reboot. The above command works.. but XFCE isn't ...
0
votes
0answers
6 views

All processes seem to be ignoring certain signals

A couple of cloud servers we recently provisioned seem to ignore signals by default. I can figure out what has been configured to cause this behaviour and it is affecting both ctrl+c and bash scripts ...
0
votes
0answers
17 views

lsusb does not show all devices

The lsusb command is not showing one of the attached USB devices with the 4.14 linux kernel. The same hardware works correctly with the 4.9, 4.4, and 3.2 kernels. The 'missing' USB device is detected,...
1
vote
1answer
16 views

Is there a way to list the kernel threads that are created by the kernel only?

The command ps aux | grep ] will list all the running kernel threads (the kernel threads that are crated by the kernel, and the kernel threads that are crated by someone else). Is there a way to list ...
1
vote
4answers
36 views

Is there any command line to see the missing files on Linux? [duplicate]

Is there any command line to see the missing files on Linux. I have a list of files start from 000 to 073 in the terminal folder on MobaXterm. But as you see in the picture below 070 is missing. ...
0
votes
0answers
27 views

Linux directories read/write behaviour?

I need to know how the directories of a Linux system are used, in relation to their approximate read/write behaviour in time. So far I have not been able to find any references. Can anybody provide ...
0
votes
0answers
13 views

Error compiling mosquitto_auth_plug

My config.mk file has the following settings: # Select your backends from this list BACKEND_CDB ?= no BACKEND_MYSQL ?= no BACKEND_SQLITE ?= no BACKEND_REDIS ?= no BACKEND_POSTGRES ?= yes BACKEND_LDAP ...
0
votes
0answers
17 views

systemd - mount mount process exited, code=exited status=32

First Boot always fails. Is it possible to make it work ? Working on modified OS image. Where it uses kernel of version 3.10 (Centos 7.6) but grub is still old version 0.97. When deployment of OS ...
3
votes
1answer
38 views

Have systemd not kill your service if it is in a state it should not be killed

I have a question regarding the configuration of a systemd service. The service application is an application the controls a machine. Within the application the SIGINT, SIGTERM, SIGQUIT and SIGHUP ...
1
vote
1answer
18 views

Check ntp server authentication with chronyd client

Is there an alternative for ntpq -c as, while using chronyd as client? While using ntpd as client, ntpq -c as provides details about authentication of client to server using keys.
0
votes
0answers
16 views

LINUX-how retrieve error from running applications

I'm working with a Python script on Linux Debian (Raspberry Weezy), I've succesfully debugged script by looking to the /proc//fd/1 files to know what happen when the script is not responding (script ...
1
vote
0answers
12 views

journald flooded by kernel messages

My journald log was at some point filled up with kernel messages like this. Mar 12 05:03:53 workstation.mydomain kernel: FAT-fs (sdd1): FAT read failed (blocknr 1785) Each followed by a message ...
0
votes
0answers
27 views

Characters like @ at shutdown

On the linux distros I use, debian and fedora, and on the laptops I have, when I shutdown, I see @ or sometimes other characters, on the console (next to normal sector clean /dev/xxx message) and I ...
6
votes
2answers
790 views

Why doesn't root need the password to run “sudo” even when “NOPASSWD:ALL” isn't written in /etc/sudoers [duplicate]

In /etc/sudoers, there is always: root ALL=(ALL:ALL) ALL However, the root user (with UID 0) doesn't need to enter password when they run sudo command. For other users, a password is required ...
0
votes
0answers
5 views

How to enable redis service in Ubuntu 14.04

I am trying to write an ansible role for redis stand-alone server installation. I downloaded the tarball from redis repo, extracted it and ran make commands to install it. Then I made changes in ...
-3
votes
0answers
34 views

Need to optimize this code and make it more compact [on hold]

Need to optimize this code and make it more compact cat failed_degraded_script.sh echo "***Pulling disk states from all frames***" for i in $(cat HPE_FRAMES_IP); do ssh Reports@$i showsys | awk '{...
0
votes
2answers
29 views

Set hidepid=1 persistently at boot

I'd like my system's /proc directory to be mounted with the hidepid=1 option. I know that once the system is already up, I can do that with sudo mount /proc -o remount,hidepid=1. How can I make /proc ...
0
votes
1answer
24 views

guest operating system debian8 [on hold]

I have already enabled Virtualization technology in bios but still I am getting following error on both 64bit and 32bit os error on 64bit:- guest operating system debian8-64 is not supported select a ...
0
votes
2answers
27 views

find a word/string that contains a q and not followed by a u

I'm looking to find a grep command to search for all words/string that contain the letter q that is not followed by a u directly after. grep 'q!u' file
0
votes
1answer
16 views

grep pattern syntax for finding words

I'm trying to find all words in which my initials show up not necessarily consecutively. My first initial should start the word. My last initial should end the word. My middle initial is somewhere ...
2
votes
2answers
61 views

How to install Linux on multiple disks/SSDs?

I would like to install a Linux distribution (probably Devuan) on my dual SSD system, in the most convenient way: 250GB, NVMe. 500GB, SATA3. The criteria are both performance and SSD lifespan (...
14
votes
4answers
853 views

How do I implement a file system driver driver in Linux? [on hold]

Assume that I have invented a new file system, and now I want to create a file system driver for it. How would I implement this file system driver, is this done using a kernel module? And how can ...
0
votes
0answers
15 views

Netstat operation [on hold]

I would like to have a deep sight about how netstat works ina low level. I mean, if I use netstat to see open ports, how netstat checks them (checking running processes or with some system functions ...
0
votes
0answers
34 views

GRUB doesn't boot copied Linux install

I copied a Linux installation from one partition to another partition on a different drive. I did this from a live usb and omitted dev, /proc and /sys. I ran update-grub from the original install, it ...
1
vote
0answers
11 views

/dev/mapper device remains after stopping cryptsetup unit

This is an ArchLinux box and I can't cleanly stop an encrypted container by means of systemd. I have to additionally issue cryptsetup close. Is this misconfiguration or a bug? /etc/crypttab: ...
1
vote
2answers
47 views

Wrapping an interactive process with Bash to inject into STDIN

I'm running a gameserver program (SRCDS) that completely ignores SIGTERM. The only way to cleanly shut down the server is to type "quit" interactively. Is there any way that I can wrap this program ...
-3
votes
0answers
16 views

CPU + how to use he FlameGraph-master [on hold]

we have high load average on our linux server ( WE HAVE 16 CPU ) so in order to investigate this issue we download the FlameGraph-master ( FlameGraph-master.zip ) uptime 10:41:36 up 38 days, 23:11,...
1
vote
1answer
27 views

Where is mosquitto source directory located?

I want to compile mosquitto-auth-plugin, which requires configuration of config.mk file, where one of the required parameter is to Specify the path to the Mosquitto sources MOSQUITTO_SRC =.Could you ...
0
votes
1answer
14 views

Job status after ssh session stopped on MobaXterm

I am copying some large datasets to google drive using rclone sync in Linux on MobaXterm. I submit the job as below; -cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination & [1] 16310 ...
0
votes
1answer
19 views

rsnapshot wrongly filter getting added

I have following lines in rsnapshot.conf snapshot_root /mnt/T4Backup2T/Incremental-Backup rsync_long_args --numeric-ids exclude_file /home/CD/CLPB/backup-files/rsnapshot/saraswathi.exclude ...
0
votes
0answers
28 views

how to control process that killed

we want to know what are the options to control processes , for example /opt/important_script/gate_machine.pl is a script that must be up and running and in case from some reason script killed , ...
5
votes
2answers
205 views

Removing files under particular conditions (number of files, file age)

I want to create a shell script that will count files (1 hr older files) and if files are more than 1000, then delete all. For read and delete I am using those command at putty for count: ls /tmp/...
-1
votes
1answer
64 views

Why every device in Linux is a file or folder ? what are the advantages? [on hold]

Why every device in Linux is a file or folder ? what are the advantages ? and what is the necessity of /dev/sda1 , /dev/sda2 or /dev/sda3 file ? it's size is 0 bytes .and after mounting the hard disk ...
1
vote
1answer
18 views

Change CPU count on live Linux VM

Is it possible to change the number of VCPUs on a KVM virtual machine on Linux without stopping it first? The Linux kernel has calls for addition and removal of CPUs (CPU hotplug in the Kernel) for ...
0
votes
0answers
20 views

HTML table is not having same font and column when sent email to using mutt [on hold]

when used the same code in https://www.w3schools.com/html/tryit.asp?filename=tryhtml_table_border its giving table with same font and column width as defined in code howver in my email its not showing ...
0
votes
0answers
19 views

Gnome: Make Ctrl + Alt act like Altgr (3rd level choose)

I try to follow touch typing on a german QWERTZ-Layout. Since I am programming, I often need special characters, such as {, which can be accesed via the third keyboard level on the numbers row. On ...
0
votes
0answers
15 views

Log python http server output to file

I want to start a python webserver in the background and log all of its output to file. Instead the the servers output appears in the terminal. Even tho i guess this is pretty basic ... I've got no ...
2
votes
0answers
57 views

How come one can successfully ping 127.0.0.2 on Linux?

Let's ask this question properly. On a FreeBSD system with a loopback network interface … % ifconfig lo0 lo0 link up loopback drv_running running multicast nd6 performnud ...
1
vote
0answers
22 views

Limit memory usage for a single Linux process with only a function?

This is a shell script with a function timeout() to limit the CPU time usage for a single process. Is it possible to limit memory usage for a single Linux process with a similar function? #!/bin/bash ...
-1
votes
0answers
27 views

awk text processing for multiple pattern pairs

This is a repost of my previous query which was well answered by Gerard, search pattern pair using awk Now I have another addition to this query, So here is my query. Below is input string: Policy ...
0
votes
2answers
53 views

Are there multiple flavors of the GNU tools?

I think that the BSD tools have different flavors, for example the BSD ls tool is not the same tool on FreeBSD and OpenBSD and NetBSD (and even on macOS). Note that by "different flavors" I mean that ...
2
votes
0answers
11 views

Kernel Logical address

Does Kernel logical address go through MMU when used in load/store instruction? Does MMU handle kernel logical address differently from kernel virtual address? Please give reasons for the same. If ...
1
vote
1answer
15 views

Centos 7: Filesystem type iso9660 not configured in kernel

I installed the new kernel which fixed a mouse issue, but now I do not have full screen anymore. I am trying to get guest additions to work again but I am getting this error:
0
votes
1answer
26 views

Windows hangs at random moments after installing Linux in dualboot [on hold]

So I have recently installed Manjaro Linux in dual boot with Windows 10 (though forgot to turn off fast startup option). Now when I listen to music at Google Play/watch video in VLC player my system ...
1
vote
0answers
8 views

Server Setup and management tool (akin to MacOS Server)

Does a tool exist (for Linux) that allows you to setup services using a GUI akin to how MacOS Server worked? For those unfamiliar, MacOS Server let you configure services such as HTTP, SMB, VPN, Wiki,...
-1
votes
0answers
23 views

Compare groups two linux users belong to

If someone asks, does userA belong to the same groups as userB, is there an easy way to compare the group memberships of these users? If groups are small in size you can easily inspect, but if the ...
-1
votes
1answer
45 views

How to allow non-roots to connect to WiFi?

/etc/os-release says Debian GNU/Linux 9 (stretch) /proc/version says Linux version 4.4.132+ (jenkins@fdc-06) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP sudo /sbin/...
0
votes
0answers
7 views

Choose right Java on JNLP

I have a problem running JNLP files (mostly for server ILOM consoles). ILOM consoles are different and run on different java versions, so I want to choose which java to use each time. I have 3 Oracle ...
0
votes
0answers
20 views

Encrypting boot directory

I want to encrypt only the /boot (boot directory) in my linux machine. does LUKS provide encryption with boot?