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
3answers
101 views

how to set up permissions of “download” dir to prevent execution of exploit program

There is a host with a local service that receives data from a remote location (via e.g. http) and saves it locally under /var/log/data/ in some mydir. $ ls -al /var/log/data drwxr-sr-x+ 4 root ...
0
votes
0answers
5 views

can all the users access internet using single credentials in user based squid

configured user based proxy, created one user, and gave the same credentials to all the users in the LAN, will there be any problem?
1
vote
1answer
11 views

Selecting IO scheduler on external drives

I'm running linux on the beaglebone black. My system is running directly from the sdcard. To change the IO scheduler I need to configure /sys/block/xxx/queue/scheduler where xxx is the mounted ...
1
vote
1answer
21 views

How do I know I should turn swappiness down?

I have 5.5 GiB memory, using 2.8 GiB (~50%), but my swap is using 1.9 GiB of 5.6 GiB (~33%). My computer operates okay but is sluggish at times. So is this a high amount of swap usage or completely ...
-2
votes
0answers
33 views

Unable to download file using unix

I have few files in the BOX (an application to store files). I have to download one of that file using unix commands. The command I am using is wget myurl But the above command downloads the xml ...
1
vote
1answer
23 views

Simple floating point benchmark that can be compiled from source?

I am interested in benchmarking some ARM platforms; can anyone suggest a simple benchmark with source code that can be used to benchmark floating point performance? A package such as a .deb file ...
1
vote
2answers
33 views

How to Overwrite Linux Mint 13 with 17.1 with Windows 8.1 dualboot?

I have recently been given a disk from my friend to install Linux Mint and have installed it to dual boot with my Windows 8.1. The version he gave me was version 13 (maya). I want to overwrite this ...
1
vote
0answers
5 views

Constant 60KB Shared library memory on /proc/<pid>/maps

In a quest for understanding RAM requirements of system processes, I arrived to analysis of /proc/pid/maps. I have noticed a pattern: many shared libraries have exactly 60KB space allocated in their ...
2
votes
1answer
38 views

What does -/+ buffers/cache means in the output of free? [closed]

I know this is a lame question, but I want to understand why CentOS consumes my Physical memory when certain process stopped. Suppose I have opened a file of 10GB then it consumes 10GB in ram and ...
0
votes
1answer
45 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
31 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
22 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
18 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
39 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
53 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
92 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
52 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
16 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
45 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
34 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
36 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
48 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
26 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
25 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
47 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 - ...