Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
4 views

resolv.conf keeps getting overwritten when dnsmasq is restarted, breaking dnsmasq

I'm running Debian Jessie and I'm trying to configure dnsmasq as a caching DNS server. I used a guide to come up with the following /etc/dnsmasq.conf: listen-address=127.0.0.1 bind-interfaces ...
0
votes
0answers
4 views

AIDE scanning time increase

ALL, At work we are using RedHat. We recently moved from version 5 to version 6. We also use AIDE to scan the system. What had been noticed is that going from RH5 to RH6 the scan time for AIDE ...
0
votes
1answer
17 views

Unable to SSH to internal IP

Read a few related questions here and here. The situation is as follows: assume that I have a computer A and computer B. I am able to ssh to both computers when by setting Port Trigger and Single ...
1
vote
1answer
12 views

does linux zero memory released by applications

I was thinking about making Linux more secure. Can I write code that grabs a bunch of memory and go through them looking for "interesting" stuff? main() { char *p = (char ...
1
vote
0answers
12 views

Mount sysv filesystem under Linux

I have a hard disk with a filesystem created by an old version of System V Unix that I would like to mount read-only on Linux. fdisk shows me: /dev/sda1 * 2048 86015 41984 63 ...
0
votes
0answers
7 views

ethernet usb adapter ax88179_178a, ARP captured with 62 bytes

While debugging some l2 protocols on an ethernet usb adapter (chipset ax88179_178a) I noticed 2 bytes from Frame Check Sequence (FCS) are promoted to user data. Dump of the arp frame 60 bytes is now ...
0
votes
1answer
6 views

Shrink a from ddrecue created image or copy to new image?

I have rescued data from a 2TB hdd (and it turned out that it was not faulty - but this is a different story) and I goe=t a 2TB image. Mounting this image under Linux, I can see (using df) that in ...
1
vote
1answer
16 views

Is there an easy way to do a host lookup by MAC address on a LAN?

Is there an easy way (on Linux) to implement host lookup by MAC address? In small local networks, it is easy to use for example arp-scan to find out the IP address of some device. I usually use ...
0
votes
0answers
3 views

Running time of locating a file in a directory

When you search for a file in a directory with a large number of files (n), what is the worst case running time of locating this file? I mean does the OS (linux) sequentially check all filenames in ...
-2
votes
0answers
6 views

Continuously partition after resize

I run parted->resizeparted to a specific partition (for shrinking). How i can make now to all the partition to be Continuously Start\End (I don't want unallocated place + i don't want to use GPARTED). ...
0
votes
1answer
21 views

Start PuTTy session in remote host over network

I have 5 hosts - A, B, C, D and E. A and B are windows hosts. C, D and E are Linux machines running ssh server on port 22. I've copied plink.exe (putty command line backend client) in host B. When I ...
0
votes
0answers
6 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
0
votes
0answers
16 views

Can I raise the CPU usage of a application on Ubuntu?

I'm using GNU/Octave a lot, and sometimes I want to leave my computer alone doing some calculations while I'm working with something else (somewhere else). Using the system monitor, I see that Octave ...
-1
votes
1answer
28 views

USB 3.0 not going past the speed of USB 2.0

I have a WD My Passport Ultra, which I know can reach 100MB/s easily while connected to USB 3.0 port, but I'm getting 40MB/s on 3.0 and 2.0 ports. What may be the problem? I run Fedora 18 (32 bit (on ...
0
votes
0answers
5 views

Keytool without root access and leiningen

My traffic goes through proxy which replaces SSL certificate. This causes problems when accessing the maven/leiningen packages through HTTPS. I tried to install the cert in my keytool but that ...
-4
votes
1answer
24 views

Owner and User in Linux [on hold]

I am facing issue with permission in Linux. I would like to know the difference between User and Owner of a particular file and directory, if its a non root user in linux. Please help.
0
votes
0answers
5 views

XFS filesystem spanning drives and allocation group alignment

I have a query regarding creating an XFS filesystem on what is commonly incorrectly called a JBOD volume, that is, linear RAID or Spanning raid. I have two hard drives (1.5T and 2T) that I want to ...
0
votes
1answer
14 views

The best way to setup port forwarding

I have a situation when I want to connect from Windows machine to a web server running in virtual machine in Linux host. For this I would like Linux host to listen on a certain port and redirect it to ...
0
votes
0answers
3 views

aptitude safe-upgrade: apache2_invoke : already enabled messages

On my Ubuntu 14.04 LTS server I run unattended upgrades using that script in /etc/cron.daily: #! /bin/sh PATH=/usr/bin:/bin:/usr/sbin:/sbin export DEBIAN_FRONTEND=noninteractive date >> ...
0
votes
0answers
9 views

multiply ttys instances in console

I've run who command in terminal and see: myName console today_date myName ttys000 today_date myName ttys001 today_date myName ttys002 today_date why are there multiple ttys instances?
0
votes
1answer
18 views

Disk Space Changes with Command Used

Can anyone help me understand why I get different disk space results for /mnt/kvm_images depending on the command used? This is in Ubuntu 14.04. du gives this result: andrew@ubuntu:~$ sudo du -sh ...
0
votes
0answers
6 views

Change the location of GPT partition

I have a GPT partition table. I want to change the start and the end location in this table to specific partition. How can i do it without using Gparted. Thanks
-2
votes
0answers
14 views

A proper mail server installation tutorial [on hold]

I know that there are plenty of tutorials floating around online on how to properly setup a mail server on Linux. The only problem is that most are severely outdated and the information isn't clear. ...
0
votes
0answers
7 views

Last partition fails to dd copy

I'm trying to copy the NOOBS Raspbian distribution's 8GB SD card to a new card. For some reason, the logical partition /dev/sdb6 will not copy correctly. Accessing fdisk /dev/sdb after the attempted ...
0
votes
1answer
19 views

SFTP file writes show completed in FileZilla but on server side 0 bytes written

Kind of a weird issue here. We have a lot of data dropped on our SFTP, and sometimes we get a lot of files written with 0 bytes. Upon checking the remote users SFTP Client (FileZilla) it shows the ...
0
votes
0answers
13 views

How do I restart a service with correct permissions?

I have a service that watches a directory for files. When a file arrives the service moves it to another directory. When the file is fully moved the service executes setWritable(true). As long as ...
0
votes
0answers
10 views

Comparing access control tools on linux [on hold]

If I need to limit someone's access, say by IP, there are a few ways to do it. iptables /etc/hosts.allow /etc/hosts.deny routing table, ie route add Which way is the best way to do it? Discussion ...
-2
votes
1answer
22 views

I want to shrink Windows 7 partition, expand Ubuntu partition, remove swap partition. [on hold]

I have Windows 7 and Ubuntu 14.04 installed on laptop. There is very little space (9 GB) for Ubuntu, and unnecesary 8GB swap partition which would never be used anyway (there is a lot of RAM on this ...
1
vote
0answers
10 views

wget only new or updated files when the source files are compressed but the destination files are uncompressed

I would like to know how to wget files from a url which are stored with bz2 compression. However, I would like to only wget the new and updated files, relative to my destination, where the files are ...
0
votes
0answers
8 views

Set IP Rotation of sending Email using cPanel/WHM

I have setup Linux Server to send Bulk Emails. I am using phpList to send Emails and It is working fine. I have cPanel/WHM and root access. Now, to prevent BlackListing and to send Smooth Emails, I ...
0
votes
0answers
16 views

docker: performance of multi-process app

I've dockerized a legacy app which builds a thing, and while building it it uses a lot (but a constant number, around 32) of processess, which are ran using GNU parallel. They all are in the same ...
0
votes
0answers
9 views

Fedora ia_64 chroot environment - grub is retaining external environment

The system is Fedora 20. There are two environments, the first is the booted environment. It is LVM based and is labeled 'fedora'. The second is LVM based as is labeled 'vg_raidrootbu-server'. The ...
0
votes
1answer
17 views

readline - deleting word under cursor

E.g. Alt-d deletes word until next word boundary. There's also a shortcut to delete until previous word boundary IIRC, but I'd like to delete word UNDER cursor (i.e. to current word left boundary and ...
1
vote
2answers
25 views

ls with directory path shows files, but ls with file pattern does not?

Why is this happening? $ sudo ls /var/lib/postgresql/9.4/pg_log/ postgresql-2015-03-23_134626.log postgresql-2015-03-25_000000.log postgresql-2015-03-25_095920.log postgresql-2015-03-24_000000.log ...
0
votes
1answer
18 views

Get the Group name which has GID=0

I wanted to write a shell script in which it needs to give the group name whose GID=0.I used awk command like this, awk -F ':' {$3==0} /etc/group | cut -d ':' -f1 It works fine in redhat,aix.But ...
0
votes
0answers
23 views

LAN network freezes

I have three Ubuntu computers connected to a router. Everything's OK, both have internet conections running well and can connect via ssh to each other. In one computer, I usually launch a softwared ...
0
votes
3answers
50 views

Linux server is running out of memory and swap

I guess there is some memory leakage and memory is not being freed. Is there some good ways to find out which process and why is leaking memory? The only temporary solution is to restart server. But ...
0
votes
1answer
13 views

Setting Mouse Resolution at Startup

My mouse is way too fast, so I have to slow the Coordinate Transformation Matrix of the mouse down. I can do it manually using xinput, and setting the appropriate prop. However, I run into issues ...
0
votes
0answers
10 views

Apollo message broker integrity check?

We're currently using Apollo message broker 1.6 on Linux and one thing we noticed is that if for any reason the broker service doesn't shutdown properly (machine crash, daemon killed, etc) there's a ...
0
votes
0answers
12 views

Screen not found

I'm working with Debian 7 on Gigabyte Brix. Until now, Debian was installed and screen always not found but the resolution was good. I don't even known how the computer found the best resolution ...
0
votes
2answers
18 views

Why having extra nameserver entries in resolv.conf hinders resolving host name?

I have 6 nameserver entries in resolv.conf. Due to the recent changes in our network I added last 2 recently and did not bother commenting the old ones as I thought that having extra nameservers won't ...
0
votes
0answers
31 views

How to delete a misnamed file on Android? [migrated]

I’ve a file called like t0.t1 t2 t3 on my Android Device. first it had a bad name from download and I tried to rename it. Something has to gone wrong. It was o1.o2 before. I tried to rename it to ...
1
vote
1answer
17 views

Trying openbsd in a chroot

I am running arch linux. I want to try openbsd without overwriting any machines, and without using a virtual machine (I don't want to use X11. The VirtualBox interface is clunky and I would rather be ...
1
vote
1answer
14 views

No audio from google chrome in linux

A reboot seems to fix it, but after logging out (sometimes with the ever-amazing ctrl-alt-backspace, if you can call that logging out) and back in chrome loses audio. The speaker icon on the tab ...
0
votes
0answers
8 views

Cant install ffmpeg in Fedora 19 via yum

Im trying to install ffmpeg to encode videos to html5 playback (mp4, ogg, etc...) i already added the rpmfusion repos. Im using Fedora 19 in Rackspace Cloud Server. this is the output for repolist ...
1
vote
0answers
14 views

Deny access to a specific folder for a sudo user

So here is the case: I am root in an Ubuntu system. I want to give a user (say username is X) permission to execute any command but at the same time I have a folder that I want no one to be able to ...
0
votes
0answers
13 views

Changing my web browser font

I just installed OpenSUSE 13.2 on my system with GNOME Shell. The font that I get is just plain hideous. I'm not talking about the title bar font though. I'm talking about this monstrosity that I see ...
0
votes
1answer
15 views

diff style comparison of directory contents against line by line contents of text file

Unlike many of the file and directory comparison utilities out there, including diff, I've only seen literal file to file (sometime, more than two files) and directory to directory comparisons. I'm ...
0
votes
0answers
15 views

Totem Videos unable to play MOV (Failed to search for plugin)

I'm trying to play file.mov file with Sound & Video -> Videos (3.8.2) on my CentOS 7: $ file file.mov Create Meeting using IS Task room.mov: ISO Media, Apple QuickTime movie $ cat ...
2
votes
0answers
14 views

How can I use a second USB keyboard for special keys under Linux? [on hold]

I'd like to use a second USB keyboard connected to my box running Ubuntu to generate special keystrokes. I'd like to map those in Vim to very specific actions. What combination of hardware / software ...