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

-1
votes
1answer
6 views

How to set up mass executable file permission to all my scripts?

PROBLEM I have new servers and copied lot of files with these conditions: lot of files different suffix lost permissions among them there are other files Q how can I set up all and only ...
0
votes
1answer
10 views

find and replace directories in linux

I’m new to Linux and I’ve been searching on how to find and replace directories. Basically I have a path in an .xml file that looks like: /some/directory/path And I want to change that to some ...
0
votes
0answers
3 views

.muttrc and gnome-keyring

I'm trying to use gnome-keyring-query to avoid hard-coding my Gmail password in my .muttrc. According to http://www.df7cb.de/blog/2010/Using_multiple_IMAP_accounts_with_Mutt.html the following lines ...
0
votes
0answers
2 views

Trying to compile ralink (RT5370 chipset) driver; header files failing

I'm trying to compile the driver provided with a Ralink 5370 usb wifi adapter I bought, for Lubuntu 14.4.1 (32bit version). I'm running 3.16.0-24-generic kernel. The header file is giving a type ...
1
vote
1answer
17 views

How to count the number of times a file/directory has been opened?

I'm trying to find the number of times a file has been opened (since the OS inception). I'm thinking of doing this via stat, but most flags only return the difference between the LAST time it was ...
0
votes
0answers
11 views

Bonding/Teaming in centOS 7

I am new to linux. I have been trying to configure either NIC bonding or NIC teaming. I have done it on windows server 2012. I am using centos7 and I haven't been lucky enough to configure it ...
0
votes
0answers
11 views

Complete computer freeze during debian install

I am currently trying to install debian 7.7 on a second hand computer, and I get a complete freeze during the install process, always at the same step - updating mirrors, 38%. Here is what I tried to ...
0
votes
1answer
5 views

How to experience UDP hole punching using Ncat under Linux?

I'd like to see UDP hole punching in action. I tested it under Linux, using Ncat. Here's what I tried: Open port 1234/UDP on host A and port 12345/UDP on host B's firewall (I'm still behind NAT, but ...
0
votes
0answers
2 views

How to backup Oracle database and tomcat directory from Disk with Fedora or other linux live cd?

Some partitions of my disk corrupted (superblock error) and cannot boot, stacked on "Maintenance Mode". How to backup oracle database and tomcat directory on that disk with linux cd ?
0
votes
0answers
5 views

CentOS two sets of kernel packages

On my CentOS 6.2 system the rpm -qa command shows two sets of kernel packages and sources: kernel-2.6.32-220.el6.x86_64 kernel-2.6.32-220.7.1.el6.x86_64 kernel-devel-2.6.32-220.el6.x86_64 ...
0
votes
0answers
7 views

Transparently redirect a file system path somewhere else (without symlink)

It's something Linux users have had to deal with for ages: badly written programs cluttering up your home directory. If they are kind, they'll let you configure that folder, or at least make it ...
0
votes
1answer
11 views

disable users from creating new shell instances

Is there any way I can disable users from creating new shell instances through sudoers file? also disable them to set any environment variables? I would like to write a line in the sudoers file ...
0
votes
2answers
23 views

How to view the calling script on Linux [on hold]

I am trying to write a script to help with computer security. I am trying to look for open ports, find the PID, and find what called it. I have it working, where my output looks something like this: ...
0
votes
1answer
16 views

passwords on upgraded firefox

I was running firefox 22.0 on Fedora 17 and installed firefox 33.1.1. I saved the old firefox so I can switch between. Both show that they are using the same profile. Using 22.0 I can see my ...
0
votes
0answers
9 views

kernel issue with USB [on hold]

I found that many people (google search) who use Unix/Linux have this message popping out from time to time hub 1-1:1.0 over current condition port 5. I have not been able to find the cause of this ...
0
votes
0answers
3 views

How to force udev to link /dev/ttyUSB and not /bus/usb/XXX/YYY?

I have an two arduinos connected to USB, and simple udev rule to make a simlinks: SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTR{serial}=="SERIAL", GROUP="plugdev", ...
0
votes
0answers
7 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
7 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
1answer
27 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
17 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
3 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
23 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
7 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
31 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 ...
4
votes
2answers
967 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
15 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
16 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
9 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
2answers
1 views

Limit VirtualBox guests to one network interface

I have one Linux (Ubuntu) box and inside two Virtualbox guests (guest1 + guest2). The host has two interfaces. (eth0 + eth1) I need to define: Host uses only eth0 Guest1 uses eth1 Guest2 uses eth0 ...
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
20 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
22 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
19 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
11 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
18 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
10 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
15 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
66 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 ...