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.

9
votes
2answers
2k views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
21
votes
2answers
5k views

What does the “bugs” section of /proc/cpuinfo actually show?

On a Debian Stretch and testing/Buster system with a current kernel and installed microcode I still see meltdown and spectre listed as bugs in /proc/cpuinfo. However, running the spectre-meltdown-...
0
votes
1answer
33 views

How can you figure out which program/process is creating a file?

Suppose there's a file that keeps appearing in my home directory automatically even after I delete it. Knowing nothing more about it, is there a way to figure how what keeps putting that file there? ...
0
votes
0answers
22 views

Nautilus doesn't open anymore

When I use the icon for nautilus, it seems to try to open, but then just gives up. When I type in nautilus into the terminal, it responds with: ** (nautilus:10331): WARNING **: 17:41:30.103: ...
2
votes
2answers
152 views

What is /etc/mtab in Linux?

What is /etc/mtab in Linux? Why is it needed and advantages of having it?
1
vote
2answers
6k views

root needed to launch X11 application

I'm building a Qt application using QML technologie. QML use OpenGL. The computer running the build is a CentOS 6.7, with intel GPU. I'm using it only on SSH, and I use XMing (or VcxSrv sometimes) ...
0
votes
0answers
21 views

updatedb is generating an incomplete list of files

I'm running the following command: updatedb -l 0 -o mydatabase.db -U /usr/myfiles1/ Then, locate -d mydatabase.db "" The "" are to show all the contents of mydatabase.db. However, I'm missing ...
0
votes
1answer
869 views

Mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_home

When I mount my /dev/VolGroup/lv_home there get error: [root@localhost VolGroup]# mount /dev/VolGroup/lv_home /home/ Mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_home,  ...
2
votes
1answer
49 views

Realtek RTL8821 Ethernet card not detected by Kali Linux

When installing Kali Linux, an error message appears during the "Detect network hardware" step. The message says: "No Ethernet card was detected. if you know the name of the driver needed by your ...
0
votes
1answer
20 views

Locate doesn't work with LOCATE_PATH environment variable

I'm setting the LOCATE_PATH environment variable and using it as follows: $ export LOCATE_PATH='/usr/filesystem/' $ locate -d mydatabase1.db:mydatabase2.db search_string I get the following error ...
0
votes
1answer
22 views

Rename Root folder directory - I've managed to rename folder structure to my name by mistake

Using Kali Linux and somehow managed to rename a folder in the structure: root:/bin/bash/myName So my question is how can I rename the myName folder? as I would like to set up a new user profile ...
0
votes
0answers
19 views

Shell script to execute other script not spawning other scripts

I have a shell script running in a while loop. The script accepts a number as an argument so in ps you would see something like /path/to/script.sh 2. Every 180 seconds, it should be spawning a PHP ...
0
votes
0answers
18 views

What is the lightest linux distro for database work [on hold]

I need help finding a Linux distro that is good for running postgreSQL, I need it to be stable and as light as possible. Anyone has some sugestions?
-1
votes
0answers
19 views

Connection closed by remote host AWS (EC2 Machine)

Normally I created the user(TestUser) for my Ec2 machine server with the password protected, everything is going as it should be but after few days when I again going to ssh to the server with ...
1
vote
0answers
55 views

Why does this rsync command running in a cron fail?

Why does this rsync command running in a cron fail and how to debug it and fix? unset SSH_AUTH_SOCK && unset KRB5CCNAME && rsync -hvru -e "ssh -p 34503 -i /root/.ssh/...
-2
votes
3answers
40 views

How to obtain certain lines from several texts simultaneously?

Suppose I have 100 texts under the same dir, i.e., text1.txt, text2.txt,...,text100.txt. I want to extract certain lines(e.g., first 100 lines)from each text, and save the lines to another new 100 ...
0
votes
0answers
15 views

How to get host “client” initiator wwn's from FC SAN card & switch

I saw an IBM San Storage and at Host alias creation page they can show you available host (client) initiators wwn's to choose. And I wonder how they can find client initiator wwn's from storage? I ...
4
votes
3answers
3k views

Spawn new terminal window with the same directory as the previous window

I'm running Awesome WM on the latest Arch Linux with Gnome Terminal and the default bash. I've managed to get this working, but I wonder if any form of improvement is possible with this implementation....
0
votes
2answers
29 views

Setting noatime via mount options vs extended attributes

From man chattr When a file with the 'A' attribute set is accessed, its atime record is not modified. This avoids a certain amount of disk I/O for laptop systems. However when I am remounting ...
1
vote
1answer
58 views

What to do when hard link is lost because of my text editor

So, I have a file, for this instance we shall call it $HOME/Documents/hello.txt. I will write some text inside it: Hello, welcome to my text file And I will hard-link this file here: $HOME/Documents/...
2
votes
0answers
1k views

Unable to remove folder, even with `--force`, sudo not needed

Trying to remove a folder: $ rm -r folder rm: cannot remove 'folder/subfolder/cifscaf6': No such file or directory Doesn't work. Let's try with -f: $ rm -rf folder rm: cannot remove 'folder/...
0
votes
0answers
26 views

C : what does “?” mean? [migrated]

1:snprintf( buf, sizeof(buf), 2: "%s exe=%s hostname=%s addr=%s terminal=%s res=%s", 3: message, exename, 4: hostname ? hostname : "?", 5: ...
0
votes
0answers
7 views

Hadoop streaming command failed

I am running the following mapreduce code through hadoop- hadoop jar /usr/local/hadoop/share/hadoop/tools/lib/hadoop-streaming-2.6.0.jar -file /home/hduser/Desktop/mapper.R -mapper /home/hduser/...
0
votes
2answers
29 views

firewall not working as expected in kickstart

I have following line in kickstart for firewall firewall --enabled --service=ssh,glusterfs,tftp,ntp I am expecting tftp server should be accessible from other system, but it was only accessible from ...
2
votes
1answer
142 views

How to copy the contents of all files with a certain name into a new file?

What I want to do is search for all the files whose name meet a certain requirement (starts with 's', followed by either a '1' or a '2' and end with 'sh') and then copy the contents of all those files ...
1
vote
1answer
38 views

du -sh * , hide directories with 0 usage

Here's what my current output looks like. 475M directorya 0 directoryb 0 directoryc 520M directoryd 42G somefolder Here is what I am trying to do. How do I hide the ...
0
votes
0answers
15 views

Why can I not change xorg.conf.d “OutputClass” to “Device” for RX560 GPU

I have a: Lenovo Y520-15KIBA CPU Intel i5 with GPU AMD Radeon RX560 linux kernel 4.20.47-custom (with bloobs of new firmware 1.175) DRM is 3.27.0 also kernel 4.17-generic is in the grub I want to ...
0
votes
0answers
7 views

Support TI WL18xx WiFi/Bluetooth module on iMX7 Running Android 8.0.0

I am using AOSP. I have a task to load Android onto an eSOMiMX7 board, which runs, among other things, an iMX7 processor and a TI wl18xx WiFi/bluetooth module. When I was brought on, the Linux and ...
0
votes
0answers
11 views

On i3 how to simulate natural pressing on key

I use the xdotool commands into my i3 configuration to simulate key pressing and automate my key bindings. I'm on ubuntu but i don't think that change the behaviour of i3 and xdotool. Example, ...
-1
votes
1answer
39 views

What controls the buffering of stdout stderr?

What part of the system sets up the buffering of the three standard streams when a program is started? Is this part of linux, or glibc, or maybe bash? Does POSIX define the behaviour, or is it part ...
0
votes
0answers
5 views

PPPD in linux kernel 3.12 only works with 1 baudrate

I would like to create PPP to interact Linux with Quectel Modem by using pppd though (editing options/ chat script follow to modem command). Until now, connection: ppp0<-->/dev/ttyS1 was always ...
1
vote
0answers
15 views

How to set separate X and Y deceleration in xinput?

This question doesn't help. I use a cheap smaller brand drawing tablet, and it works nearly fine in Gnome (aside from the pressure), but it isn't usable in KDE. The reason for this is that KDE moves ...
1
vote
1answer
4k views

Samba access is denied in windows

I want to access linux (fedora 25 in virtual box), there is two issues: Configure with anonymous access, but windows still asks account and password to access linux by samba. Configure with account ...
0
votes
0answers
14 views

Launch ec2 instance using boto3 with security group

ecx = boto3.resource('ec2' , region_name='eu-west-1') mysg = ecx.create_security_group(GroupName='testgroup11',Description='testme') mysg.authorize_ingress(IpProtocol="tcp",CidrIp="0.0.0.0/0",FromPort=...
3
votes
1answer
2k views

Device Trees: Difference between labels and aliases?

In the file imx6qdl.dtsi is the following definition of gpio nodes (somewhat shortened): gpio1: gpio@0209c000 { [...] }; gpio2: gpio@020a0000 { [...] }; [...] gpio7: gpio@020b4000 { [.....
2
votes
2answers
656 views

nmap socket trouble

I've been trying to use nmap but it fails with the following output: Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-21 22:24 PDT NSOCK ERROR [0.3460s] nsock_make_socket(): Socket trouble: Address ...
14
votes
4answers
45k views

How to install VirtualBox Extension Pack to VirtualBox latest version on Linux?

How to install VirtualBox Extension Pack to VirtualBox latest version on Linux? I would also like to be able to verify extension pack has been successfully installed and and uninstall it, if I wish.
0
votes
1answer
15 views

How to add a file/edit/view… bar into polybar?

I am using i3-gaps for a desktop environment. I try to configure polybar to have file/edit/view... bar with a name of a focused app (like in a mac topbar). I am using Arch Linux.
0
votes
2answers
36 views

Deleted a user but forgot to delete home directory and user files

I have deleted a user using userdel command, but I forgot to delete user files. Now I want to delete those files, how can I find and delete them?
2
votes
0answers
27 views

include special characters when sorting files

I'm trying to make Linux include special characters when sorting filesnames. The sort order I'm trying to achieve is: first all special characters, then numbers, then letters (case insensitive). The ...
4
votes
3answers
2k views

How to enable wifi using keyboard (Dell Inspiron 14r) in suse Linux 11.4

I have installed both Windows and SUSE Linux (11.4) on my Dell Inspiron 14r laptop. Both are working properly. I am facing one strange problem. I went to my Linux OS WiFi was working fine and I ...
0
votes
0answers
9 views

Different Wi-Fi SSIDs, same network: cannot switch connections

I have a small network at my home, where the main Internet point stays at the living room, with two signals, a 2.4G and 5G, on the same network. Also, I have a Ethernet over Powerline link to my ...
0
votes
0answers
12 views

AWS transfer for sftp - Increase sftp session timeout from server

I'm using Aws transfer for sftp as sftp server, but when i connect to sftp from any client (winscp, linux, aws linux server) it keeps disconnecting after 3,4 minutes. But when i change ssh server ...
1
vote
2answers
457 views

udev for /sys file not working

I'm trying to set group attribute for root@luna:~# ls -l /sys/class/backlight/intel_backlight/brightness -rw-r--r-- 1 root root 4096 Sep 24 08:28 /sys/class/backlight/intel_backlight/brightness I'...
0
votes
0answers
10 views

Linux Kernel: Redirecting dmesg to a txt file through the kernel space

I understand that writing files through the kernel space is not recommended but I have been porting 4.9 to my Android device. While fixing the display, the device stopped booting(Splash -> Black ...
0
votes
1answer
31 views

Segmentation fault with echoping

I'm testing smokeping's DNS probes with the echoping program as per the documentation, but for me this is causing a segmentation fault when the command is executed by smokeping. I grabbed the command ...
0
votes
1answer
807 views

Enabling XRDP for remote on SUSE Linux Enterprise Server 12 SP3 (HVM)

All these test activity I am carrying out on my AWS instance for my test purposes. I am bit of new Linux playground and I needed your guys expertise for configuring it. I am trying to install XRDP ...
1
vote
2answers
23 views

Using grep to omit values given in a text file

Omit.txt 001 006 008 0016 Filetogrepfrom.txt 001 006 007 008 0016 00546 008 0031 00 0021 0016 I want to do cat filetogrepfrom.txt | grep -a 00 | grep -v {lines from omit.txt}
0
votes
1answer
21 views

Samba Shared Folder with Windows Clients

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients ...
1
vote
1answer
21 views

Unable To Load Regulatory Database

I am trying to bring up a 4.19 (4.19.16) kernel on my board using the Atmel AT91SAM9G45 SOC. I included the CRDA support in the kernel configuration, but the kernel reports that it is unable to load ...