A family of Unix-like 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
6k views

Permission denied using Rsync as root

All topics that I've come across involved rsync over ssh or rsync using a user with restricted access. I'm getting permission denied (13) errors as root. Here are my config files: /etc/rsyncd.conf: ...
1
vote
1answer
42 views

Why doesn't stdin from a file work in case of scp?

I'm trying to input a password to scp automatically from a file called passwd with a command scp folder/ user@server.com:./ < passwd but it's not working. I know we can use password-less SSH as ...
4
votes
1answer
5k views

How to easily break up a text file into pieces smaller than a threshold?

I have some text files that are 100 to 300 MB in length that I want to view in Emacs, but my Emacs gets into some performance issues opening and traversing such large files. Therefore, I'm looking ...
2
votes
1answer
241 views

copying a file to a hard link

I recently got bit by a misbehaving in a bash script of mine and was wondering: is this the expected system behavior, or is it a bug what are the ideal workarounds Essentially, the problem boiled ...
0
votes
0answers
778 views

sendmail does not send mail on Amazon Linux server

I am managing several servers at Amazon EC2, and one of them is not sending mail at all, strangely. All of them were set up using default Amazon Linux 64bit. The mail agent is default sendmail, and "...
1
vote
2answers
192 views

two network configurations in Linux?

I have two Ubuntu Desktop boxes that use a wireless interface to connect to a Wifi network I have no control of i.e. DNS, protocols, authentication etc. Now I would like to have a direct cable ...
0
votes
1answer
659 views

Raspbmc Truecrypt mpount volume: Failure to communicate with kernel device-mapper

I am trying to mount a 3TB external Volume with Truecrypt on my Raspberry Pi (Raspbmc). I had the same Problem with raspbian running on the Raspberry Pi and dont know how to solve it. I found many ...
0
votes
0answers
501 views

CentOS box does not have internet connection, eth0 active and no errors

I am having an impossible time figuring out why my new CentOS box is not getting internet connectivity. Strangely enough, it used to work fine and I did not change any of the configuration on my end ...
0
votes
0answers
117 views

Create FTP account under standard user

I run multiple client websites on a VPS purchased from Dreamhost. When I initially set up this VPS, I only required one user. I created a user called "thoughtspace" with the home directory at /home/...
-3
votes
1answer
1k views

Install Centos on PC using only USB with LiveCD

My laptop cd isn't working. I have a USB which has Linux Live on it. Am I able to use this to install a fresh copy of Centos on the laptop? If so, how?
0
votes
0answers
1k views

ClipBucket file for preset 'normal' not found, failed to stat file in ffmpeg

I am trying to fix my ffmpeg problems. When I upload any video it gives me an error that the file for preset 'normal' was not found, and it failed to stat the file. Any idea? Started on 2013-09-10 20:...
0
votes
1answer
747 views

'zoom out' on linux/VNC viewer

Until recently I have used vnc viewer to scale my desktop down. I would start my server with a huge desktop size, then set my viewer to fit to scale. This effectively shrunk not just the text but ...
1
vote
1answer
228 views

Stuck in a while-loop in GNU/SU (seismic unix)

I'm new to programming. I have this loop (it's part of a data processing script) and I have it all good until this section cause I can't figure out why it stay looping in the second 'while' Take a ...
3
votes
1answer
2k views

apt-offline on Windows

Following this tutorial, I don't know how to reproduce step 2 on a windows machine: apt-offline get C:\apt-offline.sig --threads 5 How do I install apt-offline on a Windows machine so I can run ...
0
votes
2answers
1k views

How to install .exe on ubuntu 12.04

I am a complete noob at Linux so the simplest answer is the best answer! I need to use Galfit on my laptop. I made a virtual machine (ubuntu 12.04 on vmware player) so I could test if it works ...
0
votes
4answers
375 views

Dual Boot At the Same Time

Assume I have a Linux host, with Windows-7 installed in a partition on the same drive. Is it possible to boot into Linux, save its state to memory (Hibernate, essentially) then boot up Windows right ...
2
votes
1answer
1k views

ps and top give different CPU usage

I've seen a few posts similar to this, most notably here, but wasn't quite satisfied with the answers. I'm comparing top and ps results on a specific process and see huge discrepancies in CPU usage. ...
2
votes
1answer
514 views

Recursively delete all .exe files with the same name as the containing folder

I want to delete all .exe files in the current folder and all the sub-folders. I read that find . -name "*.exe" -exec rm -f '{}' \; will do, but I want to do the delete only if the container folder ...
3
votes
2answers
2k views

ls command different output in shell script

I have a strange behavior on my linux box and i want your advice. I want to capture the output of this command ls -log /some/directory Running command from command line the result is OK: -rw-r--r-...
0
votes
0answers
144 views

Openbox: run program and exit when it closes

I need a way to open a program in its standalone X server (for the RaspberryPi)... Sadly I can't use startx directly with my app as a client because it has some weirdness... startx /path/to/my/app ...
0
votes
0answers
330 views

postfix on Linux won't restart after kill postfix-process

Briefly: I had a problem with postfix. That is why I killed the process. Problem now is that I can not start it again. How can I solve this? And what additional information do you need? Output from ...
0
votes
1answer
3k views

How do I debug Bind9 DNS server configuration? It is not sending requests to forwarders

I have got DNS Bind9 server installed on my VirtualBox Debian host. Another host from the same network has the nameserver address set as IP_OF_MACHINE_WITH_BIND. This was working ok for some time. ...
-1
votes
4answers
861 views

how much does “chown -R” affects disk IO performance? how can I test it?

I'm running a Cent OS server with a NAS storage. I have heard "rm" command makes overall disk IO slow. So, I gave up doing rm -R. I will do rm one by one with a shell script. --EDIT--> rm and sleep 0....
5
votes
2answers
2k views

What is the best way to make a flash drive with many bootable things

I want to make a flash drive with lots of bootable things on it, a toolkit of sorts. The list of things that I want to boot on it so far it Hirens Boot Disk Backtrack Linux Knoppix STD Ophcrack XP ...
4
votes
1answer
1k views

Seting up IPTables to forward multiple GoPro cameras

I have an interesting problem that involves multiple GoPro cameras. Basically, I need to have the ability to communicate with multiple GoPro cameras via a single network. The challenge is that the ...
3
votes
1answer
197 views

Setting the $SHELL environment variable

For some reason, when I run chsh -s /bin/zsh, my $SHELL environment variable isn't getting set. When I run: echo $SHELL It outputs: /bin/bash
1
vote
1answer
4k views

Can I git clone into a directory without cloning the project name as a directory (using bitbucket)?

I'm a small business and for the most part only use git locally to track history then SFTP the files to the remote server. I now have a much larger more complicated build that to be set up properly ...
4
votes
1answer
328 views

Kernel recognition of changed USB state, but lacking correct higher level USB status feedback

$ dmesg | grep usb ... shows status change in USB on plug / unplug $ lsusb -v lists the USB as a 'hub' $ usb-devices doesn't give me the desired output of: T: Bus=02 Lev=02 Prnt=02 Port=00 ...
0
votes
0answers
469 views

Running Linux Mint on an X60 tablet, black screen after boot

I'm trying to run a Linux Mint 15 on my Thinkpad x60 tablet. I do have what seem to be serious problems with my graphics driver though: After booting, the screen just stays black. The backlight is ...
0
votes
1answer
182 views

pendrive recovery that damaged while installing linux [duplicate]

I tried to intall linux mint in my hp v165w pendrive.After I partition the device,I clicked on the "next" to install linux.in progress bar after 80% completion the progress stops and cancelled.after ...
4
votes
1answer
384 views

How can I remove all files from a directory that have a certain filename length?

I have a tmp directory full of various files that a program has created and not cleaned up properly. Each of these files has a filename that's simply 6 random characters. In addition to these, there ...
2
votes
3answers
2k views

Why am I getting “Permission Denied” when running ssh-add?

I've generated keys and had them approved for access with my corporate IT team. However, I need to add them to my terminal every time I start my machine (the script i've been given to get around this ...
1
vote
1answer
3k views

Performance loss when using WINE? Can windows > Ubuntu really account for it? [closed]

I have been considering a switch to ubuntu and also running a LAMP(Small PHP deployments, mainly for learning purposes) stack over it. Though it is my own personal PC, and i'd also want to run my ...
0
votes
1answer
1k views

Execute a jar with double click in linux

What I'm trying to achieve is to run a java program on any Linux system (Ubuntu, Fedora, etc... covering as much as possible) by simply double clicking a file-like I would on Windows. I have created a ...
4
votes
2answers
211 views

Is it possible to highlight the non-breakable space in zsh / terminal?

I’m looking for possibility to somehow highlight the non-breakable space (\xA0) in the shell output to distinguish it from the normal space during debug sessions. E. g., I would like to see the output ...
7
votes
2answers
1k views

Does Linux support self-Encrypted Disk API?

In this article it is shown how easy it is to bypass BIOS ATA passphrases, and it ends with that using the disks self-Encryption Disk (SED) API from within the OS would not give a performance hit. On ...
1
vote
2answers
187 views

How can I offer an XP-compatible migration to Linux Mint?

I looked at some friends' computer and winced; they're running XP, and the system is running slowly, and their SuperAntiSpyware pulled multiple malware threats (big surprise). But they are using ...
3
votes
1answer
308 views

why setting acl for a user changes group perms in ls output?

I'm trying to figure out why the output of ls command has changed. I mean group permissions for a file. I've created a file named "file" and changed its owner&group: [root@training group3]# ...
1
vote
0answers
660 views

Sending number over serial to arduino sending something different?

I have an arduino setup that turns on a light when it receives a 1, and turns off a light when it receives a 0. I don't think there is anything wrong with the code. I can send the Arduino a 1 with ...
7
votes
3answers
11k views

Harddrive - wipe out “hidden areas” like HPA and DCO also after malware infection

Background - Malware in windows (yes), possibly rootkit/bootkit. Don't want to take any chances. So, wiped drive with DBAN foolishly (PRNG, 8 pass). Later came to know that DBAN does not kill HPA (...
2
votes
1answer
110 views

Chrome crawls on Linux whereas Firefox is light as a feather

In day to day browsing i find Chrome to consume x2 memory, has memory leaks with some sites (NYT, some ebay pages, with or without flash) whereas on Firefox is light as a feather. I'm a converted ...
1
vote
1answer
400 views

Route between two machines on the same network (but different IP ranges)

This is the network topology I'm working with: .______. | | |Modem | 10.0.0.1 |______| | | .______. | `----------------| | | |Box A | ...
0
votes
0answers
1k views

“BOOTMGR is missing” while trying to boot off usb

everyone. here's the problem: I made a bootable USB stick to boot Linux mint using Unetbootin. When I tried to boot off it, though, the following message came: BOOTMGR is missing. press CTRL-ALT-...
1
vote
1answer
1k views

How can a partition be full if du does not show it is?

On one of my systems, the root partition is full: snip:˜ # df -h Filesystem Size Used Avail Use% Mounted on rootfs 11G 9.3G 0 100% / devtmpfs 744M 36K 744M 1% /dev ...
1
vote
0answers
338 views

Apache Webserver (2.4.x) running on Fedora in Home Server not accessible

I have Apache-2.4.x running on a GNU/Linux system (Fedora, DHCP, IP Address: 192.168.1.5). I'm able to access the index.html page by all three methods mentioned below: http://localhost.localdomain ...
3
votes
2answers
9k views

View all files in a website's directory?

Is it possible to list all files and directories in a given website directory from the Linux shell? Something similar to: ls -l some_directory but instead of some_directory, it would be ls -l http:...
1
vote
1answer
616 views

RAID 5 degraded performance

I'm currently rebuilding my fileserver, but because of SATA port limitations, I can only use 5 disks at a time. I've remove a drive from my original RAID, so I've been able to create a new degraded ...
2
votes
1answer
639 views

Running commands and shell scripts in Ubuntu

I'm trying to run a shell script in Ubuntu to flash my Firefox OS phone. I've downloaded and unzipped the new version. I've launched the shell and navigated to the directory where the .sh file is. ...
0
votes
0answers
167 views

Installing Android ADT on Eclipse fails due to missing requirements

I want to install Android ADT on Eclipse. After installing, I get an error and it says that this progress could not be completed. My OS is Ubuntu. Cannot complete the install because one or more ...
1
vote
1answer
55 views

Select set variable value in SSH session

I'm writing a shell script. It will run from machine A, which will SSH into machine B and prompt the user to select a build folder. It'll then copy it to machine A, but I don't know how I can have the ...