Debian GNU/Linux is a widespread Linux distribution focusing on stability, security, and the free software philosophy.

learn more… | top users | synonyms

41
votes
2answers
57k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
112
votes
9answers
431k views

How to install the real Firefox on Debian?

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work. So what is best way to install the "real" Firefox on ...
6
votes
5answers
4k views

Join multiple MP3 files (lossless)

How do you join multiple MP3 files into one? "cat" and "mp3wrap" are no good as they produce non standard MP3 files. I know I can use audacity, but when you have 1000's of MP3 files to join into one,...
3
votes
2answers
1k views

Minimal emacs24 installation on ubuntu

I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
114
votes
8answers
69k views

Reload a Linux user's group assignments without logging out

When assigning a user's secondary group list using: # usermod -G <grouplist> <user> is it possible to force this group assignment to take effect without logging out all running sessions?...
89
votes
5answers
45k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
48
votes
11answers
22k views

What is the relationship between Unix, Linux, Ubuntu, Debian and Android?

What is the relationship between Unix, Linux, Ubuntu, and Debian? I suspect they are all Operating Systems that are based upon one another - similar to how Windows is based on DOS. Is my suspicion ...
18
votes
4answers
26k views

Using multiple USB webcams in Linux

Running more than one USB webcam in Debian/Linux results in the the following error: libv4l2: error turning on stream: No space left on device VIDIOC_STREAMON: No space left on device What ...
4
votes
2answers
18k views

Change the default codepage from latin1 to utf8 on a linux machine

How can I change the default codepage/charset on a linux system from latin1 to utf8? I need to do this on two systems, one is running Ubuntu and the other Debian.
2
votes
2answers
6k views

Can I clone a root file system of a running server via ssh?

I want to make a backup of a running server. Every config files and everything without turning it off. How can I accomplish this? Is it ok to try copying it all? Because I had problems with the root ...
2
votes
1answer
3k views

Unable to resolve hostname to ip

On my Debian server, the hostname is set to "debian." When I tried to ping debian from another Linux machine, it says "ping: cannot resolve debian: Unknown host." When trying to ping to any other ...
4
votes
2answers
9k views

Debian grub2 update removed Windows boot option

Since I updated grub to grub 2 I no longer get the option to boot to Windows (which is unfortunately sometimes necessary for proprietary MSIE browser plugins I need to use for work). Relevant /boot/...
3
votes
3answers
4k views

sudo permission denied

I ran this code: sudo cat <<EOF | sudo sed -e "s,%,$,g" >/etc/init.d/dropbox echo "Hello World" EOF But even though, I get "permission denied", cause you have to be root to make changes ...
46
votes
5answers
102k views

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages.What I'm trying to do is to hand craft the packages I'm going to use on an XO laptop, because compiling packages takes really long time ...
36
votes
2answers
125k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
29
votes
4answers
10k views

How do you find the Ubuntu version (release number / name) from the command line?

How do you find the Ubuntu version (release number / name) from the command line?
21
votes
7answers
54k views

How to install FFmpeg on Debian?

I would like to know how to install FFmpeg on Debian.
50
votes
5answers
17k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
19
votes
5answers
30k views

finding L2 cache size in Linux

I wanted to know how to find L2 cache size in Linux... for L1 cache size, I am doing the following pico /proc/cpuinfo what about L2 cache size?
9
votes
4answers
2k views

How can I display the list of all packages installed on my Debian system?

How can I get the list of all packages installed on my Debian system (I know this one is easy)? And also a list of all packages marked as manual? I am thinking about system upgrade, but I can't ...
8
votes
1answer
44k views

How to adjust the screen resolution in Debian?

I've installed Debian testing from netist image in a AMD Radeon system. I am using Xorg and awesome wm. The default screen resolution is 1024x768 while my screen supports 1366x768. I've tried xrandr ...
10
votes
1answer
6k views

Flash files (.swf) prompts for download instead of opening

I used to be able to drag .swf files into Chromium, and they would play just fine. Recently, that stopped working. Doesn't work in Chromium or Iceweasel. Both browsers instead prompt to download the ....
8
votes
2answers
8k views

How to correctly sync time in linux running as virtual guest after host resumes from hibernation?

I use multiple virtual boxes for development and correct time and date is important for me when I push git commits. I do not shut down my host - it runs for months without restarting. I only hibernate ...
2
votes
3answers
12k views

Automatic root login in Debian 6.0 without GUI (xserver)

Is there any simple and straightforward way in which I can set my Debian 6.0 box to automatically login, at startup, with the root account on the console? There is no GUI (xserver) installed on the ...
8
votes
3answers
6k views

Install dependencies for a dpkg package?

I have a dpkg file that i want to install. But I get error messages that it is depending on other packages. I used: dpkg -i file.dpkg Is there a way to install dependencies automatically without ...
1
vote
2answers
3k views

Running a caching DNS server on my LAN

I have a Raspberry Pi, and I'd like to use it as a DNS server on my LAN. I'd like it to work like the following: The Raspberry Pi is a DNS server, but not a fancy one. When it receives a request, if ...
5
votes
2answers
3k views

Automatically change ownership using WinSCP?

I saw several threads about having issues with unexpected file permissions after file upload. I tried their solutions with no luck, I have to raise the problem in my way. I run Nginx as nobody:...
2
votes
1answer
1k views

Kali linux iwlwifi-7265D.11-12.ucode

Hello everyone, I'm trying to figure out how to fix this without reinstalling the operating system. I know their fixes for this, I have been on many different sites looking at this problem. ...
1
vote
1answer
2k views

In Debian Gnome, windows are maximizing over multiple monitors

This is my screen configuration: +----------------+----------------+ | | | | | | This is X Screen 1 | ...
3
votes
1answer
3k views

Default route in debian with two interfaces

I have a debian machine with two interfaces, configured by dhcp: allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet dhcp On boot, a default route is added to eth1: 0.0.0.0 ...
2
votes
1answer
692 views

Debian Lenny expects udev on a vps that doesn't support it

Primary symptom: /proc/self/fd is there and normally populated, however /dev/fd is not. Process substitution therefore fails, because bash wants to create files under /dev/fd. /dev/.static/ and /dev/...
2
votes
3answers
1k views

Why would a shutdown script NOT run?

I have installed a shutdown script on an Ubuntu system which doesn't get executed. It is an Amazon EC2 instance. I'm not sure it has to do with this fact just wanted to point it out. The script ...
2
votes
1answer
880 views

How should I configure Xen to allow multiple different IP ranges in the domUs?

I'm trying to get Xen running in a setup where the domUs have a completely different IP than the dom0 (not in the same network range). This answer got everything working within the same /24 range, but ...
1
vote
1answer
146 views

Apache and support for per-directory CA

I was using Debian Wheezy with Apache and I configured some paths in SSL to be protected by client certificate. <Location /admin-page> SSLCACertificateFile /etc/apache2/ssl/leos.pem ...
1
vote
1answer
3k views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
0
votes
1answer
58 views

How can I see what changes malware made to a virtual machine?

I want to know if I can open a virtual machine (VMware , Virtual Box ...) and (for example) install windows 7 + some programs (chrome,Word,antivirus....) and then save the current stat (i don't have ...
0
votes
2answers
4k views

Apache2 won't load css files on Debian 6 (Squeeze)

After using nginx for a few months, which worked pretty well, I decided to switch back to Apache. Now, I have just installed apache2, but it seems like it won't load my CSS files. I've been struggling ...
0
votes
0answers
39 views

Debian linux no internet after mac address change

i have tried changing my mac address both manually and with mac changer. When I change it the symbol in the upper right says im connected however the browser never connects. Additionally I have tried ...
137
votes
7answers
55k views

How to tell from what Ubuntu or Debian repository a package comes?

On a Debian-based system, including Ubuntu, how can one tell which repository a package will be downloaded from, without actually beginning the download? aptitude show and apt-cache info will show the ...
192
votes
7answers
163k views

How to list files of a Debian package without install

This command can only list contents of installed packages, dpkg -L PACKAGENAME but how to list contents of a non-installed package, to preview/examine the package?
32
votes
8answers
112k views

How to install Debian from a USB drive?

I've got a shining new x64 laptop running Windows 7 and I want to dual boot Debian stable. I've installed Ubuntu on loads of laptops in the past using a USB drive, but I can't find decent ...
23
votes
7answers
68k views

Unable to install VIrtualbox, `“Specify KERN_DIR=<directory>”` — installing Virtual Box to Debian?

I am getting this error: Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop. Basically I'm doing: $ sudo /etc/init.d/...
26
votes
3answers
6k views

How can I make “ls” show dotfiles first?

Somewhere along the way I screwed up my ls command and now I get this ordering when running $ ls -AhHl --color=auto -rwxr-xr-x 1 clang clang 640 Mar 1 02:46 apple-touch-icon-precomposed.png -rwxr-...
34
votes
1answer
7k views

Anything like the Debian Package Manager for Windows? [closed]

I know that sounds a weird request. But I was installing a bunch of packages in Ubuntu yesterday, using apt-get and I started wondering if anyone had adapted it or produced anything similar for ...
17
votes
2answers
9k views

Make ulimits work with start-stop-daemon

I have an init.d script that starts an app using start-stop-daemon --chuid SOME_SYSTEM_USER. That is, the app runs under a different user, not root. Problem is, the app needs special limit settings (...
13
votes
9answers
31k views

Is there a “restore point” in Linux (Debian/Ubuntu) like Windows?

I'm working directly in an Ubuntu Virtual Machine (VM). Some updates (like kernel) were available at the update manager. If I weren't using a VM, I wouldn't update it since it's a risk to break ...
8
votes
1answer
32k views

Trying to dual boot Windows 8.1 and Debian Jessie

I've been trying for a month now to dual boot Windows 8.1 and Debian Jessie now. I thought it was about time I asked for help as I'm becoming a little crazy. I've tried following a lot of tutorials, ...
15
votes
2answers
68k views

How to disable IPv6 on Debian Wheezy?

I know there's a wiki entry http://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6 that shows how to disable IPv6 in Debian Squeeze, but that's a 2.6.* kernel. What about 3.2.* kernels running ...
12
votes
2answers
10k views

Error while installing virtualbox

I am running debian 7 and trying to install virtualbox using: sudo apt-get install virtualbox and getting this output: Selecting previously unselected package virtualbox. Unpacking virtualbox (...
11
votes
1answer
6k views

changing timezone with dpkg-reconfigure tzdata and debconf-set-selections

I want to set up a script that automatically changes the timezone on a machine (running ubuntu 11.10) and also sets the right values to the debconf database. I've tried the following, but it does not ...