Ubuntu is a free open source operating system based on the Debian GNU/Linux distribution. Consider using http://askubuntu.com/ to ask questions about it.

learn more… | top users | synonyms

13
votes
1answer
737 views

What does installation script do in apt-get install?

It seems apt-get install will download a Debian package and try to run installation script for: Create proper directory Create proper account Copy Binary files Copy Data files Copy Conf files Copy ...
13
votes
2answers
25k views

How to get source with apt-get source in Ubuntu?

I need to install pure-ftpd from source and need to do apt-get source pure-ftpd but I get this message: E: You must put some 'source' URIs in your sources.list I found some documentation about this ...
13
votes
3answers
8k views

Check number of pending security updates in Ubuntu

Let me start by saying I have been forbidden to enable automatic updates on our Ubuntu servers, for both security and regular packages. When I log into any of my four Ubuntu servers, the welcome ...
13
votes
1answer
40k views

How can I create an SSH user who only has permission to access specific folders in Ubuntu?

I installed SSH, but I found if I use my original account to login to Ubuntu, it has too many permissions. I want to constrain the user to only have permissions for specific folders in Ubuntu. How ...
13
votes
4answers
21k views

When would you use apt-get remove over apt-get autoremove?

I understand that apt-get remove removes packages and apt-get autoremove is to remove any packages that were installed to fulfil a dependency for a given package. So for example if I installed ...
13
votes
2answers
13k views

Linux - Set default terminal size and screen position?

I can't find any settings inside the terminal profile to allow me to set a geometry size and screen x,y coordinates so that the terminal window always opens (even after reboot) in the same location on ...
13
votes
3answers
27k views

Upgrade Ubuntu from 32 to 64 bit edition

Is there a way to upgrade my 32-bit version of Ubuntu to 64-bit version? I use Ubuntu 9.10. If there is no simple way, what if I simply copy my home and /etc directories to new installation, will it ...
13
votes
2answers
7k views

Running Ubuntu with multiple monitors having a panel each

I have just installed Ubuntu and I'm trying to set up a correct configuration for having multiple monitors. I want the two monitors to have their own workspaces, yet the ability to drag a window from ...
13
votes
3answers
8k views

Ubuntu - How to automount an external drive at a preconfigured mount point?

Normally, when I attach an external USB drive to my Ubuntu system, the filesystem on it are automounted to /media/label. However, I'd like the filesystem to be mounted at a mount point of my choosing. ...
13
votes
1answer
15k views

What is the difference between xterm and terminal in Ubuntu?

What's the difference between Terminal in Ubuntu desktop (Applications>Accessories>Terminal) and xterm? They look very similar.
12
votes
3answers
2k views

How to access the terminal in Ubuntu GUI without a mouse

I have an embedded Ubuntu 12.04 system running with no monitor and I need to run a command in the terminal. I can connect a USB keyboard (or even a mouse, but a mouse would be difficult to use without ...
12
votes
5answers
65k views

How to remove the Ubuntu Gnome desktop after making the switch to KDE?

This is the opposite of this question. Basically I've been using Ubuntu for a while but decided to give KDE a shot so I went through the process of getting the latest KDE installed. I'm very ...
12
votes
3answers
8k views

Is it possible to alias a username on Linux?

I'm not sure if this has a practical application at all (aside from the fact that I am lazy. you know "christopher" has 11 characters, and I want to type 1), but is it possible to alias a username on ...
12
votes
1answer
31k views

How can I filter out unique results from grep output?

In linux, I can grep a string from a file using grep mySearchString myFile.txt. How can I only get the result which are unique?
12
votes
3answers
2k views

Bash completion makes bash start slowly

Starting a bash on my ubuntu system takes about 2 seconds. If I remove loading /etc/bash_completition in .bashrc it starts without delay. Of course I don't want to give up completition and I don't ...
12
votes
1answer
21k views

How to list printer names acceptable for use with lpr?

The lpr man page says a destination printer can be specified with the -P flag. -P destination[/instance] Prints files to the named printer. I have 'added' various printers on local Samba shares ...
12
votes
5answers
5k views

Command line PDF reader

Is there a command line program for linux that will let me read the text of PDFs? I'll willing to live with a lack of pictures.
12
votes
3answers
549 views

Ubuntu: What are they doing to the vanilla sources?

Correct me if I am wrong As far as I know distros like Debian/Ubuntu/Fedora usually modify the vanilla source code before creating a package. What's the reason behind these changes? Is there a ...
12
votes
3answers
14k views

Is my install 32 or 64bit?

I'm trying to find out if my Ubuntu install is 32 or 64bit. The best I can find is "i686" does this mean its 32 bit? Whats the correct way of finding out if the Ubuntu installed on my laptop is 32 ...
12
votes
4answers
9k views

Ubuntu Server installed from USB puts GRUB on the USB drive instead of the hard disk

I've just tried installing Ubuntu Server onto my new PC. The PC doesn't have a CD ROM drive, just USB, so I used a USB installation of Ubuntu Server. When I install it, it allocates dev/sda as being ...
12
votes
2answers
34k views

Starting Ubuntu without the GUI

I want to boot a "Ubuntu 10.04.2 LTS" server, but I want XFCE not to be started, nor X at all, only Shell. How do I tell my server to boot to the shell, not running XFCE at all? I have an SSH ...
12
votes
4answers
15k views

Producing a specific ASCII character in Ubuntu

I'm used to holding the left Alt and entering the ASCII character whenever I'm using an unknown keyboard configuration and want to type a special character. For example, Alt + 0 + 9 + 2 makes a ...
12
votes
3answers
9k views

How to swap stereo channels in Ubuntu?

I'm currently running Ubuntu 9.04. I wanted to swap the stereo channels, but I couldn't find that option in the Volume Control Preferences. Is there a way to do this without touching any ...
12
votes
3answers
14k views

How to make Windows 7 remember credentials for a Samba network drive?

I have a Samba share on my Ubuntu server which I map as a network drive on my Windows 7 Professional computer. After every reboot it shows the drive as disconnected and to access it I have to renter ...
12
votes
5answers
10k views

A decent S3 bucket manager for Ubuntu

I'm looking for a decent S3 bucket manager for Ubuntu (Gnome). I prefer it to integrate with Nautilus so it will look like just any other drive (a la WebDAV) but so far I haven't been able to find ...
12
votes
3answers
12k views

How to connect to memcached from another machine

I'm trying to use memcached from a different machine (which has access to my server), but I can't figure out how. on the memcached machine I can test the connection by running telnet 127.0.0.1 port ...
12
votes
7answers
33k views

OpenSSH server refuses to accept key authentication

I tried to use public key authentication on my new server, and I came across this problem. $ ssh -v -i .ssh/server 192.168.1.100 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration ...
12
votes
3answers
8k views

Equivalent to Sysinternals Process Explorer on Linux

I am using Ubuntu 11.10 and am looking for an equivalent to Process Explorer on Linux. There is System Monitor but it's not nearly as good as Process Explorer with all of its detailed information ...
12
votes
1answer
10k views

Unable to open env file: /etc/default/locale: No such file or directory

In my SSH log /var/log/auth.log I have the following error message Unable to open env file: /etc/default/locale: No such file or directory Any suggestions regarding the cause and how to fix ...
12
votes
5answers
67k views

Missing eth0 Ethernet interface in Ubuntu — can't connect to router

I'm having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router. I'm able to connect to the Internet ...
12
votes
4answers
11k views

Is there a standalone Flash Player for Linux?

I would like to download a Flash game and play it without using Firefox under Ubuntu Lucid - any ideas how? I can download the game fine, I'm just wondering how to play it without Firefox. Is there a ...
12
votes
1answer
18k views

How to find installation path for packages installed through apt-get in Ubuntu?

I have been installing python modules using apt-get which works great using the console or launching files from the command line. However I am using Eclipse for easier organisation of files. Eclipse ...
12
votes
2answers
3k views

Command to find the source package of a binary?

I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there ...
12
votes
3answers
3k views

Does Linux support TRIM for SSDs on LVM?

I am getting a SSD and need to know, does Linux support TRIM if I set up LVM on top of the SSD? I'm finding conflicting information. I'm currently running Ubuntu 10.10 with kernel 2.6.35-28.
12
votes
4answers
2k views

How do I quickly stop a process that is causing thrashing (due to excess memory allocation)?

We've all experienced it--some program is asked to do something that requires a huge amount of memory. It dutifully tries to allocate all this memory, and the system immediately begins thrashing, ...
12
votes
2answers
22k views

How do I get better USB transfer speeds in (X)ubuntu?

When I connect my USB 2.0 drive to Xubuntu and try to transfer large files, transfer speeds are good at first but drop after a few seconds to 1-2 Mib/s. From what I read, the fast transfer at the ...
12
votes
1answer
41k views

How do I add/remove an entry in the Indicator Applet in Gnome?

I can't seem to find a guide or reference on how to configure the 'indicator-applet' (aka MessagingMenu) that came about in the 9.04 release of Ubuntu. It's that little mail icon that lists messaging ...
12
votes
1answer
1k views

How to tab completion when typing command in tmux?

Some commands (kill-session and kill-server) have the same prefix. When I type (prefix:kill-seTab), tmux won't give me any result. Is there a option to show wildmenu for auto-completion inside tmux? ...
11
votes
4answers
3k views

What are possible security issues with an SSH daemon?

I'd like to be able to SSH to my Ubuntu 10.04 office PC from the outside. I am thus thinking to start up an SSH daemon on the PC. What are the security issues, possible glitches, specific ...
11
votes
7answers
15k views

Ubuntu: is there a better file manager than Nautilus? [closed]

Is there a package readily available that can replace & enhance the functionality of Nautilus?
11
votes
2answers
12k views

How do erase the contents of a error.log file but keep the file intact

I want to erase the contents of the file error.log (nginx error log file), but I don't want to actually delete the file. is this possible? running ubuntu
11
votes
8answers
8k views

How do I prevent GDM from running at boot on Ubuntu?

I have a Ubuntu (Hardy Heron) sever that currenlty boots up and runs gnome. I would like to make it so that when it boots it only goes into text-mode (e.g. the x server never starts) I tried: sudo ...
11
votes
1answer
12k views

What does mkdir -p flag do?

What does the mkdir -p flag do? i.e the '-p' part?
11
votes
6answers
14k views

Why is 64 bit Ubuntu not recomended for daily usage?

I am just in the process of setting up a new laptop which came with Windows 7 64 bit installed. I am going to set it up to dual boot Windows 7 and Ubuntu. When I went to get the Ubuntu download I ...
11
votes
4answers
5k views

Why was the close button moved to the left side in Ubuntu?

I was using Ubuntu 9. After automatically updating it to 10, the minimize, maximize and close buttons that used to be on top right were moved to the top left. Among the three buttons, close was moved ...
11
votes
3answers
6k views

“Round corners” filter disabled in GIMP

I have an RGB image with one layer, and I want to apply Round Corners filter to it. However, the filter is disabled (look at the image). What am I doing wrong???
11
votes
4answers
18k views

How do I get a list of available (i.e. uninstalled) packages in Debian?

Essentially what I'm looking for is the Debian equivalent of: yum list available to show me which packages are available (though not currently installed). I'd prefer something that can be run from ...
11
votes
2answers
4k views

Speeding up remote X sessions

I have a remote machine running Ubuntu 11.10 Server, to which I connect via SSH from OS X 10.7.3: Host remote.example.com ForwardX11 yes ForwardX11Trusted yes Sometimes I want to launch a GUI ...
11
votes
6answers
8k views

Hide files in Linux without using the dot

I wish to hide files in Linux without using the dot, since it's possible in Windows. Is there a way to do this?
11
votes
4answers
12k views

My virtualbox fstab will not auto-mount on reboot?

I am able to mount my drive manually like this (ubuntu): sudo mount -t vboxsf C_DRIVE /mnt/saga_c But when I try and add it to my fstab it does not mount when I restart the machine. Is there ...