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

0
votes
1answer
44 views

changing default centos 7 workspaces

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
1
vote
0answers
29 views

Synaptics settings get applied correctly from /etc/X11/xorg.conf.d but then reset?

I have a BCM5974 touchpad device which gets loaded incorrectly by Xorg despite being seemingly correctly configured. I have a simple /etc/X11/xorg.conf.d/60-synaptics.conf file: Section "InputClass" ...
1
vote
1answer
21 views

Auto-start multiple background user sessions in Linux Mint

I could use some help with what I think is a basic request on the newest edition of Linux Mint (which I think would also be applicable to Ubuntu). I have a home system with 3GB of RAM and accounts ...
2
votes
0answers
17 views

Making a touchpad without buttons like a normal touchpad with buttons

Assume a synaptics compatible mousepad that has no physical buttons, but where the whole surface is physically clickable (not a tap, but physically clickable). A particular touchpad with these ...
0
votes
3answers
46 views

Reuse output from command 1 in command 2 using a pipe

I've got a command in linux which returns a list of numbers. Now I need this numbers to form a directory path and cat the file located at that path. For example: myCommand returns: 1 10 30 40 And ...
2
votes
0answers
37 views

Routing traffic for specific user to specific interface

I have a Linux box with these interfaces: eth0 Link encap:Ethernet HWaddr 14:da:e9:ef:75:7d inet addr:176.9.85.182 Bcast:176.9.85.191 Mask:255.255.255.224 tun0 Link encap:UNSPEC ...
0
votes
1answer
22 views

How to install libsnmp on CentOS 6.5?

I'm trying to use software on my server that requires libsnmp. I tried running: yum list libsnmp But it says: Error: No matching Packages to list I also tried: yum search libsnmp But it ...
0
votes
1answer
56 views

Difficult to find installed application installed in linux

I am new to linux, used to use windows. I am trying to convert to linux and I really love it. I am trying Ubuntu 14.10. I have a question about how to find the installed applications easily in Linux. ...
3
votes
0answers
33 views

Programmatically monitor process state using C++ [migrated]

I have to develop an application in C++ to monitor the state of processes in my Linux system and also need to know if a new process is created or an existing process is terminated. Is there an API ...
0
votes
2answers
52 views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
4
votes
1answer
91 views

Linux can't see any of my partitions — The backup GPT table is not at the end of the disk

I'm trying to install Linux on my HP Pavilion 14 inch ultrabook, but without any success. At first I tried installing Ubuntu on it; everything went fine, I got into the Live DVD (yes I'm oldschool ...
0
votes
1answer
26 views

How to use Linux Kernel [duplicate]

I would like to build a very small and simple operating system that runs java application on top of Linux kernel just like android, just to improve my knowledge and to build some hands on experience ...
2
votes
1answer
50 views

Ghost vulnerability - recompile C/C++ programs?

I've CentOS 6.0 server with glibc-2.12-1.7.el6.x86_64 running many open source services and some of my own C programs. To fix ghost vulnerability, I need to update it to glibc-2.12-1.149.el6_6.5. ...
0
votes
1answer
25 views

Pendrive not being detected in Ubuntu

I am unable to see my pendrive in ubuntu. When i reun fdisk -l, i can see my pendrive is connected : Disk /dev/sdd: 16.0 GB, 16008609792 bytes 255 heads, 63 sectors/track, 1946 cylinders, total ...
2
votes
1answer
74 views

Set bash script output to the line that called bash script

I've looked for the greater part of two hours trying to see if I could find a way to redirect the output of a bash script to the line that called the bash script. The best example I can use to ...
0
votes
0answers
15 views

How to access MariaDB on Debian Server from Win Machine on same network

I'm having trouble accessing my MariaDB server from my windows machine on the same network. When I try to create an ODBC connector from within MS Access using the local IP and the correct ...
1
vote
1answer
43 views

I can't connect to my router when I change wlan0 mac address on Ubuntu 14.04

I can't connect to my router when I change wlan0 MAC address on Ubuntu 14.04 I change the title using ifconfig wlan0 down ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx ifconfig wlan0 up Change ...
1
vote
2answers
33 views

challenging failed raid5 recovery

I have a personal raid 5 array that is in rough shape. The failed array has eight 2 TB drives that were built up over time in my n-2 desktop machine. The array is from an in-house computer that ...
3
votes
2answers
40 views

How do determine whether Linux board is using hardware FPU or not?

I am using an embedded Linux board based on a fairly old Freescale ARM chip. How do I determine whether the Python interpreter there is using the hardware FPU on the chip or not? My /proc/cpuinfo ...
0
votes
0answers
18 views

VirtualBox state suddenly SEEMs to have been restored to an earlier time

I have CentOS 7 installed on my Windows 8.1 VirtualBox, and file-system sized 30Gb. It worked fine until this morning, then the storage became full (due to Downloads and Projects). I tried a tool ...
-1
votes
0answers
25 views

Speed up mount/unmount process

I am currently doing mount and unmount every 33 msec from Linux host to continuously read a file from a Win7 VM. This seems to be working but mount and unmount is causing some latency, thus it is ...
1
vote
1answer
32 views

Identify machine configuration via code

I am writing a program where I need to know about the machine configuration. Code will run on Linux. I want to find the following: Number of CPU Cores Number of CPU Sockets Number of Disks If it's ...
0
votes
0answers
8 views

net-snmp 5.7.3 - not responding for v1/v2c ping

I am very new to the net-snmp libs and planning to bring it up on a 64bit x86 machine with 4port IGB-PCI card. The snmpd(x.x.x.161) is failing to respond to a server(x.x.x.56) v1/v2c pings. Please ...
0
votes
0answers
34 views

Compiling kernel, MODPOST 0 modules

Building modules, stage 2. MODPOST 0 modules I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortanately I am getting ...
3
votes
0answers
34 views

Look at the bytes in a directory? [duplicate]

I would like to see what the actual contents of a directory file are (not the files that are contained within that directory). Specifically I would like to be able to do something like: od -c . ...
1
vote
1answer
34 views

Ubuntu and Windows enviroment

Our IT department needs to set up a file server that will hold the organizations documentation and all other important information, its currently being held on our Windows AD server which the reasons ...
1
vote
2answers
47 views

Booting linux from USB flash drive

I have a lenovo desktop and a lenovo laptop, both running windows 8.1. I downloaded the ubuntu 14.10 iso file, burnt it to a installation CD. Then install it on my desktop harddisk. Everything ...
2
votes
1answer
33 views

How can I count 802.11 beacons from a SSID network I'm connected to?

Does anyone know of a way to count 802.11 beacons for the network you're already connected to? Doesn't matter if its an Access Point or Adhoc network as both will issue 802.11 beacons. I'm asking ...
0
votes
0answers
25 views

.htaccess is not working in users' public_html directories

I followed a tutorial: http://www.techytalk.info/enable-userdir-apache-module-ubuntu-debian-based-linux-distributions/ but .htaccess is not overriding Apache's configuration. May be "AllowOverride ...
0
votes
3answers
28 views

Error when trying to accept a directory path as a command line argument

I'm trying to accept a directory path as a command line argument in order to check recently changed files - not too sure if I'm doing it correctly: script=$scriptpath find . "$scriptpath" / -user ...
1
vote
0answers
37 views

Disable gtk-application-prefer-dark-theme for single application [duplicate]

I like having a dark theme, so have gtk-application-prefer-dark-theme enabled in my local settings.ini file. However, some applications (such as the ubuntu software manager) don't work will with a ...
1
vote
0answers
40 views

Using ~/.ssh/authorized_keys for non-root users?

I have a bunch of users that are each connected to a directory in the home folder. Any way to set this up so that every time I create a new user and directory it's linked to ~/.ssh/authorized_keys so ...
0
votes
2answers
25 views

How to remove ipv6

I added ipv6 to Raspbian (debian) on my Raspberry Pi using modprobe I do not use it, and want to remove. I tried sudo modprobe -r ipv6 but get error FATAL: Module ipv6 is in use. The only process I ...
0
votes
1answer
14 views

How to figure out primary/secondary IDE channel via sysfs (if possible)

Though I've got quite a good basic understanding of sysfs meanwhile, there are still things I cannot solve on my own. For a starter, I'd like to figure out via sysfs (later by scripting of course) ...
1
vote
1answer
17 views

Unix Program (not ab) to create local requests to local server with different IP addresses

I made a module for apache and want to test it across thousands of different IP addresses in a short time. Currently, my only option is to integrate the module onto a live server for which I have ...
2
votes
0answers
31 views

Show connected printers in CUPS

Is there a way to list the available/connected printers in CUPS using the command line or better yet using the CUPS API ? I already tried lpstat -a but it only lists the installed printers and not ...
0
votes
0answers
24 views

Kondemand process consumes most of my CPU

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3551 mysql 20 0 10.0g 84m 4052 S 9.4 0.1 544:39.87 mysqld 2311 root 20 0 0 0 0 R 3.1 0.0 184:36.36 ...
1
vote
0answers
24 views

Service script and shared libraries

I have the following simple script IPN in CentOS 6.5 in /etc/init.d/ #!/bin/sh # chkconfig: 2345 05 06 cd /root/IPNHost . /etc/rc.d/init.d/functions start() { echo -n $"Starting..." ...
0
votes
0answers
17 views

cannot change tcp-segmentation-offload

I have been doing tests with tcp-segmentation-offload on and off, but now I cannot seem to change the parameter anymore, it is stuck on "off" (I can change generic-segmentation-offload) ...
-2
votes
2answers
45 views

How to set the permission drwxr-xr-x to other folders?

I have few directores inside a folder like below - teckapp@machineA:/opt/keeper$ ls -ltrh total 8.0K drwxr-xr-x 10 teckapp cloudmgr 4.0K Feb 9 10:22 keeper-3.4.6 drwxr-xr-x 3 teckapp cloudmgr ...
0
votes
0answers
14 views

How to use classpath in ubuntu terminal for executing java class? [migrated]

I tried to execute CreateTextFileTest.class file with classpath in the terminal as the following: java -classpath ..:"/home/fatih/NetBeansProjects/Unit17 - ...
0
votes
0answers
14 views

Superuser can't `lstat` a directory but ordinary user can, what gives? [duplicate]

This really looks like a bug, and I'd like to dig in and find it, but I'm not sure where to start. First of all, I'm running Linux Mint, with a 3.13.0-24 x86_64 kernel. When I plug my Android tablet ...
1
vote
0answers
14 views

Automate a gratuitous ARP every x seconds

There may be another issue here, so any other questions or comments are welcome. I have a CentOS 6.6 VM running under VirtualBox. It is connected to a GNS3 topology using a UDPTunnel. Everything ...
0
votes
2answers
74 views

CentOS - commands in rc.local not run

My /etc/rc.local script is quite simple, like this. #!/bin/sh touch /root/test1 touch /var/lock/subsys/local touch /root/test2 modprobe -r ftdi_sio modprobe ftdi_sio vendor=0x0403 product=0x6015 ...
1
vote
4answers
75 views

Sort command on more than one field

I have a file with contents 192.168.1.3 192.168.1.4 192.168.1.2 10.1.1.1 10.1.1.2 10.1.1.3 192.168.1.56 192.168.1.43 10.1.1.23 When I gave $ sort -h -t. -k3,4 sort_test.txt 10.1.1.1 10.1.1.2 ...
0
votes
0answers
22 views

timout command is not timing out

I have a timeout command that is not timing out. user@db:~$ ps aux | grep 'timeout' user 4979 0.0 0.0 4440 628 pts/144 S+ 18:52 0:00 sh -c timeout 16 mycommand user 4980 0.0 ...
0
votes
2answers
218 views

NFS no longer mounts: rpc-statd fails to start

Whenever I try to start an NFS mount I get: Feb 12 00:02:19 martin-xps.lico.nl rpc.statd[23582]: Version 1.3.2 starting Feb 12 00:02:19 martin-xps.lico.nl rpc.statd[23582]: Flags: TI-RPC Feb 12 ...
1
vote
1answer
26 views

Unable to connect to internet from Centos VM

I am using VirtualBox 4.3, I have installed centos 6.3. I have two adpaters attached. 1) NAT 2) Host-Only I want to be able to setup a cluster of 3 machines which can talk to each other and also be ...
1
vote
1answer
27 views

Non-block poll from two pipes?

Here is what I want to do.. mkfifo infrequentlog frequentlog sort -m infrequentlog frequentlog > mylog funcA > infrequentlog funcB > frequentlog So that when monitor tail, I can see the ...
0
votes
0answers
11 views

Debian BT878 card stream to external zoneminder

I placed 2 analog cameras in my countryside. I placed one computer and installed ubuntu with zoneminder, but it was too slow and didn't work properly. So now I have another idea - I have VPS on which ...