Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
0answers
14 views

Make X11 react on “dev/input/eventx”?

I have a debian 7 on kernel 3.8 running with a touchscreen. With evtest, I see that I get the screen's coordinates for device "dev/input/event2". How do I have to configurate my X server, that the ...
2
votes
1answer
62 views

Convert IP Address to Coordinates using database

I have a file which contains IP and I wanted to compare it to Coordinates using a local database (instead of API). I tried following a process and break down to pieces and created scripts referring ...
0
votes
0answers
36 views
+50

Cloned server will only boot read-only

I have cloned one of my servers that is about the to be shut down into a virtualbox machine. I used rsync for that, remembering to keep the relevant attributes etc. I also modified fstab. I have ...
-3
votes
0answers
17 views

Increase the logical volume [on hold]

I have 16 Gb available space in one volume. How can i make it available for another volume which have only 4 Gb available spave. Now the Free PE / Size is 13 / 52.00 MiB.
2
votes
1answer
11 views

Redirect or trigger on dev node input event

Is it possible to trigger an event when data is available at a dev node? Very simply, if some widget device sends information over usb to my linux box, would it be possible to trap into some event ...
1
vote
0answers
19 views

lp prints blank pages for pure text file

Printing a text file through lp result in blank page while printing same file through gedit works fine. lp is able to print pdf and jpg image files, but not text file. On further looking in to ...
-1
votes
0answers
20 views

SELinux policies [on hold]

I am new to SELinux policies. I am looking for a good tutorial on SELinux policies, how it works, how to define properties, labels, types, how to allow/deny permissions, etc. Any pointer and help ...
0
votes
0answers
11 views

Trying to boot Mint via ISO on Drive using a DVD

I use Mint on a Windows PC that I cannot install Grub on. I am trying to figure out how to boot an ISO on the root directory of the C drive (c:\mint.iso) on my Windows PC by running Grub off of the ...
0
votes
0answers
15 views

How to limit internet access for specific program? [duplicate]

Well, the title says it all. Suppose I have some program, I run it as normal user, and I want it to have no internet access. P.S. I'm using Arch Linux, but I'm also interested in more general ...
4
votes
4answers
163 views

How can I convert two-valued text data to binary (bit-representation)

I have a text file with two (2) only possible characters (and maybe new lines \n). Example: ABBBAAAABBBBBABBABBBABBB (Size 24 bytes) How can I convert this to a binary file, meaning a bit ...
2
votes
0answers
22 views

What happens if the last process in a namespace exits?

I am running Linux. I have a single process in a mount namespace. I did in this process a mount -t tmpfs tmpfs /mountpoint. What happens if the process exits and there are no more processes in ...
0
votes
2answers
27 views

Mount a partition in Terminal with udisks

I'm running Linux Mint 17.1, based on Ubuntu Trusty. If I run udisks --mount /dev/sda7 then the partition is mounted in /media and not in /media/$USER as it should. What am I doing wrong?
1
vote
0answers
20 views

no internet through wwan0 when cable attached to eth0

On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ...
0
votes
1answer
9 views

Captive portal [HostApd] detection by the browser?

I'm using hostApd to develop a captive portal. My machine provides à Wifi (password free), and I plan the clients to get a popup saying "hello". You know, like the popup of wifi providers, asking for ...
-1
votes
0answers
19 views

What does ls > list do, what does ls >> list do? [duplicate]

I have been asked to explain how and why ls > list and ls >> list are different, unfortunately I don't even know what either of these do :( Also when I typed them into Linux nothing seemed to ...
0
votes
1answer
17 views

How to change JAVA_HOME temprorary with env command

I use openjdk for my work, but sometimes I need oracle's JRE. I thought that I could use 'env' command for this, but can't figure out why it's not working. I have openjdk in ...
0
votes
1answer
22 views

Strange commands on FTP logs

I'm battling with wordpress security problems and sometimes even I have tried everything my server sends spam by some hacker. I have checked my FTP log and I found this code ...
0
votes
1answer
43 views

Can a kernel preemption happen in the process context with `TASK_INTERRUPTIBLE` state?

If a process sets itself to the sate of TASK_INTERRUPTIBLE, can it be preempted by other kernel components? If it does, I think this process maybe lost wake-up chance due to failed to check the ...
1
vote
0answers
15 views

SD card protected area

The Wikipedia article on SD cards mentions that about 10% of the capacity of an SD card is a so-called protected area, which is used for the security-related features of the card. Let's say I don't ...
0
votes
1answer
28 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
0
votes
0answers
17 views

Error with GNOME and AMD Catalyst

I have two computers, both with AMD video card. I'm trying to install them Fedora 22 with GNOME, I followed the same steps on both, but when I turn on the computer, only one works, while the other ...
0
votes
1answer
22 views

Intermittent Network disconnection, Ubuntu, troubleshooting help

I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu) Networking service runs on my system: sudo service networking status networking start/running Static interface ...
-3
votes
1answer
21 views

moving to homedirecory without using just cd foritself

Your current directory is cambridge. Move to your home directory using a relative pathname (don't use cd by itself for this move)
0
votes
1answer
18 views

How to exclude .jpg, .jpeg, .png, .gif from a ClamAV Scan (clamscan)

As the title says. I'm running a clamscan command to scan my users home directories, I'd like to exclude images from the scan as these sites specifically have thousands of images. M
-1
votes
0answers
13 views

How to move a compressed tar from one remote server to another?

I have a .tar.gz file at remote server A. I want to copy this file to remote server B and uncompress it there. How can it be done? [you@localhost ~]$ scp examplefile ...
1
vote
1answer
31 views

How to make Apache piped logging scripts not run as root?

The organization I work for is very security-minded. There is a separation between the group of System Administrators who are responsible for the operating systems (who, obviously, have root) and ...
1
vote
0answers
11 views

Installing KDE broke my Cinnamon installation

I started my adventure with Linux Mint installing the MATE DE. Then I installed Cinnamon and switched to it. Recently I wanted to try KDE out. So I installed mint-meta-kde, kde-full, amarok, ...
0
votes
0answers
6 views

check_nrpe ssl couldnt complete handshake, in both master and client server it works fine individually

I am getting this check_nrep ssl couldnt complete handshake erro in master server when i try executing the below command. /usr/local/nagios/libexec/check_nrpe -H 10.192.122.234 10.192.122.234 --> ...
-1
votes
0answers
17 views

Heap memory calculation with /proc/PID/smaps

I want to know how to calculate the Heap memory utilisation from the output of command /proc/PID/smaps. we have the PID of a process and getting the heap value out of it, but what the size fields ...
0
votes
0answers
23 views

Unable to Boot After removing Old Kernels

I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in terminal, and when I noticed some issues with how the the operating system performed, i ...
0
votes
0answers
33 views

Do I need to stop NTP service for client or only the server for leap second bug in linux

I have a server with suse 11 sp1 which are connected to NTP server that is also of same version. How can prevent leap second bug from effecting the servers? Can stoping the NTP service prevent effects ...
-7
votes
1answer
42 views

How is this an example of a pipe? [closed]

I have been given: ls | grep D Why is this a pipe?
-2
votes
2answers
28 views

Which book should I read to get a better understanding of Linux? [closed]

I started using Linux about a year ago, and now I'm a fulltime Linux user. Often it is the case that I write some command in terminal (for ex. running specific services at startup), but when I try to ...
0
votes
0answers
22 views

Linux Installation And the BlackScreen [Lubuntu 12.04] During Booting [closed]

Problem: Black Screen and Cursor I can't enter into terminal mode with Ctrl+Alt+F2. Notebook Spec: Bought in 2002 (Windows Xp) - Non-PAE (Bios without USB boot) with USB port What I ...
3
votes
1answer
36 views

How do I forbid access to physical memory in Linux?

I'm on an embedded system (Zynq from Xilinx. It uses ARMv7, Cortex-A9), and running Linux. I need to ensure that no access to a certain physical memory range is ever made, either accidentally by the ...
0
votes
3answers
91 views

Where is .bashrc file found in Linux?

I am not finding my .bash_login and .bash_profile root@linux:~# locate .bash* /etc/bash.bashrc /etc/skel/.bashrc /etc/skel/.bashrc.original /home/noroot/.bashrc /home/noroot/.bashrc.original ...
0
votes
0answers
7 views

Ethernet adapter Not recognized at all (Steam Os)

I have having an issue where my Ethernet adapter(realtek TL8118AS-CG0) in my Samsung np365ec(amd a8-4500m Quad core 4gb of RAM)is not recognized at all. The wireless card works fine but is only ...
0
votes
0answers
16 views

Auto-mount encrypted USB issues on boot for Raspberry Pi

My previous post about what I am trying to achieve: link Essentially trying to automount and encrypted USB drive at boot. Been slowly chipping away at this and feel I get a good idea of the process ...
0
votes
1answer
9 views

Multiple environments in Chef?

I am looking for some ideas/guidance to use environments in chef to specify attributes that are specific to each environments like Dev, QA & PROD. As a result we would like to be able to use same ...
0
votes
1answer
7 views

Huge pages in use, but no allocator

I have a process running in an lxc and it allocates some huge pages. However when the lxc is killed off, the huge pages are still allocated, but no process has them... $ grep huge /proc/*/numa_maps ...
0
votes
0answers
17 views

Is it possible to control and limit the transfer speed of a Ethernet TCP/IP via command?

I'm suffering from some "low data transfer" from a device running Embedded Linux to my computer. I'm aware that it has some hardware limitations that could be strangling the speed (e.g. 372 Mhz ...
0
votes
1answer
22 views

How To Induce RO To Linux FS

I've read in several places that during I/O error to system log file most linux distributions go to read only mode. Followed by how to recover from it. This is all fine, but I'm looking for a way to ...
1
vote
0answers
26 views

Installing Linux on my ASUS ROG G751JT-T7005H

I've got a new question. This time about my new Laptop. I wanted to install Linux openSUSE, but it doesn't work. I worked with the Internet, and did everything as described there. I disabled Fast Boot ...
3
votes
1answer
33 views

How safe is it to change the Linux Ephemeral Port range

I see the following ephemeral port range on my Linux box. sysctl net.ipv4.ip_local_port_range net.ipv4.ip_local_port_range = 32768 61000 I want to extend the port range to start from around ...
0
votes
2answers
28 views

Fedora12, yum can't find repositories [duplicate]

For some reasons I have to use old distro Fedora12, and yum in its default configuration is unable to locate URLs for packages. % yum search gcc Loaded plugins: refresh-packagekit Error: Cannot ...
1
vote
2answers
41 views

Why is the range of load average not 0-1+ for all cpu's together?

I know that load average is 0-1(or 0-1024) per cpu. E.g a busy quad-core can have a load average of 4.0 or higher. (e.g if there are many tasks). I understand it can be huge like 100+ etc. I also ...
1
vote
0answers
23 views

Manually compile and add module r8169 (and others)

When typing lspci i get: ... 01:00.0 Ethernet controller: Realtek Semiconductor CO., LTD RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 05:00.0 Ethernet controller: Atheros ...
0
votes
1answer
44 views

Linux dump, which folders/files are excluded from first backup?

When using dump, level 0, to save the whole concerned partition : $ dump -0f /path/to/target/drive / I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail ...
1
vote
2answers
17 views

How to check if a dump-generated backup is OK?

When dumping my FS with dump, e.g.: $ dump -0f /path/to/usb/nonexistant-file-name / I get a binary file, extension-free. It's normal. I regularly store such backups, if ever I need to restore one. ...
0
votes
0answers
5 views

wrapper:command not found(no wrapper policy)

When I tried to invoke imc in red hat, I got an error message stating,"wrapper: imc:command not found(no wrapper policy)".i tried to invoke by specifying the whole path of imc.even though i'm getting ...