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

2
votes
5answers
926 views

How to access linux disk from windows 7? [duplicate]

I have a computer with Linux installed. And I want to be able to read and write data to its disk from Windows 7. Is there any software or does Windows 7 have any functionality for it built-in? I've ...
2
votes
3answers
2k views

Bash script, string not replaced correctly with escaped $ and & characters

I have created a shell script which takes a string as input. If the string contains $ or &, then I need to replace those characters with \$ and \&. I could done that with sed command. After ...
2
votes
3answers
278 views

sitecopy insists on a ~/.netrc with 600 permissions, but my ~/ is on an NTFS partition

I am desperately trying to get sitecopy to run from my computer, but the stupid thing seems to insist on reading my ~/.netrc file, even if the manpage seems to say otherwise ("If it exists, the ...
2
votes
1answer
9k views

How to forward packets between two interfaces?

My laptop (use's Ubuntu 13.10) is connected to internet using a wired connection at eth0 with ip 192.168.42.13 and it also acts as a wifi hotspot at wlan0 with the ip 192.168.1.1 (i used airbase-ng to ...
2
votes
1answer
2k views

How do I test if my motherboard is failing using Linux?

I've been having strange segfaults happen randomly to firefox, qsynth, and totem. Mainly firefox. I've tested my hard drives with smartctl and dd, and tested my ram with memtest, but how do I test my ...
2
votes
1answer
7k views

How to allow FORWARDing with firewalld on a Fedora 19 router

I've just installed Fedora 19 and I'm using firewalld instead of iptables, but I'm having difficulty interpretting the new terminology. I have 2 NICs. One is specificed ZONE="internal" and the other ...
2
votes
1answer
2k views

Changing netgear router telnet root password

I have a Netgear JNR1010 router but I am not able to change the router's root password. Router Firmware Version is 1.0.0.18 I tried multiple commands in the Busybox console that came up, BusyBox ...
2
votes
2answers
93 views

package manager for use as normal user inside home direcotry

I need a package manager for GNU/Linux (preferably source based) to install packages in my home as unprivileged user on a Debian system (not sure if squeeze or wheezy). What I tried: Compiling it ...
2
votes
1answer
1k views

Bandwidth limit by Port on iptables

What iptables function would I use to bandwidth-limit all traffic on port 566 to 2KB/s? I'm confused about exactly how to do this.
2
votes
2answers
1k views

How do I configure a linux machine to ignore wifi when connected via LAN?

My laptop is set to automatically connect to my campus wifi network, which is desirable under most circumstances. However, in my office, the signal is quite poor, so I rely on a wired connection. ...
2
votes
3answers
629 views

How can this backup strategy work?

I am trying to script a very simple backup strategy. Here is the general idea. Daily - Backup the entire filesystem using rsync, overwriting the previous day's backup. Weekly - Once a week copy the ...
2
votes
1answer
247 views

What happens if dd encounters errors while output of dd is being piped to gzip?

Suppose that dd if=/dev/sda bs=100M | gzip -c > somefile.img.gz is done. If errors occur in dd, do I get to see error messages in terminal, or do they get ignored? Also, suppose that dd ...
2
votes
1answer
641 views

Erase all traces of Windows 8

Just bought a new HP pavilion desktop with Windows 8. I wish to totally remove Windows 8 and all data on the hard drive, remove any windows partitions, delete all data, and then install a fresh ...
2
votes
1answer
999 views

Run ssh/scp without .ssh directory or with alternate dir?

I'm inside chroot, and everytime I scp it keeps telling me: bash-4.2$ scp user@example.com:somefile . Could not create directory '/.ssh'. Host key verification failed. Obviously, I have no means ...
2
votes
2answers
665 views

Why is a failing hard disk slow?

From my currently failing hard drive, I know that I'm erasing it with a write speed of around 300kB/s cause of at least of few bad sectors I'm curious about what exactly causes this slow write speed? ...
2
votes
2answers
4k views

Mounting OSX hard-drive on linux

I believe the motherboard on my macbook died, so I'm trying to recover the information on the disk. I pulled the hard drive from the macbook and plugged it into one of my SATA ports on my Ubuntu ...
2
votes
1answer
2k views

Linux - Gem Error installing PG

I'm getting used to Linux, and currently making a switch to Backtrack 5 to start practicing for school in security. I'm running msfupdate, which installs a bunch of gem files. While installing PG from ...
2
votes
1answer
827 views

How can I use nohup if the shell script taking more time to run?

My shellscripts takes really long time to run, around 30 minutes, but if I leave and go out for lunch I doubt that: 1: will putty session closes if the script is running? 2: if putty session closes ...
2
votes
2answers
2k views

Modifying Windows registry from within Linux

I have a windows dd image that I have locally mounted. I need to apply a series of registry tweaks from a known .reg file, within this Linux environment. I can't seem to find any tool that satisfies ...
2
votes
4answers
18k views

Linux Mint fails to start X automatically after update, but X still works

After some update and reboot, X fails to start. I don't get any errors or warnings from the console, after the last service has started, nothing happens. I can then switch to any terminal I'd like, ...
2
votes
1answer
3k views

How to use ffmpeg to encode a file with possible error?

I have a video file, which contains some error. The file is readable, but possible some blocks are wrong during some disk operation. So while playing the video, a few seconds will no be displayed ...
2
votes
1answer
319 views

xorg: disable touch sensitivity on clickpad button area on Elantech clickpad

Clickpads have mouse buttons integrated. I always lay one finger on the (left) button (to be ready to press ;). The problem with this is, that I prevent myself moving the cursor with my finger if I ...
2
votes
2answers
658 views

Find files > 0 bytes in length that consist only of NUL in Debian/Ubuntu

After fsck'ing an ext4 drive that had been running in a QNAP nas without an fsck for about four years, I now have a number of files that seem but be the correct size (typically 8-12mib), but each byte ...
2
votes
1answer
1k views

Undeletable file in RedHat Linux

There is a file under my home area that I cannot delete. When I do an ls -al on the directory, the permissions are ?--------- and there is a ? for user, group, size and date columns. When I attempt to ...
2
votes
1answer
314 views

Where to put default setting from “/sys” folder in Fedora 18?

I have an SSD main disk and I want to use noop IO scheduler with it, like this: echo noop > /sys/block/sda/queue/scheduler But this setting gets lost after reboot. What is a right place to save ...
2
votes
1answer
2k views

Installing Ubuntu to dual-boot from mSATA

I'm about to recieve a 2012 Dell XPS 15 with 128GB mSATA and 1TB 5400rpm HDD, it should come with Windows 7 Pro 64-bit. I understand that Smart Response Technology (SRT) in the Intel Rapid Storage ...
2
votes
1answer
1k views

Very Slow DSL (ethernet) speed [New Interesting Update]

Very Interesting and Important Update: Due to some reason I just thought to do a complete new setup and this time I decided to again have openSUSE plus Ubuntu. So I first reinstall Lubuntu and then I ...
2
votes
3answers
3k views

Can I have Graphics on Linux without a desktop manager?

I have a more-or-less embedded application in development that uses Linux as its OS. I get to specify the distro we use and had started with Ubunto 12.04. My applications, thankfully, are ...
2
votes
0answers
211 views

Iso_level3_shift key not working in Firefox (Linux)

Under Firefox (Firefox 3.6 and Iceweasel 10.0.9), my Iso_level3_shift key (= "Alt Gr" key) is not working. That means that on my azerty keyboard, I can't press some characters like @, |, and so on, ...
2
votes
1answer
118 views

How to map Control to Escape on “lone” press under Linux?

Is is possible to map Control key to Escape when pressed alone, but to act normally if pressed with other key? According to Steve Losh post, on Mac you can do this using KR4MB, but how about Linux?
2
votes
2answers
3k views

Running Linux commands in the background: ampersand (&) or screen

Running an app in the background can be done by adding ampersand (" &") at the end of the app or via screen (by opening a screen session) if the app needs input now and then. Is there any other ...
2
votes
1answer
2k views

Printing from the command line with LibreOffice, lpr commands?

I'm trying to print a word document from the command line, but I need to specify printing options that I would normally use lpr for. This is the command I'm using libreoffice -p "filename.doc" I ...
2
votes
1answer
636 views

wpa_supplicant for dual WLAN

I've got wlan0 and wlan1. Each interface should connect to a different SSID. I would like to use wpa_supplicant for both. I can put the two networks in /etc/wpa_supplicant.conf, but how do I tell ...
2
votes
1answer
1k views

Can I run a minimalist web-server on my router without rewriting the firmware with DD-WRT?

I read this article on Nezzen.net that says that you can make a web-server on your router providing that you rewrite its firmware with a free DD-WRT, Tomato, or equivalent. Leaving apart the fact ...
2
votes
3answers
516 views

use installed system as virtual system on virtualbox [duplicate]

Possible Duplicate: Create Virtualbox image of a physical partition I have two operating system installed on my PC (dual boot), I use both a lot and sometimes I restart my PC two times to ...
2
votes
1answer
10k views

How can I play games requiring DirectX in linux?

I am an avid gamer, I use Windows & Linux, I would like to play games in my Ubuntu machine which requires DirectX. How can I run the game which requires DirectX in Linux?
2
votes
1answer
435 views

Does schroot allow configuration files in the home directory to be overwritten?

When schroot is configured to mount /home, will packages installed inside the chroot overwrite the configuration files in $HOME? For example, if a newer version of gconf2 is installed inside the ...
2
votes
2answers
10k views

How can I use SSH with a SOCKS 5 proxy?

I don't know much about proxies in general, and especially not SOCKS5 proxies, so sorry if this is a newbie question but I haven't been able to find the answer online or in the man pages. I have a ...
2
votes
1answer
1k views

Can't save data or settings in VirtualBox

I'm new to VirtualBox. Someone helped me set up a Fedora 16 installation on VirtualBox. The problem is that I can't save anything. I first tried setting up LAMP and installed Apache and MySQL from ...
2
votes
2answers
1k views

How do I prevent USB flash drive from getting a new Linux device name after wake from sleep?

I'm booting Linux from a USB flash drive on my laptop. Everything runs fine until I put the laptop to sleep. When it wakes up, suddenly the USB flash drive gets a different device name, and ...
2
votes
3answers
4k views

Difference between ps output and top output?

I find it difficult to understand the output produced by ps and top? This is the output by top: PID PSID USERNAME TID PRI NICE SIZE RES STATE TIME CPU COMMAND 26439 23712 soumyau ...
2
votes
1answer
791 views

Hard drive partition size wrong. How do I resize without loss of data?

$ fsck fsck from util-linux 2.20.1 e2fsck 1.42 (29-Nov-2011) The filesystem size (according to the superblock) is 610471680 blocks The physical size of the device is 536870911 blocks Either the ...
2
votes
4answers
8k views

Copy entire website including PHP and SQL?

Is it possible when copying an entire website and template using wget (httrack or other program) to also get the PHP code and the SQL database? What software would I need to copy/mirror a site like ...
2
votes
4answers
3k views

Windows network share on linux server without samba

I want to mount shared folders from my linux server on the network to appear like normal drives in Windows. The server has a private network on one side and a public network (which happens to give me ...
2
votes
1answer
719 views

Secure alternatives to VPN?

I need a way to access my home network (well, specifically just one server on the network) from anywhere. Usually I would use Himachi (free VPN client, made things very easy) but it has since become ...
2
votes
1answer
3k views

VM on ESXi host - How does one make externally accessible?

I have a home server running ESXi v5.0.0 with a VM guest OS (linux) up and running. I have apache 2.x installed and serving to my machine (i.e I can access the default apache page when going to ...
2
votes
1answer
1k views

NDP entries on linux

Just as we have /proc/net/arp holding ARP entries in Linux, what is the file that holds the Neighbor Discovery Protocol (NDP) entries? I searched for it on the Linux box running IPv6, but to no avail. ...
2
votes
2answers
3k views

How to increase VirtualBox virtual drive actual size?

I have selected "dynamically allocated" mode upon creating virtual drive. I was thinking it will grow automatically up to maximum size. But it constantly has "actual size" of 4Gb and does not growing ...
2
votes
1answer
7k views

How to install Linux on a dynamic disk without losing the disk configuration?

I have Windows 7 installed and a dynamic disk. I want to install Ubuntu but I have the following constraints: I don't want to lose any data. I don't want to lose my current Windows installation. If ...
2
votes
2answers
219 views

How to get enable reiser4 on kernels > 2.6.38? Are there alternative FS like reiser4?

I can't find a patch for reiser4 for kernels newer than 2.6.38. How to access reiser4 on modern kernels? The only workaround I know is to use a thing like mountlo (filesystem running in UML kernel ...