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

libreoffice fail to convert docx file

i am trying to convert docx into html using below command in terminal (putty): /usr/bin/libreoffice --headless -convert-to html --outdir /tmp ...
0
votes
2answers
31 views

phpMyAdmin cannot login - keeps asking for credentials

I have phpmyadmin on my Arch linux box, it is running, so is apache with php and mysql. When I go to http://localhost/phpmyadmin/, it shows the usual login prompt. However, no matter what I enter, ...
0
votes
1answer
22 views

RedHat Linux - ssh shows “connection refused” using one user and also root, but another user can connect

From server Y, user A tries to ssh to server X and gets Connection Refused. From server Y, user B tries to ssh to server X and is allowed through. From server Y, root tries to ssh and gets Connection ...
1
vote
1answer
306 views

Is it possible to run a Windows Visual C++ program in Linux?

I am trying to run this code on PAGE 7. of this document, and successfully ran it on Microsoft Visual Studio 2010 for Windows. The problem is that I need to get this code working on linux. I read up a ...
0
votes
0answers
357 views

CentOS - Software raid - Kernel not booting - initrd?

Centos 5.9 64 bit on Raid 1 using mdadm. We have been trying for almost 2 days now to get this back going and have exhausted the resources and our minds on it, I would be glad if somone would point ...
0
votes
0answers
7 views

“screen is terminating” for non-root

When I try to run screen as a non-root user I get: screen [screen is terminating] immediately, though it works fine for root ls -alh /usr/bin/screen -rwxr-sr-x 1 root screen 465K Jun 9 20:30 ...
0
votes
0answers
5 views

declare -A on RHEL 5

I am using an associative array on my RHEL 6 servers and I just tested the script on a RHEL 5 server and apparently -A is not supported for the declare command on RHEL 5: declare -A var -bash: ...
22
votes
8answers
3k views

Swap partition size on a 64 GB RAM computer for memory-intensive work

I have 64 GB RAM and 240 GB SSD on my computer, which I'm going to use for memory-intensive calculations (machine learning, data mining, etc.). Most of the advice I found on the Internet are ...
0
votes
0answers
8 views

sed, insert file before last line

The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test ...
1
vote
1answer
21 views

Does SFTP put operation have size limit?

I use SFTP to transfer file from local to remote Linux machine. However it fails. I tested it and come to a conclusion that, when transfer file is bigger than testScp.txt1, it fails and the machine ...
0
votes
3answers
248 views

File exists but cannot be executed from another folder

On my Fedora 16 machine, I have an executable file named 'WarpImageMultiTransform', and I can run it when I cd into the folder that contains it: [huangchao@localhost bin]$ ./WarpImageMultiTransform ...
2
votes
2answers
77 views

Cannot delete folder or files inside

I have a rather strange problem. I have encountered a folder with a file in it, that I can neither see or delete. This is, I believe, a rootkit and I am desperate to get it off my machine. I am logged ...
0
votes
1answer
1k views

Why does my debian wheezy linux refuse to execute this ELF file?

I just installed EAGLE on my debian wheezy box, but I cannot start the executable: joe@mybox:/opt/eagle-6.4.0/bin$ ll total 18264 drwxrwxr-x 2 joe joe 4096 Jan 7 17:02 . drwxrwxr-x 10 joe joe ...
0
votes
1answer
210 views

Why is the linux ELF loader called sometimes interpreter?

I have always been wondering, why is Linux ELF "loader" called interpreter? I mean, in standard programming meaning, an interpreter is used to run scripts, but ELF has machine code instructions. So ...
0
votes
1answer
33 views

script test for .NET or regular PE exe

I need to test in a shell script if an exe file is a .NET or regular Windows PE executable (without running it). Use case: associate .exe files with this script in Linux. Launch wine or mono ...
1
vote
2answers
55 views

Closing a (remote) linux command-line interface

If I run code (e.g. an executable) on a Linux command-line interface and then close the interface, what happens? Does the executable keep running in the background? What if it requires user-input? Can ...
0
votes
1answer
14 views

How can I check which ports are in use from the Linux command line?

I'm running a Node.JS application and need to figure out if something is using a certain port. How can I do this from the linux command line?
0
votes
1answer
37 views

Fast splitting of list of files in chunks of the same size (memory)

See title. Assume I have the following list of files and relatives sizes: cat list_of_files.txt: 1243 001.txt 124 002.txt 4132 003.txt 3000 004.txt I want to be able to split into multiple chunks ...
0
votes
1answer
79 views

Way of identifying plaintext file types in bash?

Is there any alternative to the file command that can be used to identify plaintext file types that don't have a magic number? E.g. something I can give a file to that contains JSON and I'll get back ...
2
votes
1answer
98 views

Cannot disable gnome hot corner in Arch

I'm trying to disable the left top hot corner in gnome (Arch Linux) I read a tutorial for this in the arch wiki here. The thing is, i can only find this section: this.actor = new Clutter.Actor({ ...
0
votes
0answers
9 views

Disable GUI on BeagleBone Black running Debian

The Debian image for the BeagleBone Black that they have on their website comes with a GUI by default. I'd like to completely disable the GUI, but in the simplest way possible. It is used as a ...
1
vote
1answer
1k views

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

I'm running Ubuntu 9.04 with a ext3 filesystem. A while ago I was hacking on the flock 2.0 source and I have just tried to delete the source directory, but a single file could not be deleted when ...
1
vote
0answers
17 views

How to get Alfa awus036nha to work with Kali Linux?

Im running Kali linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. Ive also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network ...
3
votes
1answer
411 views

Microphone not working on Apple Macbook Air 1,1 (Early 2008; A1237) under Linux

I'm running Linux on the MBA. I can't make the microphone work. I test using alsamixer and arecord -Dhw -fdat -vv mic.wav together with aplay -Dhw -vv mic.wav It seems there is a problem with Linux ...
0
votes
2answers
609 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 ...
1
vote
1answer
129 views

On Windows, why can't you overwrite the executable of a running application?

On linux systems, this causes no problems at all: the exe is loaded into ram when it is launched. The file can then disappear, be moved, etc. with no interaction whatsoever. This doesn't seem to be ...
1
vote
2answers
1k views

How to chmod +x a file in Windows, for use in Linux?

I have a file that needs to be executable in Linux, which I'd do by using chmod +x when using Linux. My problem is: this file is compiled in Windows, and it's a pain to have to open my Ubuntu VM to ...
0
votes
1answer
168 views

How to use easy_install on linux terminal?

I am installing py2exe using easy_install. here is what I typed: easy_install py2exe I am using linux mint cinnamon 15. This is what I get, though: [Errno 13] Permission denied: ...
2
votes
2answers
133 views

Is there a tool like `script` (Linux/Solaris/etc) for Windows?

Perhaps the worst-named tool in the *nix world, script is extremely handy when you want to capture all the output of a terminal session. Is there a tool like it for Windows? Specifically, without ...
21
votes
2answers
864 views

How to create a directory named '-p' under Linux with Bash? [duplicate]

In Bash, how could I create a directory named -p? mkdir -p failed. mkdir "-p" failed. mkdir "\-p" failed. mkdir \-p failed.
0
votes
0answers
4 views

iptables configuration on Windows Azure (CentOS 6.5) for endpoint load-balanced set

I created 2 VMs (CentOS6.5) on Windows Azure for Postgresql database and HA cluster, everything works fine except when I set iptables service on, the endpoint load-balanced set is down. for security ...
0
votes
0answers
8 views

partitioning and subvol strategy with btrfs

I'm new to btrfs and I'd like some advice on partitioning and subvolume strategy. The system is a light-duty web server, and assume it only has a single disk. With ext filesystems, I've always ...
0
votes
0answers
6 views

Dynamic/Static striping across BTRFS raid groups

I'm looking to set up a new storage server and would like to use BTRFS to protect against bit rot. Ideally, I would like a setup as a theoretical (btrfs) raid6 (both data and metadata) for every group ...
1
vote
2answers
2k views

rsync fails after server restart

Usually I use the command rsync -av --delete someroot/somedir user@remote_server_ip:/someroot/. on my development server to synchronize somedir to a remote server. It worked fine. But after the ...
2
votes
1answer
9k views

How can I mount a single RAID 1 disk/partition as ext3?

I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD. Background: The HD comes from ...
0
votes
0answers
11 views

Debian ARM and Brother DCP195C with CUPS

I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. ...
1
vote
1answer
22 views

Create folders alphabetically

How can I create every folder (A-Z) in Alphabet with the help of a shell script in Linux? I want to have the following folder structure (for illustration): /mnt/ext_hdd/A /mnt/ext_hdd/B ...
0
votes
0answers
18 views

Unable to start bash script with shell_exec

I've been googling and trying to solve this problem with my php script for a few days now and I'm hoping someone here can see the problem I'm missing in getting my php script to kick off my bash ...
-1
votes
0answers
13 views

Linux healthy number of major page faults

I have a Solr process which has mapped 100 GB into virtual memory. When I run a load test on the query side, I read from /proc/<pid>/stat that the process has between 200 and 500 page faults per ...
1
vote
0answers
1k views

Embeded Linux device fails to get DHCP

I'm trying to get an embedded Linux device to use DHCP to get it's IP. I think it is trying, this is from the boot output: Configuring network interfaces: cat: can't open '/var/run/udhcpc.eth0.pid': ...
2
votes
2answers
872 views

How to use Syslinux to chainload Ubuntu installation?

I try my best to detail my question. If it would run out of your patience, go to lastest paragraph. I downloaded Ubuntu 13.04 from its official site and extracted files to a folder ubuntu\ on USB ...
0
votes
1answer
24 views

How can I be sure that I've plugged a device into a USB 3 port?

I have a number of USB ports on my computer, some USB 2 and some USB 3. I want to plug a device into a USB 3 port. Unfortunately, they're all black so I can't use the usual "USB 3.0 ports are blue" ...
5
votes
1answer
7k views

Bash command to cut output after x number of lines

I'm looking for a bash command, which I can use to limit the number of lines of a file or another command output. E.g. ls -thor | limit 10 would limit the output of the ls command to 10 lines (in ...
0
votes
1answer
13 views

Setting include paths in LSF-bsub

I am running a big job on a HPC. But the installed programs for the job are old versions and I have the new versions in my home directory. I can log in to any node, export the path to the new versions ...
1
vote
1answer
424 views

Installing Gnome 3.12 from stable repository for OpenSUSE 13.1

I installed (upgrading) Gnome 3.12 from a stable repository for OpenSUSE 13.1, I follow this: sudo zypper ar http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/ GNOME sudo ...
0
votes
1answer
25 views

Can I set Tx power too high?

I have a high power WiFi card (AWUS036NH) which is capable of tx powers as high as 33 dB. Recently I've, ehm, accidentally, changed the corresponding regulatory domain to allow up to 40 dB. Now ...
0
votes
0answers
10 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
1
vote
0answers
56 views

How to view a linux file?

I am attempting to view a file that has the following permissions -rw-r-xr--. 1 sjc25 domain users 1177 Apr 10 10:12 d_V_g_dt.f However, when I attempt to view the file using: more d_V_g_dt.f, I ...
0
votes
0answers
20 views

ssh works on IP get “ssh_exchange_identification: Connection closed by remote host” on FQDN

I have a new raspberry pi box running at my home. I decided that I will use it to access it by ssh from the web. I setup the NAT in the Router and everything else, from my Mac Book within the internal ...
0
votes
0answers
11 views

Trouble installing Burrows-Wheeler Aligner (Linux)

Please bear with me, I'm just getting into using both virtual machines and linux. I'm having trouble installing BWA (link) on my linux virtual machine. I've tried several methods, the most complete ...