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
vote
1answer
23 views

Nix based OSes and drivers

I have a simple question about certain drivers and *nix based OSes such as MAC OS X and Debian . . .. Is the reason why some devices like mice, keyboards, wireless adapter are able to plug and play is ...
1
vote
1answer
34 views

How to install packages without interfering existing ones without using yum and without root?

I have this specific problem of setting virtual dev environment without interfering existing system and tool. The question is general. Basically I want to develop some stuff in the company, but we ...
0
votes
0answers
29 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...
0
votes
0answers
62 views

Why does Windows use the same identifier for different ping sessions?

I noticed while debugging some NATing issues at work that Windows (Windows 7 in this case) echo reply and echo responses are always setting the ICMP identifier field to the same value regardless of ...
1
vote
0answers
33 views

How to maintain servers in general [closed]

I'm a programmer working at a tech company. I really want to learn how to properly maintain a small server cluster (say a dozen racks) which we have at work. I consider myself a power linux user, and ...
0
votes
0answers
14 views

Does apt-get have any dependencies in /sbin?

Hypothetically speaking, if one were to a clean install of /sbin, would its contents be recoverable using apt-get? Or does it have dependencies in sbin?
1
vote
0answers
69 views

Adding Authenticator PAM to Linux keyring

The (google) two-factor Authenticator project, which can be used to perform two-factor authentication (with something like the Android Authenticator) includes a PAM (pluggable authentication module) ...
1
vote
1answer
95 views

how to give argument to multiple parameter calling bash

I know the title isn't very clear, but I don't really know how to state my problem. I have a shell, and I want to be able to call it using multiple parameters, some needing argument other not. ...
0
votes
0answers
72 views

Terminal export command, not valid identifier command (android related)

I am following the instructions here: http://gauss.ececs.uc.edu/Courses/c6053/lectures/PDF/environ.pdf On page three, under "Compile the kernel" I am trying to run the following command (with the ...
1
vote
1answer
36 views

Blocked port - no process

Working on a Linux Debian machine. When trying to start Tomcat7 a warning about port 80 being block is thrown. Furthermore, the deployed webapps cannot be accessed (404 error). Tried to figure out ...
0
votes
1answer
41 views

Merging two directory trees with same structure, but different contents in Unix

I have two directories with the following structure: A |_0 |_1 |_2 B |_0 |_1 |_2 each 0,1,2 directory contains unique contents. I want all of the contents to simply exist as: A |_0 |_1 |_2 Is ...
0
votes
0answers
494 views

configure iptables to block all(as much as possible) bittorrent traffic

good day all This is my current iptables setup Generated by iptables-save v1.4.7 on Wed Apr 9 13:50:31 2014 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :LOGDROP - ...
-1
votes
1answer
30 views

Recover PHP file from CentOS?

I've just accidentally overwritten a PHP file on my centOS Server and i don't have a backup of that file, Is there anyway i can recover the old revision of the file some how ? Thanks
1
vote
1answer
34 views

How to use “go get” as non-root?

$ go get github.com/qqq/qqq package github.com/qqq/qqq: mkdir /usr/lib/go/src/pkg/github.com/qqq/: permission denied I don't want to contaminate my system with non-dpkg-managed content, and I don't ...
0
votes
1answer
43 views

How to print process id into statment

I have assigned a work to take take all process and make them into a statement. So I tried this script. #!/bin/bash a= ps | awk '{print $1}' echo select $a So I am getting this output PID 1838 ...
1
vote
2answers
1k views

AjentiV Mail Server Setup

AjentiV recently added support for mail server/ mail forward. I have been trying to get mail working on my domain but I have never set up courier or exim. I was wondering if anyone has instructions on ...
1
vote
1answer
100 views

How to run a bash script in a daily basis on my remote server?

I have code need to be run in daily basis at my ubuntu remote server. How can I set it to go as described? Is there any console too to help me ? And this code should be activated itself as the machine ...
1
vote
0answers
319 views

Amazon Linux add user to group

I am using Amazon Linux AMI image doing development. And I want to add the default user 'ec2-user' into group 'docker' like below: sudo groupadd docker sudo gpasswd -a ec2-user docker When I logged ...
0
votes
1answer
606 views

aireplay-ng command not found

I just downloaded and installed Kali Linux on my MacBook Pro (dual boot) to mess around with penetration testing - I have experience with aircrack-ng, but it was a while ago (and I was at least ...
0
votes
0answers
24 views

Making qemu look better

I have a machine running kubuntu, and use qemu to run a VM. It looks really bad as you can see in the screenshot. What can I do to make it better? I prefer solutions that don't require sudo access, ...
0
votes
1answer
724 views

Hetzner Install CentOS over 2TB HDD?

Wanted to just check here before i open a ticket at Hetzner. I just got a server from hetzner with 2x 3TB. I want to set them up in a RAID0. I've ran the "Installimage" command once in rescue-mode, ...
2
votes
4answers
759 views

Bind IP address to application

I have multiple network interfaces on a single machine. I am wondering how I can bind a network interface to an application. Example: Network Interfaces: eth0, eth1 Application A use dummy0 ...
0
votes
0answers
47 views

linux + bad ELF interpreter when install VPN client

I have Linux red-hat machine - kernel 2.6.32 64 BIT I installed the Cisco VPNC client on my Linux machine according to the instruction in the following site: ...
0
votes
0answers
29 views

linux sensors label naming

I'm having trouble in renaming my temperature sensor labels. chip "adt7461-i2c-0-4c" label temp1 "ambiant" ...
0
votes
1answer
207 views

configuring p4 on red hat enterprise linux

It's time to get rid of this simple but yet not easily explained topic. And whatever I got on internet, in one or other way, failed to sync my WINDOWS depot to RHEL client. Following is the stuff I ...
0
votes
1answer
106 views

CentOS Gnome only showing 1TB on 6TB Server?

I just bought a new server and want to use it to store files, It has 2x 3TB hard drives. I Set them up in raid 0 as i don't need any redundancy. I don't know much about servers and command-lines ive ...
0
votes
1answer
73 views

Entering Password in su- through loop

The Scenario is like I have a list of root passwords. But i don't want to keep trying Manually. So i wrote the shell script : for i in {1..26} do su - >>result done and all my ...
0
votes
1answer
133 views

Email spoofing in Linux (received message with no subject and content)

I'm trying to send email using telnet in terminal of my linux. I have connection with telnet now I have typed the commands below successfully. Unfortunately, I only receive the message with no ...
0
votes
0answers
197 views

How can I compile and install Apache2.4.9 with multiple PHP versions (5.5, PHP5.4)

I have compiled apache2.4.9 and php 5.5 with php5.4 versions php 5.5 version is installed succssfully as apache handler and I tried php5.4 with cgi and enabled LoadModule cgi_module modules/mod_cgi.so ...
1
vote
1answer
382 views

How to add dll-override to wine config from command-line?

I know that I can add dll-overrides from wineconfig GUI: WINEPREFIX="$somedir" winecfg I know that I can temporarily add dll-overrides from command-line by specifying WINEDLLOVERRIDES environment ...
0
votes
0answers
902 views

Configuring a Dell Chromebook to suspend in Ubuntu

I recently acquired a new Dell Chromebook 11, and I'm having issues with the suspend functionality in Ubuntu. More specifically, when I run sudo pm-suspend, the system simply shutsdown. Ubuntu was ...
1
vote
1answer
49 views

How do I identify shell script execution vs dot execution

I'm writing a bash script that needs to run on the current process for it to be useful. That is, I want to make sure that the script was invoked with source script.sh or . ./script.sh and not ...
1
vote
0answers
11 views

Linux-Redhat6 KDE how to start logging in a file

I dragged a sensor with 'Log to a file' option, for logging column it is marked as 'crossed'. How do I start logging ?
0
votes
1answer
55 views

What to do if sound goes to dummy output

I sometimes find that the sound from my Linux G505s running 64bit Linux Mint 15 sometimes goes to Dummy Output as the output device. What should I do when this happens(short of restarting my system)? ...
0
votes
1answer
312 views

Installing NodeJS on A Low-Power ARM Device

I have an ARM device running Linux. It doesn't have any internet connection besides a direct intranet connection to a host computer with internet (I can get files from the network on to it). I would ...
0
votes
0answers
189 views

Kali Linux: Renaming files in bin

I'm just curious. I want to rename files in /bin such as - ls --> als //after I change it, the ls command no longer works and I have to use als instead - adduser --> aadduser - chmod --> achmod so I ...
1
vote
2answers
16 views

Is there a better way to list the file and view the last edited file?

Is there a better way to list the file and view the last edited file? Eg: This is how I normally end up doing, to view the last edited file 1. ls -lrt 2. Copy the last file name using mouse ...
0
votes
0answers
31 views

Groovy performance on Linux machine

I have a problem when I start Groovy on one of my Linux machines - it takes about 30 seconds to execute very simple command: groovy -e "" if I run strace on it, here is what I see where it stops ...
1
vote
1answer
200 views

Ubuntu + CISCO VPNC CLIENT for my new ubuntu version (32 bit )

I have newest Ubuntu Linux version 10.04.4 (32 bit ) I want to install Cisco VPNC client on this linux machines in order to connect to other customers I little confuse , which VPNC cisco version ...
0
votes
2answers
44 views

Traceroute Basics

I'm new at computer networking and trying to understand traceroute by this tutorial: http://community.spiceworks.com/how_to/show/47298-how-traceroute-works These are IP packets with a UDP transport ...
3
votes
2answers
4k views

Ignore all dependencies for a specific package with apt-get

This is a very specific question which google didn't help answering. I'm running Ubuntu 13.04 with apt 0.9.7.7ubuntu4 for amd64 compiled on Oct 3 2013 15:25:56. I want to install Erlang from a .deb ...
0
votes
1answer
33 views

How to use cd to locate a file and then open the file in vim easily in least possible keystrokes?

Very often I find myself in a situation where I would cd into a really deep directory structure to traverse to a file and then would have to open the file in vim.. So while doing cd I constantly keep ...
0
votes
0answers
19 views

Filesystem vs Object Store

Few months ago I created a PHP storage service, that serves as a bridge between our filesystem and web applications via its REST api. File metadata and file path (and "clustering" per storage type) is ...
0
votes
1answer
47 views

RHEL linux version dependant mounting if elif else

I am trying to mount as below, where the mount point is version dependant: 1) Find if any of the below 2 are mounted. 2) Find RHEL version, then mount one of the below mount -o soft ...
0
votes
1answer
68 views

Connect two Guest OS's in VMWare WorkStation 10.0

I have installed Ubuntu 12.04 in VMWare WorkStation 10.0 and I want to connect and ping / ssh the another Ubuntu 12.04 which is installed in the same host OS in VMWare WorkStation 10.0 Is it ...
0
votes
1answer
2k views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
0
votes
1answer
226 views

DNS-SD registration of “printer_queue1” failed with -65548

I'm using Linux [ RHEL 5] , our team manages printing via this server , the printing uses CUPS 1.3.7 . We experienced very reliable printing for more than a year and a half , but since last 2 weeks ...
0
votes
1answer
60 views

How to add code into the linux kernel?

I am studying how to analyse and evaluate the TCP/IP protocol stack of Linux. My goal is to study the performance of the tcp/ip protocol stack as a whole, to study the time cost of each layer and ...
0
votes
0answers
143 views

Virtual ethernet adapter not receiving traffic

I have VPS with one network card and 2 IPs (.88 and .87). I have separate mac for .87 address. I need to setup another (virtual) network interface with this IP and mac. I'm not an admin, so this is ...
1
vote
1answer
62 views

Why does 'cd' not work on an entry with 'directory' attribute?

My OS is fedora 20. I act as a root user. under / directory, I input: #ll ... d????????? ? ? ? ? mnt ... #cd mnt bash: cd: mnt: Not a directory #chmod 777 mnt chmod: cannot access 'mnt': No such ...