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

2
votes
1answer
26 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 ...
20
votes
7answers
3k views

zero fill vs random fill

Many tutorials suggest that i should fill a disk with /dev/urandom instead of /dev/zero if i want it to be unrecoverable. But I don't quite get it, how can a disk still be recoverable after being ...
0
votes
1answer
14 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
1answer
17 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
12 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
2answers
2k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...
0
votes
1answer
3k views

Sed error “sed: -e expression #1, char [#]: extra characters after command”

sed '/\r$/ {N s/\n//}' sed: -e expression #1, char 10: extra characters after command I want to understand what is wrong with my command line. When I can do the some of following in a script ...
0
votes
0answers
6 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", ...
4
votes
1answer
104 views

Compatibility issues between Empathy and GTalk

Are these IM clients compatible with Google Talk in terms of audio and video calls? I am asking this particular question due to problems arose upon initiating a video call from the Empathy client to ...
2
votes
3answers
3k views

Ubuntu: Getting sudo access as guest

I installed Ubuntu Linux 12.04 a little while ago to try it out and play around with it (hence I have no idea what I'm doing). I tried changing my home directory by editing the /etc/passwd file, ...
0
votes
3answers
4k views

How do I add missing dictionaries for aspell?

Aspell version: $ aspell -v @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6) Dump dict yields no results: $ aspell dump dicts First noticed the problem when I did this, was ...
0
votes
1answer
229 views

yum install gcc fails with invalid linux.dropbox.com/fedora directory

I am relatively new to Linux administration. I have installed Centos 6.5 (under VirtualBox on a Win7pro system). When I try to install gcc to the system using yum, I get the following results: ...
0
votes
0answers
8 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 ...
1
vote
2answers
14 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 ...
2
votes
2answers
51 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 ...
1
vote
1answer
2k views

Any sound which is played from Google Chrome is very low pitch

Any sound which is played from Google Chrome is very low pitch, doesn't matter which website or source i.e. video from youtube, music from flash games and etc. However if I open same content in other ...
0
votes
0answers
7 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 ...
0
votes
3answers
46 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
2answers
32 views

Copy ubuntu from one PC to another

I have a very weird scenerio here, I have installed some softwares on my Ubuntu machine, Now I want to move everything (including windows)to another Machine B, notice Machine has no access to Internet ...
2
votes
1answer
33 views

recreating just the uid/gid unix permissions from tar

I was restoring a root partition based on a tar backup from system-rescue-cd. It went ok except the uid/gid mappings on the system-rescue-cd disk did not match the ones on this debian system that I ...
0
votes
1answer
27 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
10 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. ...
0
votes
0answers
33 views

Maintain screen session when executing shell script on boot

Solved: I solved this problem by introducing a delay before executing the script: @reboot sleep 60; /root/start_server.sh On Ubuntu 14.04, I have a crontab entry set to run on reboot: @reboot ...
4
votes
2answers
219 views

Will any (recent) Linux terminal emulator allow me to save my session (tabs, history, etc)?

Over time, I become invested in my terminal sessions: tabs, command history, window layout and title, etc. Eventually, a reboot requires me to start all over again which wastes my time. The two ...
1
vote
1answer
25 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
1answer
19 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 ...
0
votes
1answer
310 views

winexe not working on a local account

I have been trying to get winexe working. I believe winexe is based heavily on samba. For comparisons sake, everything works as expected with a samba file transfer to the host: smbclient ...
1
vote
1answer
18 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 ...
2
votes
2answers
33 views

Can NTP be set to load a time from file in case it can't load from network?

I've looked at the documentation but can't find anything like this. The situation is that I have a BeagleBone Black which does not have a real clock. By default, the computer boots up thinking it's ...
0
votes
1answer
205 views

Executing multiple commands using winexe

./bin/winexe -U <username>%<password> //<ip> "cmd.exe /c net use x: \\\\<ip>\\share /user:<user> <password>" This command works fine, but for me to run another ...
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
3 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
16 views

Telit modems 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: ...
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
13 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 ...
10
votes
7answers
6k views

Sorting human readable file sizes

How can I sort a list using a human-readable file-size sort, numerical sort that takes size identifier (G,M,K) into account? Can I sort "du -sh" output for example? Problem: Consider the problem of ...
0
votes
0answers
15 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
1answer
325 views

screen: Must be connected to a terminal

I am running a Java program, and with the Java program, I run a Python script. The python script (with subprocess.Popen) runs the command screen -x hg1 -X stuff "jsp sign edit status1 2 test line ...
1
vote
1answer
75 views

Viewport based window manager? [on hold]

Currently I use AwesomeWM for a tiling window-manager. I love it. However I am getting a 4k monitor (3840×2160, that's like 4 1080p screens together). I think that with this screen it would make more ...
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
2answers
40 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
2answers
3k views

Unable to execute binary file. Exec format error

I recently heard about Breach, a Node.js based browser. I was following the instructions on http://codeforgeek.com/2014/08/download-install-breach-browser-ubuntu-14-04/ to install it but got the ...
0
votes
0answers
26 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
7 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
1answer
32 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 ...
3
votes
1answer
2k views

Hard drive error - NTFS damaged

I am helping a friend recover data from a computer (lenovo). After what I was told was a hard shutdown, the computer does not get past the system repair screen. (Windows failed to start) Booting off ...
1
vote
0answers
24 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 ...
0
votes
1answer
67 views

Sharing Windows clipboard with i3 in Virtualbox VM

I'm running a Sabayon Linux VM inside of Virtualbox 4.3. I have the guest additions installed, and when I run a desktop environment such as XFCE, I have bidirectional clipboard support (via ...
1
vote
1answer
50 views

need to install Windows Server over the current linux server

My company has rented a dedicated server. Usually the company I have rented from in the past installs a non registered version of Windows. I update it and install our own license. This time, it looks ...
-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 ...