266
votes
11answers
893k views

How do I install Guest Additions in a VirtualBox VM?

I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions. I started up my Ubuntu guest OS, clicked "Devices" and chose "Install Guest Additions". Nothing ...
264
votes
6answers
747k views

How can I create a Windows bootable USB stick using Ubuntu?

I'd like to create a Windows 8 bootable USB stick, but I don't have a Windows machine with me to do so. So how do I do it using Ubuntu?
263
votes
12answers
443k views

How to get bash or ssh into a running container in background mode?

I want to ssh or bash into a running docker container. Please, see example: $ sudo docker run -d webserver webserver is clean image from ubuntu:14.04 $ sudo docker ps CONTAINER ID IMAGE ...
262
votes
7answers
452k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
260
votes
8answers
221k views

How do I fix a “Problem with MergeList” or “status file could not be parsed” error when trying to do an update?

The computer gave me this output in a window: E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-...
256
votes
18answers
308k views

Error message when I run sudo: unable to resolve host (none)

I have this issue on AWS on some servers. Whenever I run sudo the terminal is stuck doing seemingly nothing, until it finally spits out this error message. My terminal looks like this: ubuntu@(none):~...
252
votes
5answers
237k views

What is the 'whoopsie' process and how can I remove it?

On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name. Google seems to imply that it has something to ...
251
votes
0answers
338k views

How do I install Oracle Java JDK 7? [duplicate]

If I downloaded the latest JDK from Oracle, do I just download the .tar file and extract it to /usr/lib/jvm/?
248
votes
10answers
1.9m views

How do I install a .tar.gz (or .tar.bz2) file?

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?
246
votes
20answers
502k views

Command for determining my public IP?

If I check with google, I can see my public IP. Is there something on the Ubuntu command-line which will yield me the same answer?
244
votes
6answers
266k views

How do I turn on workspaces? (Why do I only have one workspace?)

It appears that Unity on Raring only comes with a single virtual desktop (aka workspaces) by default, and CCSM's Wall plugin has no way to add more. Is this configurable at all?
241
votes
9answers
352k views

Is FFmpeg missing from the official repositories in 14.04?

I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message: $sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state information......
239
votes
13answers
146k views

How can I remove Amazon search results from the dash or disable the feature?

How can I disable Amazon search results in the Unity dash?
237
votes
7answers
364k views

Add user to existing Group

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
237
votes
19answers
185k views

Flash video appears blue

The Problem After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well. I have tried to uninstall all ...
233
votes
9answers
58k views

How to create animated GIF images of a screencast?

I've seen animated GIF images of screen casts (like the one below) promoted a few times on this site as a way to improve answers. What toolchain is being used to create these? Is there a program ...
233
votes
7answers
489k views

What is the correct way to completely remove an application?

I've searched the net for such information and found different command lines, like these ones: sudo apt-get remove application sudo apt-get remove application* sudo apt-get remove --purge ...
232
votes
7answers
273k views

How to install software or upgrade from an old unsupported release?

Recently I have installed an older version of Ubuntu on my old machine. When ever I am trying to install any software it is giving error sudo -i apt-get install vlc The error being flagged is under ...
231
votes
2answers
149k views

How can I use docker without sudo?

On Docker's documentation pages, all example commands are shown without sudo, like this one: docker ps On Ubuntu, the binary is called docker.io. It also does not work without sudo: sudo docker.io ...
230
votes
8answers
320k views

What is the difference between a hard link and a symbolic link?

As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my ...
227
votes
7answers
185k views

How to add “Open terminal here” to Nautilus' context menu?

I am working on Ubuntu 12.04 64bit. I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet.
225
votes
12answers
210k views

How to revert to GNOME Classic Desktop?

I'm used to GNOME Classic and personally don't want to change to anything else, but it seems there is no more GNOME Classic in the Oneiric release. After apt-get installed gnome-session and all, ...
224
votes
12answers
192k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
222
votes
4answers
356k views

Can I move the Unity launcher?

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better). But I can't find a way. Is it possible?
221
votes
12answers
157k views

Trouble downloading packages list due to a “Hash sum mismatch” error

When I check for updates, I get a "Failed To Download Repository Information" error. This is what comes up under details: W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu....
220
votes
3answers
464k views

What does “cp: omitting directory” mean?

I've issued the following command: sudo cp ~/Transfers/ZendFramework-1.11.4-minimal/library/Zend/* ~/public_html/cmsk.dev/library/ When I do this, I start getting the following messages: cp: ...
217
votes
5answers
891k views

How do I change the GRUB boot order?

I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them. Currently the boot order ...
215
votes
12answers
487k views

How do I find the amount of free space on my hard drive?

Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but ...
213
votes
14answers
305k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
211
votes
5answers
932k views

How do I rename a directory via the command line?

I have got the directory /home/user/oldname and I want to rename it to /home/user/newname. How can I do this in a terminal?
211
votes
2answers
423k views

How do I search for available packages from the command-line?

I have successfully installed some packages using the command line 'sudo apt-get install ...' when I have known in advance that those packages are available. But how can I search for or get a list of ...
208
votes
11answers
241k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
204
votes
3answers
600k views

What command do I need to unzip/extract a .tar.gz file?

I received a huge .tar.gz file from a client that contains about 800 mb of image files (when uncompressed.) Our hosting company's ftp is seriously slow, so extracting all the files locally and sending ...
203
votes
10answers
12k views

Terminal 'incognito mode'?

I use Terminal a lot, and sometimes I am running commands, which aren't things I don't want others to see, but more commands that if I accidentally arrowed up to and accidentally executed would cause ...
202
votes
5answers
518k views

How can I copy the contents of a folder to another folder in a different directory using terminal?

I am trying to copy the contents of a folder to another folder in a different directory using terminal. Would somebody be able to provide me an example of the command line syntax required to achieve ...
202
votes
3answers
73k views

How can I break out of ssh when it locks?

I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no ...
201
votes
8answers
94k views

Are PPA's safe to add to my system and what are some “red flags” to watch out for?

I see a lot of interesting programs out there that can only be obtained by adding a "PPA" to the system but, if I'm understanding correctly, we should stay within the official "repositories" for ...
198
votes
5answers
1.0m views

Change folder permissions and ownership

I would like the user to have full rights on this folder (as well as all sub-directories and files in it): ~/.blabla currently owned by root. I have found numerous posts (in this forum and ...
197
votes
6answers
21k views

How can I make my shell prompt look like a cheeseburger?

I want my shell prompt to look like a cheeseburger! πŸ”πŸ”πŸ” It would be nice if it also displayed: username, hostname, and current directory.
196
votes
4answers
194k views

What is “dist-upgrade” and why does it upgrade more than “upgrade”?

I was wondering why upgrade sometimes doesn't want to upgrade certain parts of the system, while dist-upgrade does. Here's an example after running update: apt-get upgrade: rimmer@rimmer-Lenovo-...
195
votes
5answers
254k views

Getting “System program problem detected” pops up regularly after upgrade

This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit ...
192
votes
10answers
342k views

How do I get the CPU temperature?

How do I get the CPU temperature?
192
votes
9answers
302k views

How can I repair grub? (How to get Ubuntu back after installing Windows?)

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?
192
votes
6answers
91k views

How do I find the package that provides a file?

Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a ...
191
votes
15answers
167k views

How to pin Eclipse to the Unity launcher?

How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, ...
190
votes
15answers
70k views

How to change tooltip background color in Unity?

In a lot of applications the tooltips are just plain ugly (White text on black background, way too much contrast) or even unreadable (black or dark blue text (Hyperlinks) on black background). I want ...
189
votes
6answers
174k views

How is the /tmp directory cleaned up?

How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
189
votes
5answers
194k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: /home/...
188
votes
40answers
553k views

How to fix “The system is running in low-graphics mode” error?

Note: This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong ...
188
votes
6answers
176k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?

15 30 50 per page