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

3
votes
4answers
535 views

Why are there binary differences among compressed files generated exactly the same way from the exact same starting file?

I use the "diff" command to compare two compressed files generated using zip on the exact same starting file and they are reported as being different. However, when I uncompress them and use the ...
3
votes
3answers
2k views

WIndows 7 “snap” and “live previews” effects for Linux

I really like the Windows 7 "snap" effect. That is, when you drag a window to either side of the screen, it resizes the window to be half the desktop size. I also like the "live preview" that creates ...
3
votes
6answers
3k views

How can I copy my (Ubuntu 9.04) Linux filesystem to another computer?

I have spent a lot of time configuring my computer: shell scripts, path definitions, video settings, as well as lots of programs. The disk is ext3 formatted. I would like to 1) move everything ...
3
votes
2answers
4k views

Wireless networking issue with Ubuntu

I must say I am really new to the networking stuff and Linux (Ubuntu 8.10). I am unable to connect to my wireless network after running these commands to change the MAC address and run in monitor ...
2
votes
1answer
140 views

How to disable a plugged-in PCI-e graphic card on OS level? [duplicate]

I have a server running for which I want to have a possility to access it with a screen connected to VGA (very rarely, most of the time it's accessed via SSH). Therefore I have a PCI-e graphic cards ...
2
votes
1answer
43 views

Understanding metadata usage behavior in a newly converted btrfs filesystem

I have a 5 TB hard drive with 3.3 TiB (as reported by du) of media files in 119k files and directories; the average file size was about 28 MiB. I converted the ext4 partition into btrfs with ...
2
votes
2answers
1k views

oxps to pdf or image - Linux

I've been trying to solve the problem of converting an .oxps file to .pdf or other file format. Any solutions for Linux out there? I've been searching around and cannot come up with much thus far. ...
2
votes
1answer
59 views

How to get Apache2 to wait for network initialization?

Server just upgraded from Squeeze to Wheezy. After reboots, I noted that apache2 wasn't starting, so installed bootlogd to inspect the output of init scripts. The error output from apache start was, ...
2
votes
1answer
412 views

What does 0.0.0.0 gateway mean in routing table?

I am new to being a Linux system admin and I am learning about routing tables. Currently I have two interfaces in my virtual machine: vagrant@vagrant-ubuntu-trusty-64:~$ ifconfig eth0 Link ...
2
votes
1answer
2k views

Installing firmware with samsung magician dc

I am trying to get Samsung magican DC to work on my linux (linux mint 17 xfce) computer. I downloaded samsung magician dc from here. Then I downloaded the firmware update files from this page (under ...
2
votes
1answer
209 views

Geany comment block format

I'm trying to figure out where the comment block style is defined in Geany for C files. By this I mean when I select a block of text and hit ctrl-e, each line in the block of text is pre-pended (at ...
2
votes
1answer
172 views

Why does Ubuntu mount the wrong partition as root?

I am messing around with a problem of Ubuntu mounting a backup of my root partition residing on a different disk as / instead of the real one. I think the problem has been triggered by a clash of ...
2
votes
1answer
107 views

Is is possible to copy binary data containing a NUL character to the X clipboard?

If I do either of: printf 'a\0b' | xsel printf 'a\0b' | xsel -b printf 'a\0b' | xclip printf 'a\0b' | xclip -selection c and then paste from the corresponding selection (PRIMARY or CLIPBOARD) on ...
2
votes
1answer
3k views

dkms does not find kernel source

For days now I am trying to get ZFS-on-Linux working on Debian 7 but the module doesn't want to compile: # dpkg-reconfigure zfs-dkms ------------------------------ Deleting module version: 0.6.3 ...
2
votes
1answer
38 views

How do I make a virtualised WAN?

I want to create a virtualised WAN. As in, I want to have a couple of VMs (VBox) on one physical host machine, that exist on separate LANs, but that can talk to each other. Do I make the VMs, set them ...
2
votes
1answer
3k views

Apache 2.4 don't follow all symlinks

I'm configuring my local Apache webserver after a fresh Kubuntu 14.04 install. Apache version is 2.4.7. I usually work with files located in a separated partition (/dev/sdb6 here), and create ...
2
votes
1answer
6k views

Changing kernel bootsplash image?

I want to display a custom boot splash image on my Beaglebone Black (running Ångström). I know of three places where images can be dumped to the framebuffer: Bootloader (uboot) - needs display ...
2
votes
1answer
213 views

sed: Removing \r\r before \n in a very large file

I have a corrupted disk image file (about 27 GB) in which before all \n characters \r\r was inserted. I want to remove these \r\r before all \n. I tried with awk: awk '{ sub("\r\r$", ""); print }' ...
2
votes
1answer
1k views

When I reboot going from Linux to Windows, the USB keyboard and mouse don't work

When I'm on Linux and I reboot the machine and choose to boot on Windows 7, the keyboard and mouse are turned off, like they aren't receiving power. After another reboot they work fine (unplugging and ...
2
votes
3answers
3k views

Why does this script fail when run from cron, but works when run manually?

I have a relatively simple bash script that works great when invoked directly, but fails when run by cron. Why does this fail and how can I make it work via cron? #!/bin/bash apt-get update -y ...
2
votes
1answer
87 views

USB storage recognized on linux, not windows, mkfs in which type?

I have a key that have been infected by the famous virus which transform files to shortcut. I ve done USBFix to clean it, and put it on a raspberry pi, I saw files in normal and .lnk form, and erased ...
2
votes
1answer
1k views

How to transparently tunnel a port from IPv4 to a remote IPv6 device?

At home, I am connected with an IPv6 address and additionally, my provider provides a NAT-like setup through which I receive a public IPv4 address that I share with other customers (the reason being ...
2
votes
1answer
76 views

Why does computer hangs everyday?

My Linux computer hangs every day (sometimes twice a day). It also hangs my home network until the Ethernet cable is unplugged or I reset it. I can`t find any severe exceptions in log. This computer ...
2
votes
2answers
312 views

Install postgres without apt-get

I have access to a machine on a scientific hpc, and I'm setting up an environemnt to create a web application, made up basically of TOMCAT and postgresql. I cannot use another web server. The OS is ...
2
votes
5answers
852 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
260 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
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
6k 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
90 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
614 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
238 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
633 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
968 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
640 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
3k 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
815 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
17k 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
2k 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
304 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
647 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
310 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
994 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 ...