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

1
vote
1answer
78 views

Time Capsule: Restoration Questions

I have had the most difficult time figuring out whether my time capsule flash drive will be able to restore from a Linux partitioned HDD or not. As a high school graduation gift, I received a MacBook ...
1
vote
1answer
5k views

How do I determine if my controller is in IDE or AHCI mode in Linux?

I have an old MacBook Pro 4,1 (early 2008) - but I suspect an answer would apply to many MacBook Pros. It has an Intel IDE/SATA controller (ICH8M/ICH8M-E). I have installed a patched MBR that is ...
1
vote
1answer
2k views

How to discover what is killing a process?

I have a minecraft server running in a VPS and sometimes my server is being killed unexpectedly. I don't believe this is a java error because no error is thrown and this happens when the server is ...
1
vote
1answer
1k views

Ubuntu 13.04: How to keep nautilus' ftp connection alive?

I've installed ubuntu 13.04 today, and I'm having problems with ftp (via nautilus) disconnecting too quickly. On ubuntu 12, I used to prolong it by calling ls ~/.gvfs/ftp* every 20 seconds using a ...
1
vote
1answer
3k views

I can't change permissions in /media folder

On my laptop I have got installed Ubuntu 11.04 and VirtualBox with Ubuntu Server 12.10. I have shared folder in /home/szymon/projekty_www. I can see content of this folder in virtual machine in /media/...
1
vote
2answers
531 views

Copy whole OS (Linux/Windows) to a new HDD

I want to backup my OS (windows 7 & linux) in case of HDD failure. Do I have to image whole partitions (e.g. using dd) or just copy files? I've read that rsync -a / /mnt/backup can do the job. Can ...
1
vote
1answer
320 views

Streaming your Linux desktop to a dynamic image in a browser window for anyone to see

I am trying to share the contents of a web page viewed on one computer and make it available to many computers in a simple to consume format via a browser. I would like to avoid java or other things ...
1
vote
1answer
104 views

Matching html paragraphs with at least one word in all caps

Using regex or anything, I need to match any paragraph which contains at least one all caps word. Then transform it into a header and capitalise all the content of the title. In the example below, ...
1
vote
2answers
616 views

How to open files with forward dash in linux

I need to open a file with filename that contains forward slashes. I am wondering how I can do that. I have been searching through Google and I can't seem to find a way. Thanks
1
vote
1answer
120 views

Backup many files by keeping all old versions

My question is about saving many files from many directories in only one directories by keeping all old versions of the files. I have about 10 directories with very similar files (10 backup ...
1
vote
2answers
2k views

How to get the current monitor resolution or monitor name (LVDS, VGA1, etc)

I would like to get the resolution of the current monitor (the screen from where I run the script) or the name of the screen (LVDS, VGA1, etc). If I can't get the resolution but only the monitor name,...
1
vote
1answer
2k views

How to configure SAPRFC with PHP

I am trying to configuring SAPRFC with PHP but it's fail, I tried from many ways and also referred too many links using google search but not found solution on the same, So if anyone have configured ...
1
vote
1answer
456 views

How to route specific destination using specific interface

On my server i have two interfaces; one is eth0, other is bond0. Unfortunately eth0 is only 100 mbits, opposed to bond0 which is 1000 mbits. eth0 is 10.0.0.21 gw 10.0.0.1 bond0 is 10.0.0.22 gw 10.0....
1
vote
1answer
799 views

Email through php and mail command not sending

I have two servers as to which one is hosting my company's email. The other one hosts a website where i have php scripts that sends mail to my mail server. When ever i send an email i get 550-...
1
vote
1answer
92 views

How to determine full command with args given a pid (or port in use)

I've got this nice bash function for telling me the pid using a port: using_port() { lsof -i:${1} } Output looks like this: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ...
1
vote
1answer
2k views

Software compatible with .GHO, or something to convert the image to another format

I've got a .GHO disk image that needs restoring. Normally we would use BartPE as a Live CD then use Norton Ghost to image the drive. The machine we are working on doesn't respond to BartPE at all, ...
1
vote
2answers
235 views

Confused on the X11 Window system and what do I need to get it to work

So in order to open a graphical interface in linux when doing ssh to a remote server we use the X system. Ok. I have seen in some examples using Putty that there is some configuration on Putty client, ...
1
vote
1answer
127 views

sudo permission issue LoadModule wsgi_module

I'm trying to run this command on Ubuntu: echo "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" > /etc/apache2/mods-available/wsgi.load I get a permission issue, normally this can ...
1
vote
1answer
2k views

Can I make SYSLINUX load a root fs from an image file on an NTFS partition?

SYSLINUX allows me to boot from a FAT16 USB-stick by loading a kernel image and an initial ram-disk (initrd) image from there. To get more space and a faster access, I can mount an NTFS partition ...
1
vote
2answers
156 views

Alert when blocked computer attempts to connect via SSH

I know how to block a certain Ip from connecting to my computer. I blocked the IP by editing the /etc/hosts.deny file. Then added the line ALL : IP. Is there a way for when that IP tries to connect ...
1
vote
1answer
1k views

Lubuntu 13.04: Copying from MTP device (Nexus 4) gives file names with numbers

I'm running Lubuntu 13.04 and the MTP device in question is a Google/LG Nexus 4. My computer is finding the phone with no problem and asks me what to do when I plug it in. I can browse the phone's ...
1
vote
1answer
2k views

cURL SFTP upload speed only 50% compared to command line SFTP

I need to use cURL to upload some files to an SFTP server, it has to be using cURL because I'll be later using cURL_multi etc to transfer files simultaneously (unless anyone knows a command line ...
1
vote
1answer
598 views

Is it possible to read signal strength of USB mouse to detect its proximity in Linux?

Similar to the idea of detecting proximity via Bluetooth signal strength, I was wondering if it is possible to read such information for USB wireless mousein a linux system.
1
vote
1answer
2k views

Fix Overlapping Partitions

Today I went to resize one of my drivers partitions as I am currently switching from Ubuntu to ArchLinux as my main OS. However when I go into Gparted I get the error "Cant have overlapping partitions"...
1
vote
1answer
484 views

Is my top statement saying my asterisk server is using too much resources?

I installed an asterisk server on my VPS with linode. I have 1 GB of ram. I'm not sure what kind of CPU is in use. I decided to test the number of concurrent calls my system can handle. So I used ...
1
vote
1answer
37 views

File last changed time earlier than it was last opened

Why is the file last changed time dated earlier than time shown by the previous date command? $ date Fri May 17 13:41:11 MDT 2013 $ touch other.rst $ ll other.rst -rw-r--r-- 1 ondrej cnls 59261 May ...
1
vote
1answer
488 views

incron on Raspberry Pi

I installed incron on my Raspberry Pi as you would any other package: $ sudo apt-get install incron I went to edit my incrontab... $ incrontab -e user 'pi' is not allowed to use incron I checked ...
1
vote
1answer
746 views

Ubuntu/apt-get: redownload all extra/suggested packages dependencies

I have two computers: one's online and fully updated, the other's offline. I want to download specific .deb files to deploy them on offline computers manually. For instance I want to install ...
1
vote
1answer
1k views

How do I install 'z' file directory jumper on linux?

I'm attempting to install this and running into issues. I am supposed to add a line to the ".bashrc" file? Where in the file? the bottom? the top? somewhere in the if statement? do I make it an alias? ...
1
vote
1answer
2k views

Installing older version of gcc using apt-get

i am trying to install GCC version 3.2 using apt-get. But it complains the following root@chid-VirtualBox:/home/chid/Downloads# apt-get install gcc=3.2 Reading package lists... Done Building ...
1
vote
1answer
2k views

Is there a way to save my workspaces through reset/shutdown?

I have several workspaces that have several terminals open in each one. I need to reboot my system, but I don't want to have to recreate each workspace after reboot. Is there a way to save the state ...
1
vote
2answers
134 views

The right location of src files to compile?

I have several programs I want to download their src files and compile. They are fetched through git, so I can easily pull updates and recompile them. The right location of these files, to my ...
1
vote
3answers
315 views

Keep GUI app running after vncserver shutdown

I am trying to do the following: Connect through SSH to an Amazon EC2 instance Start a VNC server Connect through VNC Start a GUI application and log in Kill the VNC server but keep the GUI ...
1
vote
1answer
1k views

How can I run a copy of my Linode VPS in VMWare Fusion 5 on my Mac?

I’ve just signed up for Linode, and having set up my Linode server (from their Debian 7 image), I’m trying to download a copy of it to run on VMWare Fusion 5 on my Mac. I’ve followed their ...
1
vote
1answer
398 views

Updating Nginx from 1.3.0 to 1.4.1 while using Plesk 11

Is it possible to upgrade the nginx version witch was originally installed with plesk to the newest stable version without bricking the whole web-server? I got the nginx repository and tried to apt-...
1
vote
1answer
3k views

su not working when non-root (authentification failure)

On a VPS I own (hosted at bluevm.com), I have three users: userone, with password foo, and sudo rights. usertwo, with password bar, without sudo rights. root, with now password (deleted with passwd -...
1
vote
2answers
1k views

How do I route a port range in a linux host to a guest VM?

I am trying to redirect a certain port range in a linux host to one of its guest VMs. I would like for this redirection to apply to all the host's interfaces, including localhost. I was able to do: ...
1
vote
1answer
102 views

Linux Command to display only mingetty's info

I am looking for a command that will give only mingetty's information. How can you construct the command to find only mingetty data and find the PPID in Linux?
1
vote
1answer
444 views

Ignore area on touchpad

I recently purchased a Lenovo y500 and installed Debian wheezy 64-bit on it with no issues. The problem I'm having is with the touchpad. In Windows (dual boot) it ignores movements on the lower part ...
1
vote
1answer
2k views

ssh not getting disconnected when tcpkeepalive timeout enabled

I see there are 3 parameters of importance in the ssh_config file : TCPKeepalive ServerAliveInterval ServerAliveCountMax 1) When I try ssh with tcpkeepalive=yes, the ssh conenction does not get ...
1
vote
1answer
397 views

Can't access GPU after doing a suspend

Every time I suspend my laptop, I am unable to do optirun/primusrun because it can't activate the gpu. [ 8597.514526] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 8597.515142] [INFO]...
1
vote
1answer
587 views

How to get latest nginx in Wheezy using apt-get

It seems like the nginx package in debian wheezy apt-get is old and only goes up to 1.2 whereas the latest version is 1.4 Do I really have to build it from source or is there a way to get the latest ...
1
vote
1answer
117 views

Define extra `$PATH` for either Passenger or nginx

I have a server with nginx and Passenger serving a Ruby on Rails app. It uses Bundler. Somewhere in this stack, the $PATH gets set to /var/www/APPNAME/shared/bundle/ruby/1.8/bin/. This directory ...
1
vote
1answer
5k views

iptables rule for loopback interface lo

I want to test some network performance, where I need to use a tcp client to connect to a tcp server program on the same host, so I used localhost(127.0.0.1) however, when the TCP SYN is sent, it get ...
1
vote
1answer
526 views

Make Firefox open an URL or focus the window/tab if already loaded

Is there a way to make Firefox open a new window on a certain URL or raise the tab/window where that URL is already loaded? I would like to call Firefox with firefox --open-or-focus http://example....
1
vote
1answer
204 views

Ivy installation - ivy.jar in /usr/share/ant/lib not working

I'm trying to get Apache Ivy installed and I've downloaded the binary. Following the question here: How to install ant & ivy?, and instructions here: http://ant.apache.org/ivy/history/2.3.0/...
1
vote
1answer
317 views

How to change default directory when adding new attachment in Thunderbird

Let's say I start a new mail, and I add attachment. By default Thunderbird shows Documents sub-directory from my home directory. But this does not suit me and I would like to change this default ...
1
vote
1answer
8k views

Squid3 proxy Cannot write log file

I installed Squid3 on Rasbian, and did some minor configuration. Then I set it up to cache to an auto mounting usb drive. I was looking over the logs and found only TCP_MISS. I was hoping after a ...
1
vote
1answer
483 views

Restrict static IPs (Only DHCP) on Debian Squeeze

How can i restrict access to the Internet for users with static IPs? Can i disable free dhcp leasing? I'm running Debian Squeeze with dnsmasq as dhcp server. All users has their own ip, mapped to mac....
1
vote
1answer
479 views

Connect to Remote Host using ssh in Shell Script

I am trying to connect to a remote host from a local host using SSH and all I want to do using a shell script. I can do it with ssh hostname but the problem is for all hosts finger prints are being ...