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
2answers
46k views

How to run programs from a linux terminal without blocking the terminal?

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program. I am a new user of linux, and I want to know if there is a way to execute a ...
13
votes
5answers
19k views

How can I recover the original file from a .swp file?

I tried opening the .swp file using vi and cat but it displays junk.
13
votes
7answers
15k views

Which lightweight HTTP or FTP Server is good for simple file transfer? [closed]

This question is a followup to How to copy files to an untrusted computer?, as there doesn't seem to be a dedicated app for this purpose, I am now searching for a http or ftp server as an alternative. ...
13
votes
7answers
22k views

How to fix broken synaptic updates: “Package is in a very bad inconsistent state”

I have a Dell Mini9 running Ubuntu 8.10. One day I had the bright idea to see if I could install a LAMP stack. I had trouble installing MySQL 5.0. I don't recall the error, but ever since all ...
13
votes
1answer
820 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
4answers
23k 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
3answers
9k 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
43k 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
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
3answers
13k 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 ...
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
5answers
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, ...
13
votes
4answers
3k views

How can I properly set sudo/visudo's editor?

I am using Ubuntu 10.04 Server and trying to set up sudoers to respect a user's EDITOR choice (within limits) In my sudoers I have: Defaults editor=/usr/bin/nano:/usr/bin/vim Defaults ...
13
votes
1answer
2k 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? ...
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
3answers
9k 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
2answers
13k 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
12
votes
1answer
23k 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
4answers
9k views

How to search terminal output

Suppose I have a Terminal open that contains thousands of lines of output from my previous commands over the past few hours/days. How do I search that recorded output for a string? I'm especially ...
12
votes
3answers
3k 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
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
560 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
11k 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
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???
12
votes
2answers
36k 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
17k 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
10k 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
15k 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
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
5answers
11k 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
8answers
35k 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
5answers
71k 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
3answers
9k 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
11k 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
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
8answers
37k views

How to recover a VMware virtual machine

I was running Ubuntu in VMware Player. It froze up when I was using it, so I killed it with the Task Manager. The reason it froze was because I ran out of disk space. So after killing the process I ...
12
votes
1answer
19k 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
4answers
7k views

How to (legally) get Windows virtual machine on linux via VirtualBox without buying Windows

My goal is to install Windows 7 on a virtual machine running on Ubuntu. The Lenovo machine came with Windows 7 installed, but did not come with a boot disk. What are my options? Should I ask Lenovo ...
12
votes
2answers
5k views

Microsoft Surface Alternative OS

Is it possible to install a new operating system like ubuntu on the Surface, instead of windows 8?
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
7answers
15k views

Change directory using sudo

How to I change into a directory owned by root? If I do: sudo cd RootOwedDir I get: sudo cd: command not found If I su root I get: authentication failure, probably because I never really set up an ...
12
votes
4answers
3k views

How to disable Ctrl+Shift+U in Ubuntu Linux?

ctrl+shift+u is a combined shortcut key in Eclipse. But when I press it, it shows up a u, just like input with an underline. I guess this shortcut has been declared by Ubuntu, so I can't use it. I ...
12
votes
3answers
23k 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
42k 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 ...
11
votes
4answers
6k views

How I can make sudo session an hour and not few minutes in Ubuntu 10.04?

How I can make sudo Ubuntu 10.04 session an hour and not few minutes? Now I have to write my password for sudo commands every few minutes.
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 ...