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

12
votes
4answers
19k 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 ...
12
votes
2answers
17k views

Can I make a script always execute as root?

How to make a script execute as root, no matter who executes it? I read about setuid but I'm not sure how to do this. I'm using Linux, Ubuntu 12.04 LTS.
12
votes
3answers
26k 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 ...
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
7answers
30k 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
7k 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
4answers
9k 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
4answers
59k 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
2answers
2k 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
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. ...
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
3answers
8k views

What's using my swap (Ubuntu)?

I have an Ubuntu 8.04 server which is running a database and a bunch of Java application servers. Its memory configuration and usage is: total used free shared buffers ...
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
19k 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
26k views

How can you stream music from Ubuntu to AirPlay speakers on your network with Ubuntu?

We have AirPlay speakers on our network, that can only be controlled using iTunes for Windows. As I'm booted into Ubuntu, I'd like to be able to control the music being played. Is there any way to do ...
11
votes
8answers
56k views

Can you explain how to understand what the 'iwconfig' command displays in Ubuntu-9.04?

I'm having trouble making my wireless connection work, and I realized I don't really know how to use the tools I have, in this case, the iwconfig command in Ubuntu-9.04. Here is what I get: ...
11
votes
3answers
7k 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 ...
11
votes
2answers
32k views

how to ssh to a ipv6 ubuntu in a LAN?

I'm able to ping my Ubuntu box via command: (where c2h2ttt is listed in /etc/hosts) c2h2@c2h2crawler:~/ttt$ ping6 -I eth1 c2h2ttt PING c2h2ttt(c2h2ttt) from fe80::21b:21ff:fe22:e865 eth1: 56 data ...
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
4answers
7k views

Ubuntu grep, find etc: “Permission denied” and “No such file or directory” output

When I grep or find something I always get annoyed by the "Permission denied" and "No such file or directory" notice, smth like that: johndoe@johndoe-desktop:/$ grep -rnP 'YII_CORE_PATH' ./ | grep -v ...
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
7answers
13k 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. ...
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
2answers
29k 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 ...
11
votes
4answers
7k 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 ...
11
votes
4answers
12k 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 ...
11
votes
3answers
2k views

How do I remove KDE from Ubuntu if I decide not to stick with it?

I installed kubuntu-kde4-desktop package on my Ubuntu 9.04 install to give KDE a fair shake since I've always wanted to try it. I'm not done with it yet, but if I decide I want to go back to my tried ...
11
votes
3answers
12k 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 ...
11
votes
1answer
7k views

Is there a way to call a script when Ubuntu wakes up from suspend or hibernate mode?

I have a little shell script that I run automatically when I log on to my Ubuntu machine; it will set the parameters of my touchpad the way I like it. However, when Ubuntu wakes up after being ...
11
votes
2answers
8k views

How do I migrate from Ubuntu to Debian?

I've been considering migrating my laptop from Ubuntu to Debian. I didn't set up a separate home partition. Is it as easy as just installing Debian over Ubuntu?
11
votes
1answer
9k 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 ...
11
votes
2answers
4k views

Microsoft Surface Alternative OS

Is it possible to install a new operating system like ubuntu on the Surface, instead of windows 8?
11
votes
3answers
11k views

How can I adjust the mouse scroll wheel sensitivity?

I just replaced my old Logitech mouse with a Microsoft Wireless Laser mouse, and the scrolling is too fast for my liking. How can I adjust the scroll sensitivity? Update: I just updated to 10.04, ...
11
votes
3answers
2k views

A rapid way to type funny characters from Scalaz?

Is there any easy and fast way to type the funny characters (like ⊛, ≟, ∘, ∨ etc) from Scalaz? (I am using Ubuntu 9.04)
11
votes
4answers
7k views

Sharing TrueCrypt partition between Windows and Ubuntu

I want to install dual boot with Windows and Ubuntu (Windows 7 and Ubuntu 9.04 in this case) both sharing one partition for data with TrueCrypt. Is that possible? Would that work well? My plan would ...
11
votes
4answers
6k views

Linux: How to set default directory of terminal emulators?

After upgrading to Ubuntu 11.04, my terminals (gnome-terminal and urxvt) start in "/" instead of "~" What can cause this behavior? I imagine that the working directory of Gnome or X is set to "/", ...
11
votes
3answers
1k views

Boot to Windows once from Grub then back to Ubuntu on next boot

I do a lot of remote work on computers and my home comptuer has 2 OSes: Ubuntu and Windows 7. I would like to be able to switch to Windows occasionally but this is impossible without losing my ability ...
11
votes
1answer
552 views

How do I give the OOM killer teeth again?

Back in the day I used to curse the OOM-killer for being over-aggressive and killing apps I was using. Now, as I periodically watch my system thrash for 15 minutes because of some ill-behaved program, ...
11
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
1answer
6k views

What single nVidia card will drive three monitors? [closed]

I'm seeing a lot of conflicting information, on Super User and the web in general, about nVidia cards running three monitors. The opinions I have found so far include: no single nVidia card can run ...
11
votes
2answers
731 views

Why am I seeing such low SMB transfer throughput?

Ok, there's a bit more to the story than the title implies. Background and Environment: I'm copying several TB from an older Ubuntu server to a newer Windows 2012 server over SMB. (Technically, it's ...
11
votes
3answers
11k views

How can I reformat microSD cards that were created read-only?

My company was burning some microSD cards (4000 of them) and the multi burning machine we were using gives us the option to make the microSD read-only. I didn't know this was possible, but ...
10
votes
2answers
770 views

How to cut a file to a given size under Linux?

I want to shrink a file's size by brute-force, that is, I don't care about the rest, I just want to cut the file, say by half, and discard the rest. The first thing that comes to mind is Perl's ...
10
votes
12answers
650 views

Been away from linux for 10 years. Which commands have I missed? [closed]

I have been away from linux for some years, but now I'm once again back with Ubuntu 10.04. I used to run Gentoo in 2000 and knew my commands, but now that the world of linux has progressed a bit ...
10
votes
4answers
5k 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.
10
votes
10answers
17k views

How to convert .ogg to .mp3?

Ubuntu ripped a CD for me into audio files but they are all .ogg format which I can't play on my MP3 player. How can I convert .ogg files to .mp3 files?
10
votes
2answers
10k 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
10
votes
2answers
9k views

Allow my computer (ubuntu) to accept SSH connections

I want to be able to connect from my laptop to my desktop via SSH so I can work from the couch when I'm feeling lazy. Currently, when I try, I get a message saying "connection refused" There are ...