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.

learn more… | top users | synonyms

0
votes
1answer
27 views

Mac Cannot Boot From External Hard Drive

So I recently purchased a Seagate 4TB External Hard Drive (https://www.amazon.com/dp/B017KE8OG0/ref=psdc_595048_t1_B00HXAV0X6) and decided to put linux on it. My steps were (on Windows): 1. Converted ...
2
votes
1answer
43 views

How can I differentiate disk I/O occured explicitly by a user and OS prefetching?

I am monitoring disk I/O usages of an application program (running on CentOS 7) It uses lots of sequential disk I/Os where I expect that OS prefetching is something! dstat shows how many disk I/Os ...
0
votes
1answer
23 views

Questions about minor page fault

From Stephen's reply and comment at http://unix.stackexchange.com/a/289446/674 in some cases, data which has been marked for paging out but hasn't yet been paged out. paging out would ...
0
votes
0answers
22 views

Execute custom script when wireless NIC connects to SSID

I have pieced together two scripts that will serve to execute a custom script when my wireless NIC connects to an SSID. Firstly, I will add the following (notice the post-up section): auto eth0 ...
0
votes
0answers
28 views

Problem with wash command

I have my own Tp-link router for attacking purpose. The problem is that when I run the command airodump-ng monitor-mode card it shows me my Tp-link router. But when I run the command wash -i monitor-...
0
votes
2answers
70 views

parsing using loop and assigning row numbers to file

It is a bit complicated. i have a configuration file. it looks something like this. customer="airtel" model_name=fast programmer_typ_of="dev" Now the 1st column contains all the keys and whatever ...
0
votes
0answers
17 views

How to start LXDE on headless system

I have been trying different types of OS installation. I wanted to see how far I can go in a headless system, so I installed Debian with none of software's show in selection menu. Not even the common ...
0
votes
0answers
41 views

Linux + how to shutdown application properly with reboot or init 0 + init.d scripts

I have Linux Redhat (version 6.5) machine that manages some application before each reboot or init 0 I shutdown the application as the follows: /etc/app-LM.bash /etc/app-UPP.pl /bin/DT-apl.c ...
1
vote
2answers
40 views

How ifconfg fetch enabled NICs?

I have searched this for a while, but there was no clear keyword to find same question. Briefly showing my question: ifconfig only shows enable NICs. # ifconfig br0 Link encap:Ethernet ...
0
votes
0answers
31 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
0
votes
0answers
25 views

Access to disk partitions from QEMU

I have two OSes installed on my hard drive - Windows and Linux. These are setup in a dual-boot configuration. The hard drive uses GPT and UEFI. I'm looking for a way to grant QEMU (in Linux) access ...
-1
votes
1answer
52 views

Crontab not running a shell script but works with command line

My question is about running a simple shell script using crontab. Crontab is successfully running one command like : * * * * * echo "test" >> /home/user/Bureau/testcron But not the other for ...
4
votes
1answer
49 views

Where does a device file come from?

I'm reading through the Linux Kernel Module programming guide and I am a bit onfused about how device drivers work. I tried following along and making a basic device driver, which shows up in /proc/...
1
vote
0answers
21 views

Why did the interface name of my wireless card change when I added a sound card?

Predictable network interface names are not supposed to change when hardware is added or removed. Isn't that the whole point of the naming scheme??? My wireless interface was named wlp3s0. I ...
0
votes
0answers
8 views

Top sliding panel doesn't show when hovered in Qemu while VM is displayed full screen

I'm running libvirt-1.3.5 and qemu-2.6.0 on Manjaro 16.0. Whenever I run a VM full screen, the slider that I once expected to slide down, which would allow me to resume from full screen doesn't show ...
1
vote
1answer
20 views

Add parameters to NFS mount

I try to start Android on device via NFS and TFTP. Everything goes good until Android system starts booting. Something happens with network parameters and connection falls and boot freezes [ 60....
2
votes
4answers
50 views

How to install VirtualBox Extension Pack

Objective: Install VirtualBox Extension Pack to VirtualBox 5.0.2 on Linux, be also able to list installed extension packs and uninstall it.
0
votes
0answers
39 views

Laggy, hanging, unstable bluetooth keyboard with Linux only

I have a laptop with Bluetooth broadcom 43142 module, and i had to copy firmware for it from Windows. Also i have Samsung Bluetooth Keyboard BKB-10.. Itt worrrks fine with Windoows 10, but under ...
0
votes
1answer
33 views

Does top read some system files?

If I am correct, the output of free comes from reading /proc/meminfo. In the output of top, is the summary of memory part not specific to a process also coming from /proc/meminfo? which system ...
0
votes
1answer
47 views

Problem with phpmyadmin

When I type localhost/phpmyadmin, it shows "The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500". Please help! Apache error log is: [Tue Jun 14 16:35:...
-3
votes
0answers
26 views

what rule causes infinite loop program to stop a 'C' program [migrated]

I am running this below 'C' program which is an infinite loop. I see the CPU reaching almost 99% using the 'top' command. then suddenly the program stops. I was curious to know what rule in the system ...
0
votes
0answers
16 views

Why is my monitor disconnecting after a couple of seconds?

My external monitor for my Dell XPS 13, which I struggled to get working on Fedora 23 because of an existing bug, has recently stopped working. I've been using it for a few months now but the last ...
3
votes
2answers
51 views

How to remove device from pool

I did a mistake when I added a new device in my raidz pool thinking ZFS should do it automatically. :~# zpool status pool: data state: ONLINE scan: resilvered 78,3G in 2h4m with 0 errors on ...
0
votes
1answer
35 views

Linux Check Image Exists at Apache URL

I'm writing a program that uses a Linux command to check if a file exists on the local server. The program executes a command with a supplied argument ls *ARG_GOES_HERE* &> /dev/null and ...
0
votes
0answers
19 views

PAM: make dbus listen to some address

I'm new with PAM and have some questions about it. Is possible to make PAM configure dbus, and make dbus listen to some address?
1
vote
1answer
44 views

Remember window layout on multiple monitors on Mint Cinnamon

I have been using linux Mint 17.3 with Mate desktop for quite a bit now. One of the thing I absolutely love is that it remembers layout of windows for multiple monitor configurations. For example, ...
0
votes
0answers
25 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI I get this error: -EFI Virtusl disk (0.0)... ...
0
votes
0answers
49 views

Setting up 12X2TB Centos Storage Server

I'm having some issues setting up a storage server for an image hosting website. I used to order smaller servers but this time I decided to order a large storage server. I had the data center set-up ...
5
votes
0answers
41 views

How to migrate all the memory pages of a process from one NUMA node to another NUMA node?

In Linux, I want to migrate the memory pages of a KVM virtual machine from one NUMA node to another NUMA node on runtime. But I cannot find any interfaces to do that in the KVM hypervisor or using the ...
1
vote
2answers
37 views

How to list the kernel Device Tree

I am using an embedded Arm with a Debian build. How does one list the compiled devices from the device tree? I want to see if a device is already supported. For those reading this, the "Device Tree" ...
2
votes
1answer
35 views

Limiting IP forwarding between certain interfaces/networks

I currently have ipv4.ip_forward enabled to route packets between multiple interfaces. I am now scaling up the system to 8 interfaces, but I want to limit the routing between interfaces/addresses. ...
5
votes
0answers
96 views

Taking a picture with a laptop webcam after entering an incorrect password

I'd like to set up my laptop so that if a wrong password is entered when the screen is locked, a picture is taken using the laptop's webcam. I examined xlock (from xlockmore package), but there is no ...
0
votes
0answers
24 views

Systemd, start user level unit with sudo access.

I have a debian package which installs my software and it needs to start two applications in post install script. First one is daemon and the second one is a background process both are managed with ...
1
vote
0answers
16 views

If it possible to permanently set a loose source routing option to all ip packages to a specific ip address?

First of all, the loose source routing is a kind of ip options which requires a selected hop to route this package. I wonder if it possible to set loose source routing option on specific ip packages(...
1
vote
0answers
36 views

Can you set Linux sysctl values at compile time

I am compiling a custom linux kernel. I want to set some sysctl values at kernel compile time. Defaults I want are different to the defaults kernel sets. Is there a way to do this? Please note I ...
0
votes
1answer
36 views

Constraints on gcc / glibc versions between build and run

Probably a basic question but I did not manage to find a clear answer to it: Let's say I am compiling a code (with some parts in C) on a build server and run it on a different server. The build ...
1
vote
0answers
11 views

logmein-hamachi - cannot login on Linux VM

I am using a VirtualBox VM with hamachi-logmein to access my home box from other places. Lately I decided to switch from Windows 8.1 VM to Linux VM, and this caused one problem: The logmein-hamachi ...
0
votes
1answer
35 views

What is the step by step procedure to analyze automatic logout on a linux ( ubuntu) system

After I login using UI, I am logged out. Shall I start by looking on log files ? Which one. I have root authority on the system. Is putting a "pause" or "sleep" in a script file that gets executed ...
-1
votes
0answers
22 views

Iptables ports not open

I was set up iptables, I made some forward rules, but the ports are not open for remote acess for exemple. If I'm in the same network of firewall, the Forward rules work well. But if I try to access ...
1
vote
0answers
35 views

How to set folder permission with + at the end?

I'm trying to mount a network shared device in a linux box. I get permission issue but it was mounted properly in another linux server. The only difference on the server it works has a + permission at ...
0
votes
1answer
15 views

Editing the iptables file on Asus firmware

I have downloaded the Asus DSL-n14u firmware, extracted the .trx file and located the iptables file, as linked below: https://www.dropbox.com/s/sanz5x2bw0o5xsu/iptables?dl=0 I know the iptables ...
3
votes
0answers
52 views

Cannot login SSH with key, always asking password

There is a issue confusing me for couple of days. I have 3 Servers. A, B and C. I want access B and C from A via ssh. I have set public key/ authorized_keys ... on A,B,C. Scenario #1: Access B(.133)...
-1
votes
0answers
39 views

File edition after glob function through python

I wanted to find every instances of a file under different directories and search for value 0 in each of those files and replace them with 500. Please find the code below #!/usr/bin/python import ...
5
votes
3answers
97 views

How can I tell which user limit I am running into?

Multiple sessions of the same user. When one of them gets to the point that it can no longer run new programs, none of them can, not even a new login of that user. Other users can still run new ...
0
votes
0answers
34 views

Debian 8 crashes once every few days

I'm running Debian 8 on Linode 32 GB and once every few days the system crashes. This server is being used in productions and I need to find a solution ASAP The only server running on Debian is ...
1
vote
0answers
24 views

Data recovery of 5.25" floppy disks using bootable GNU/Linux distros? [migrated]

When attempting to recover data from old floppy disks (5.25" in this case), it may contain a lot of bad sectors and have other issues. Tools such as ddrescue make it more likely to be able to recover ...
1
vote
2answers
94 views

What exactly is terminal? What is shell? [duplicate]

I know about Linux terminal. I can also issue many advanced commands over terminal. But one simple concept is not clear to me. What is terminal and how does it work? I know about hardware which ...
-1
votes
0answers
22 views

Windows Internet Download Manager alternative for Linux

Windows has a famous program called internet download manager. This is the only last software which has kept me from fully migrating to linux from windows. Is there any credible alternative for the ...
0
votes
0answers
11 views

Linux-live-USB boot on Intel MAC - Unetbootin / need help!

I am able to make a "linux-live-usb" and boot successfully on MAC by using Mac OS X Disk Utility to partition the USB (GUID partition table) and then using UnetBootin(on linux) to copy the ISO over, ...
0
votes
0answers
13 views

Refresh/update imap/Maildir

I have a linux server, and on the linux server I have a imap/maildir. I found this path: / home / admin / imap / domain.com / themail / Maildir / new And all my mails go in that folder. But I ...