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
11 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. ...
0
votes
0answers
12 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 hundres 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 ...
0
votes
0answers
10 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
9 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
23 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
0answers
9 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
29 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
11 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
15 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
8 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
8 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 dc1.mydomaain.local this works fine and updates the host with the ...
0
votes
1answer
50 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
18 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
10 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
7 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
35 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
42 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
15 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
2answers
29 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
13 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
5 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
18 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 ...
0
votes
2answers
13 views

Output redirection at the beginning of line

I'm used to specify output redirection on the end of the line like: echo blah > output.txt Both in Windows and *nix. Recently I'm seeing more and more examples that redirect at the beginning of ...
0
votes
1answer
21 views

About network traffic control

I have a satellite internet connection -> a pretty nice 8 processor server with 64gb of ram, running debian 7.7, two lan ports, one connected to the gateway, the other to the wifi router, wifi to all ...
0
votes
2answers
35 views

Need help on user permission in group

Setup of NFS and NIS server 1. Has NFS folder ack and user ack and find below permission of ack folder including main directory & subdir. (rwxrwx---.) on NFS and NIS server. drwxrwx---. 12 ack ...
0
votes
0answers
17 views

Overwrote startup disk's partition table with gdisk; how to restore?

I installed a new hard drive in my home server today, went to format it in gdisk (larger than 2 GB), set the changes and wrote them. Then I noticed that I had selected the wrong disk, in fact I just ...
1
vote
1answer
14 views

Yum batch install package cause 100% CPU load?

I need to install a list of package as follow; so I made a small script automate it: yum -y install libstdc++.i686 yum -y install libibcm.x86_64 yum -y install librdmacm.x86_64 yum -y install ...
1
vote
1answer
19 views

OpenVPN connections works on LAN but not through WAN

I'm trying to set up a simple OpenVPN server in my home network to safely connect from the outside. The authentification itself works as i am able to connect from LAN. My DDNS lookup and the ...
2
votes
2answers
35 views

Directly connect MacBook to Linux desktop via ethernet for fast SSH?

I am looking at building a Linux desktop—desktop only; no monitor support—and getting a MacBook Pro as my main computer for mobility. I would like—while I am at the office—to basically use my MacBook ...
-3
votes
1answer
19 views

PGP encrypted mails look so awful in the gmail-plain-text-editor

I run Firefox on OpenSUSE 13. 1 I want to send mails to my friend and they are encrypted. But if I use Gmail and switch to plain-text then the mails look so awful to me. (see below) And the ...
0
votes
0answers
5 views

Create and enforce a theme for every GUI app in an OS

Say I want to build a custom desktop environment (in QML) using the QtCompositor APIs. I can create my own components for the QML apps created for this particular environment, but it would be much ...
0
votes
0answers
29 views

Map remote host to local ip (linux)

How can I map remote host to local ip? For example: If I map google.com to ip 192.168.1.15 so when i ping 192.168.1.15 i get forwarded response from google.com Maybe Iptables or something?
0
votes
0answers
14 views

How do I log in to Windows network from Linux live cd? [duplicate]

I like to work on my programming projects at school but my school has Windows 7 on all the machines and so I can't use python, liclipse, linux tools, etc. I can use a live cd to boot into Linux but ...
0
votes
0answers
6 views

geany ide on scientific linux

I installed scientific linux 7. I would like to install Geany. I tried sudo yum install geany (in root) and also rpm but it didn't work. What can I do ? Do you have to install something before using ...
0
votes
0answers
13 views

Problems with understanding how the RRD tool works

In my understanding inside the RRD database file we have a bunch of "records" which can be updated only in the specified second. Here's an example of database with --step 900: 1416483000: -nan -nan ...
1
vote
0answers
20 views

Share optical drive over lan

Is there any way that you can create an optical drive server so that you can share like an audio-cd on a webserver without converting. Situation: School with new Chromebooks.
4
votes
2answers
132 views

How to make a symlinked folder appear as a normal folder

I have two Dart applications I need to dockerize. These two apps use a shared source directory. Because Docker prevents adding files from folders outside the context directory (project/app1) I can't ...
2
votes
1answer
43 views

file not found, but the file is there

running an Ubuntu 14.04 x64, I like to execute an binary file. This one: $ ls -la /opt/android-sdk-linux/tools/emulator -rwxrwxr-x 1 tho tho 35640 Nov 19 14:46 /opt/android-sdk-linux/tools/emulator ...
0
votes
0answers
12 views

Telit modes on newer linux kernels are not recognised

I've Telit HE910 and HE910-v2 modems. After switching from 3.13-rc4 (sunxi branch) to mainline 3.17.2 I've got problems with 910. Before modem was set up properly: Jan 1 03:22:11 localhost kernel: ...