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
1answer
44 views

I accidentally formatted the wrong volume - is it possible to restore the previous Ext4 filesystem?

I know that a similar question has already been asked. This morning I accidentally formatted the wrong volume, containing mostly video files (about 30GB each). I am currently trying to restore the ...
1
vote
1answer
24 views

uninstall libc6 package by dpkg

I have install "libc6_2.17-0ubuntu5.1_amd64.deb" on my ubuntu server 12.04. The orginal libc6 on system is 2.15. After install the package, I check it by: ldd --version it shows: ldd (Ubuntu ...
1
vote
2answers
27 views

Apache runs locally but can't be accessed from other machine

I'm running Apache 2.2.3 in a VM for a test environment on CentOS 5. Apache is running and responding to requests on the VM itself. If I run "lynx localhost" on the VM I do get my test page. When I ...
2
votes
0answers
41 views

Multiple Windows installers on a USB stick

I've recently got my hands on one of those SanDisk Extreme 64GB sticks and started tinkering with it. During this story, please keep in mind that this is a model where removable bit is set to 0 (which ...
-1
votes
0answers
17 views

Wireless tool deprecation [closed]

wlan0 no private ioctls. I'm getting the above error while using the iwpriv wireless utility. After Googling about the cause I came to know the iwpriv is deprecated. iwpriv command cannot be ...
0
votes
1answer
34 views

how to stop broadcast service in linux

I have a query: in our environment all Linux servers have broadcasting enabled I need to stop the broadcast service in my Linux server. I have tried to stop the service by doing the following: ...
0
votes
0answers
19 views

How to install PHP5.3 instead of PHP5.5 in Linux

I am fairly new to Linux (just getting set up using the Mint 16 distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web ...
0
votes
2answers
23 views

Using a laptop as a wifi adapter for desktop with linux

I have a laptop running Linux Mint 13 with a working wifi card and a desktop with no wifi card running Arch Linux. I temporarily have no access to a Ethernet connection, so I'd like to use my laptop ...
0
votes
0answers
42 views

How do I get USB devices working with BeagleBoard xM and Yocto project Linux?

I've built a minimal Linux for my BeagleBoard xM (Rev C) using the Yocto project build appliance, and installed it on a uSD card following their instructions. It works (Yay!), has a small footprint ...
0
votes
3answers
44 views

Grep for block surrounding an error message

I want to grep for the block of logs around a particular error message. Say I know my log looks like this: [----] I, [2014-04-10T19:12:36.294512 #1910:e93004] INFO -- : Started GET "/ems_infra/new" ...
0
votes
1answer
20 views

Using find and wc -L to find files containing lines longer then 500 characters

I have this command: find . -name "*.php" -exec wc -L '{}' \; And I believe it gives me the count of the longest line for each file. But I'm looking for a way to only print out the count and file ...
0
votes
2answers
26 views

Rsync folders automatization

I've got a folder on the remote server, to which I'm connecting via SSH. When I need to synchronise folders I'm using manually access via scp. (I'm synchronising my folder with the folder on the ...
0
votes
0answers
20 views

linux + Open VPNC Client can service checkpoint vpn or or nortel vpn?

regarding the Site: http://www.oucs.ox.ac.uk/network/vpn/linux-solaris/index.xml?ID=VPNC My question: As we know OPEN VPNC support Cisco VPN's clients But not clearly if VPNC can also support a ...
0
votes
0answers
19 views

Cloning Linux and Windows from two separate disks to a single SSD

Backstory TL;DR: cloned OpenSUSE from /dev/sda2 to /dev/sdc1, Windows 7 from /dev/sdb1 to /dev/sdc2; formatted /dev/sda2 and /dev/sdb1; reconfigured GRUB2 and installed it on /dev/sdc; OpenSUSE loads, ...
0
votes
1answer
30 views

Bash alias with Sed not working

Does anyone know why this alias isn't working? alias tailsed="tailf error.log | sed -e 's/\\n/\n/g' -e 's/\\t/''/g'" I've tried replacing the single quotes with doubles so that it's like: alias ...
2
votes
0answers
28 views

High DPI VMWare

My display is 4k. When I run VMWare, my linux guests look like postage stamps. Sadly, none of them support HDPI scaling (Running LXDE/XFCE mainly). I'm also interested in "Unity Mode", but ...
0
votes
1answer
32 views

unrar all rar files in a directory with linux

I am trying to extract many rar files at once, but with no successful. I am trying in the order: >ls *.rar|xargs unrar x >ls *.rar|xargs unrar e >unrar e -r *.rar >for f in *.rar;do unrar ...
-1
votes
2answers
45 views

How to read a 51gb log file?

Well, it seems something went horrible wrong and now I do have a log file with a size larger than 51gb. Are there any (linux) tools that can read/open files of that size? I want to read the log file. ...
1
vote
0answers
30 views

gcc --as-needed linker flag not working

I have two computers with Gentoo, both on AMD64. I try to build a following program: int main() {tgetent();} The command to compile is: gcc -v 1.c -Wl,--as-needed -lncurses On one computer it ...
-4
votes
0answers
23 views

command for copying files in linux to usb drive?

I want to copy files from linux system to the usb flash drive connected to it. I ma using labcar VMware with linux operating szstem in it. could some one tell me how to copy the files from linux ...
0
votes
0answers
14 views

Unable to access samba file share

Aim Trying to access Samba share from Debian box to all other machines within my LAN. If it's any help, my Samba version is 3.6.6. Problem The Debian box is not showing up anywhere within the ...
0
votes
1answer
15 views

See total download speed on server CentOS

I have a few PHP scripts running every 10 minutes on my server downloading backup files, Is there a way to see the total MB/s download speed the server is currently pulling ? The server is running ...
0
votes
0answers
22 views

Debugging linux kernel, SIGKILL

Trying to debug linux kernel (vmlinux) with gdb during my education, but after I run kernel I just got "program terminated with SIGKILL": gdb vmlinux-3.11.0-12-generic ...GDB header... Reading ...
0
votes
0answers
20 views

“pure-network” install of linux from FreeDOS

I would like to make an install of (Debian) Linux on a laptop I have just received, currently operating freedos. Following the ideas on ...
0
votes
0answers
11 views

Ubuntu GUI slows to a crawl when doing CPU heavy stuff

For a clients site we have an Ant-build that is highly parallelized. The build consists of multiple GWT modules that are all quite heavy and built in parallel. The build takes about 5 minutes or so. ...
1
vote
1answer
16 views

modify and apply limits.conf without reboot

I have added a line in /etc/security/limits.conf to increase the number of open files. * hard nofile 4096 root hard nofile 16384 However when I run ulimit -n it says 1024 which is the default ...
1
vote
1answer
19 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
20 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
17 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
13 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
24 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
40 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) ...
0
votes
1answer
27 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
17 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 ...
0
votes
0answers
23 views

php shell_exec not working in centos

i would like to convert .docx file to .html using php shell_exec my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo ...
1
vote
1answer
13 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
15 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
32 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
11 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
13 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
25 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 ...
0
votes
0answers
9 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 ...
0
votes
1answer
22 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 ...
0
votes
0answers
19 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
11 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
20 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
38 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, ...
0
votes
4answers
52 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
16 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: ...