Tagged Questions

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
6 views

mount a specific dev device under chroot

I want to use a specific disk under chroot. I know this command: mount -o bind /dev /mnt/chroot/dev This command populates all devices under chroot. But I want to use only few devices under ...
0
votes
0answers
6 views

Share /boot partition between distros

I ran the default install of CEntOS 6.5 on my machine a couple months ago and have since added programs and files which I don't want to get rid of. I'd like to dual boot Ubuntu 14.x and am wondering ...
0
votes
0answers
19 views

swap memory is almost used ,but processes are running fine.Should i be bothered?

free -m on my Linux machine shows that swap memory is almost completely used. However,there is no impact on the system performance. But should i be really bothered? Swap cache also is not used to its ...
0
votes
0answers
13 views

mdadm: Reactivating RAID6 array after improper shutdown

I have a seven-disk RAID6 array on a file server. The server experienced a crash and a hard reset was required, resulting in an improper shutdown. Note that I/O activity was likely occurring on the ...
0
votes
0answers
2 views

kvm+vfio+vga passthrough, got “root.1” not found

I have a 64bit windows VM using KVM. I want to try VGA passthrough. I started my VM with: qemu-system-x86_64\ -monitor stdio\ -enable-kvm -m 2048 -no-fd-bootchk -localtime -M q35\ -bios ...
-1
votes
1answer
22 views

Unable to rm without confirmation on linux

So, I have a folder called Bar in directory Foo, which is a soft symlink to another folder located elsewhere. I am in directory Foo. Now I want to delete the build folder recursively. If I do rm -rf ...
1
vote
0answers
6 views

RAID configurations are resetted after reboot-Ubuntu Server

I have configured software RAID 1 in Ubuntu Server. I have created RAID 1 and now one of the Disk fails so I removed it. I had attached a new disk. Created partitions as same like /sda from fdisk. ...
2
votes
2answers
25 views

Can’t ping between two virtual machines using VirtualBox host-only adapter in OS X

I am trying to run Kali Linux in one VirtualBox, and a De-ICE machine in another VirtualBox on a Mac (OS X 10, if it matters). I want to use the host-only adapter to connect the machines so the Kali ...
2
votes
2answers
525 views

How to password protect a folder on Unix/Linux without encryption?

I've searched a round quite a bit in the past and present for either a builtin feature or program for this, but had no luck. I want to password protect a folder, but do not wish to encrypt it. The ...
0
votes
0answers
2 views

Convention / File Hierarchy for Compiling Source

Background: I have been compiling a lot of source code lately and I am hoping to learn of a convention to organize source code / compiled output. As an example, I have been statically compiling ...
0
votes
0answers
12 views

What could be reasons for a file fitting into a ZFS pool at some point, but not the second time after being removed with rm?

My problem is really as simple as follows: I want to put a file into a ZFS dataset after having deleted it with the rm command (even verified with find /path/to/pool_root -name "*" because the ...
0
votes
0answers
11 views

Tor Not Running on Server Always?

I have a Perl script that uses Tor for scraping certain data. It was working perfectly and then my script started having issues with scraping. After a bit of investigation, I realized that Tor ...
0
votes
1answer
11 views

New window from Gnome search box

On the results from the search box in Gnome 3, you can right click on an icon and choose New Window: Otherwise, if a window already exists, it will focus on that window instead of opening a new ...
1
vote
1answer
15 views

Linux/Bash: Create relative soft links to files in directory tree?

I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir. That could be ...
1
vote
2answers
5 views

Linux/Bash: Create relative soft links to files in directory tree?

I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir. That could be ...
0
votes
0answers
14 views

How to Ban an IP address automatically in ubuntu 12.04 when it sends specific packet to server?

I run a game server and someone is attacking with fake players. I want to ban him automatically in Ubuntu V P S. Any IPtables command or program that can accomplish this task? If it's not possible ...
0
votes
0answers
10 views

How to sync a subset of a directory?

I like to sync two directories on local drives. However, one directoy contains a subset of the files of another one. This forbids me to use classical two way sync tools like 'unison', as they usually ...
0
votes
0answers
19 views

What's wrong with this GRUB setup?

I have two hard disks. The first one contains both Windows and Ubuntu installations, but the first MBR boots to Windows and the second MBR boots, in theory, to Ubuntu. This worked fine until recently. ...
1
vote
1answer
19 views

cpio VS tar - what the best archive solution in order to compress hundred of directories to one file

in my Linux machine under /var/Recording directory. I have hundreds directories and each directory there are also directories and files include hard links and soft link . I want to compress all ...
0
votes
0answers
5 views

make particular service logs to be written in separate file in syslog.conf

One of the service is writting logs by default in /var/log/messages file. I want that service logs to be written other file. Logs in /var/log/messages files are being dislpalyed as below. Nov 20 ...
1
vote
0answers
18 views

Root access permission in normal user directories?

Short story; I run a setup as root to install a program, which will create some files and directories in home folder of a normal user. The error is I don't have write permission to it. So I go to the ...
-1
votes
0answers
12 views

Whois using Tor shows unexpected IP address?

I turn the service Tor on and I use proxychains for my browser. Then I have an IP address, but when executing a "whois" command it doesn't show me the node that Tor is using but some company or ...
0
votes
1answer
30 views

linux: how to troubleshoot forwarded port?

My home internet connection has a static IP address (eg: 123.123.123.123) I have configured my router to forward port 9000 to an internal host (192.168.1.101), which is running Ubuntu 14-04. I run ...
0
votes
1answer
10 views

Can Loquendo voices be used with festival or espeak?

I'm trying different voices, including mbrola ones... but those are so far away from Loquendo's.... Also I've written a bash script to convert all documents to mp3, but anyway I get always the same ...
0
votes
2answers
36 views

Find repeated words in a text

One of most common typos is to repeat the same word twice, as as here. I need an automatic procedure to remove all the repeated words in a text file. This should not be a strange feature for a modern ...
0
votes
1answer
13 views

Strange behavior when sudo -u

I'm trying to set up daily backups of my postgres database. To that end I've created a /home/backups directory, and inside it the /home/backups/postgres directory. The owner of /home/backups/postgres ...
0
votes
0answers
17 views

Fixing Wifi dropout on a raspberry-pi

I am new to raspberry pi, and not very comfortable with linux. I am facing issues with WIFI dropouts and searching led me to this article: ...
0
votes
1answer
10 views

nginx php can't write files on centos machine

I have this PHP code: <?php $myfile = fopen("testfile.txt", "w") ?> And the following permissions in my '/usr/share/nginx/html' directory drwxrwxrwx. 3 root root 4096 Nov 20 08:51 . ...
0
votes
1answer
9 views

gtk 3.14 file chooser: folders first

I just upgraded from fedora20 to fedora21 and now the gtk file picker sorts files and folders together. I much prefer the usual and previous behaviour of displaying folders first (and I enabled that ...
0
votes
0answers
14 views

NTPD not updating time date on CENTOS

I have set up ntpd on CENTOS, I am trying to get it to pull time from a Windows domain contoller if i run the command: ntpdate dc3.mydomaain.local this works fine and updates the host with the ...
0
votes
1answer
61 views

Cracking WPA2 using Intel HD Graphics GPU

I use Linux Kali and yesterday have captured a WPA handshake of my network. I want to crack it's password - but my CPU with aircrack-ng checks only about 2000 keys per second. In my laptop I have got ...
0
votes
1answer
19 views

Shouldn't Android emulator be faster when running on Linux and ARM based PC?

I's a little bit counter intuitive to fully emulate ARM processor and whole operating system when already running inside Linux on ARM.
1
vote
1answer
12 views

Why is the “mail” command's option “-s” not working?

when I use mail root -s "subject" <~/.bashrc it doesn't work. It just prompts me to input the subject as if I used mail root. After I keyed in the content, ended it up with ' .' or Ctrl+D, it ...
0
votes
0answers
9 views

How to Connect to hexchat in linux mint 17?

I have Just installed linux mint 17 on my system. I am operating from behind a http-proxy with authentication. I have manually configured Linux mint to connect via the proxy server and everything else ...
1
vote
1answer
11 views

Block traffic to LAN but allow traffic to Internet (iptables)

On my home network I am setting up a CentOS server that will be used by about a dozen or so for educational purposes - e.g. learn how to use the Linux shell and host websites, among other things. I ...
0
votes
0answers
13 views

Setting up the network for two VMs, one blasts all outgoing traffic to the other

What I Want: I have a Windows VM that I want to route all network traffic from into my Linux VM. The Linux VM is running INetSim, a program that fakes all services for the common open ports. So as ...
2
votes
2answers
36 views

Store command output in variable

If I do z='ls' and then echo $z it will print the directory I listed, but without newlines or formatting. I assume lack of colored formatting is impossible to get around, but would it be possible to ...
0
votes
4answers
43 views

increasing shrink space in windows 7

I am trying to install Linux on a machine that is currently running windows 7 home edition. I want to keep windows 7 and install windows in a partition. So I went to Disk Management, right-clicked ...
0
votes
0answers
18 views

virtualbox pinging from one subnet to another

I'm using virtualbox and I have 3 virtual machines, there's the middle vm which is a Linux Fedora 20 which has two interfaces connecting each to one subnet, the other two vms is one also a Fedora 20 ...
0
votes
0answers
11 views

Approach to providing read-access to logs

We have many servers (Dev, Integration, PT etc.) and there are a lot of tomcats running on each server. Our application is divided into components and each tomcat runs with the name of a specific ...
0
votes
1answer
16 views

Out of Range Check for WLAN Network

Does anyone know of a universal mechanism to check on a client device if it is still within range of a wireless network and can communicate on it? One idea is to ping the gateway, but some networks ...
0
votes
3answers
36 views

How do I upgrade scientific Linux 6.3 to 6.6

Upgrading Scientific Linux 6.3 to 6.6 I have to update machines of SL6.3 to 6.6. I tried #yum list updates and .# yum update It downloaded some files and installed . But my SL is still showing SL6.3 ...
1
vote
0answers
14 views

Docker: is it better to use two small containers or one big one

I am looking at Docker as an architecture for my next project. I want to run a DNS server and a web server. Is it better to put them both in the same container? Or should I create two? Do they ...
-1
votes
0answers
7 views

Linux Selective Deleting of folders against a specific list

In Linux I need a script to delete selective folders and their respective content in a directory, but exclude some folders that I already know the names for. For example, in a directory with folder ...
2
votes
2answers
25 views

Yum doesn't list a package I'd like, now what?

I'm Linux ignorant. We're using CentOS and I have a need to install something called git-up and I understand that package managers are how you install everything onto Linux. CentOS has yum but the ...
0
votes
0answers
21 views

Linux 32 bit CPU + Oracle Limitations

I have 32 bit RedHat 4 server (with hughmem kernel) CPU is 2 x Xeon X5650 (12 total psychical cores, 24 virtual) On the server there is running Oracle 10G (32 bit) database instance. Oracle because ...
0
votes
0answers
5 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
11 views

/sbin/php-fpm works while /bin/php doesn't

Compiled php 5.6.3 on centos with the following ./configure: ./configure \ --with-zlib-dir \ --with-freetype-dir \ --enable-mbstring \ --with-libxml-dir=/usr \ --enable-soap \ --enable-calendar \ ...
0
votes
0answers
6 views

Error when start of the apache2 service: version OPENSSL_1.0.1 not defined

I'm using a Debian Wheezy server where I have installed apache2, php5 and libapache2-mod-php5 packages via apt-get. But when I'm trying to start the apache2 the follow error occurs: service apache2 ...
0
votes
0answers
4 views

How to make an exception in a pam module?

I have 2 servers: A and B. I want A to connect to B via ssh (as a non-root user) to run a sudo command. But sudo on B requires a yubikey input to allow the command: auth required pam_yubico.so ...