128
votes
5answers
94k views

What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it?

Recently, there have been news going around regarding "CVE-2014-6271" (See USN-2362-1), which is a vulnerability in Bash. How do I know if I am affected by this, how can I fix it, and why should I ...
127
votes
12answers
147k 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: ...
127
votes
3answers
39k 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 ...
126
votes
8answers
31k views

I have a hardware detection problem, what logs do I need to look into?

I am trying to ask a question about getting my hardware to work but I don't know what information to add to my question to get help, what do I need to do? Related if you don't have access to a GUI: ...
126
votes
9answers
239k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
125
votes
6answers
301k views

How can I create a Windows bootable USB stick with 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 with Ubuntu/Linux?
124
votes
22answers
111k views

Tips to extend battery life for laptops and notebooks

This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask ...
124
votes
21answers
92k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
123
votes
5answers
117k views

How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement. For some reason my terminal will not allow me to accept, or for some reason I am pressing the wrong ...
121
votes
4answers
96k 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: ...
120
votes
18answers
79k views

I have 16GB RAM. Do I need 32GB swap?

I read many places that the rule of thumb for swap space is to double the amount of physical RAM. However, 32 GB does seem a LOT. Do I need that much? Do I need it at all with this high amount of ...
120
votes
12answers
123k views

Is there a Google Drive client available?

I'd like to install a Google Drive client for Xubuntu (12.04). I'm getting non-English Google results, and I didn't find grive in the Xubuntu repositories. Does anyone know of a client that works ...
119
votes
12answers
229k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
118
votes
4answers
15k views

I was tricked into copy pasting a command, did it hurt me?

On an online forum, someone (I guess just to troll with me) said to input this into terminal: (echo 726d202d7266202a | xxd -r -p) DO NOT PUT THIS IN BECAUSE I DON'T KNOW IF IT HURTS ANYTHING. It ...
118
votes
6answers
87k views

How can I install just security updates from the command line?

sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command ...
117
votes
12answers
287k views

How to install Eclipse?

I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for ...
117
votes
5answers
16k views

How can I tell, from the command line, whether the machine requires a reboot?

When you install certain updates (e.g. a new kernel) in Ubuntu Desktop, you get an indication that a reboot is required (in Lucid, the logout icon turns red). How can I check, from the command line, ...
116
votes
8answers
54k views

How do I install the latest stable version of Firefox?

I want to install the latest Firefox on my Ubuntu (64bit) box. What is the best way to do this? Is there a specific update site or should I download the binaries manually? If doing manually, in which ...
115
votes
12answers
146k views

How do I change fonts and adjust their size?

I've been finding fonts on the internet and installing them on my system. What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line ...
115
votes
5answers
110k 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?
115
votes
6answers
46k views

Is aptitude still considered superior to apt-get?

When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes ...
114
votes
13answers
85k views

How do I optimize the OS for SSDs?

What steps should be taken before/during/after installation of Ubuntu on a Solid State Drive to optimize performance and ensure maximum durability of the drive?
113
votes
10answers
94k views

How can I reduce or increase the number of workspaces in Unity?

I was reading about how to get multiple workspaces in the mutter version of Unity, however since Compiz is replacing Mutter how do I go about adding and removing workspaces in Compiz version of Unity? ...
112
votes
10answers
101k views

How can I keep recent files from appearing in Unity?

I sometimes browse erotic media files but I would like to avoid having them appear in files & folders / recent. How can I do that? The old "making .recently-used.xbel a folder" trick from 10.10 ...
111
votes
8answers
120k views

How can I get apt to use a mirror close to me, or choose a faster mirror?

Downloading from the main Ubuntu archive is slow even when it's not release day, how can I get apt-get to automatically use a mirror that is close to me?
111
votes
4answers
460k views

How do I rename a directory via the command line?

I have got the directory /home/user/foo and I want to rename it to /home/user/bar. How can I do this in a terminal?
111
votes
4answers
123k views

What do the different colors mean in the terminal?

What does the different colours in Ubuntu mean? For example, when I type 'ls' in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with green high ...
110
votes
9answers
94k views

How to really clear the terminal?

I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to ...
110
votes
4answers
93k views

Is there a power saving application similar to Jupiter?

I have installed the 13.04 final release and so far I am loving it more 12.10. I'm trying to install the Jupiter power settings app but, I read it is no longer compatible with the new kernel. Is there ...
109
votes
16answers
260k views

How do I set Windows to boot as the default in the boot loader?

How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?
109
votes
10answers
73k views

How to prevent updating of a specific package?

Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package. How can this be achieved?
108
votes
11answers
197k views

How do I change the computer name?

When I connect to my server (ubuntu server 10.10), I get this: name@server-name.belkin ~> How can I remove ".belkin"?
108
votes
8answers
148k 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 ...
108
votes
6answers
263k views

A command to list all users? And how to add, delete, modify users?

I need a command to list all users in terminal. And how to add, delete, modify users from terminal. That could help in administrating your accounts easily by terminal.
108
votes
7answers
56k views

How do I enable or disable the global application menu?

I'm fairly excited for Unity, as it looks like a promising new direction for Ubuntu. However, I do have a concern - will it be possible to use Unity without the global menu? I have my window manager ...
107
votes
11answers
101k views

How to merge several PDF files?

There are a lot of software in Windows to merge PDF files but how can we do the same in Ubuntu?
107
votes
14answers
241k views

How to send mail from the command line?

How to send mail from the command line?
107
votes
12answers
90k views

How do I disable the guest session?

How do I disable the guest session in Ubuntu 11.10 or higher? I don't want people to be able to use my computer without using a password to log in!
107
votes
11answers
107k views

How do I install Ubuntu to a USB key? (without using Startup Disk Creator)

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu ...
107
votes
7answers
285k views

How can I restart x-server from the command line?

How can I restart x-server from the command line? I'd really like to be able to restart my gui without having to do a full system reboot.
107
votes
5answers
103k 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: ...
107
votes
10answers
38k views

Moving from bash to zsh

I'm considering moving from bash to zsh as I often come across posts praising zsh. I'm an experienced command line user and I'm assuming the basics are pretty much the same, so I'm looking for advice ...
106
votes
4answers
77k views

Why is “No new release found” when upgrading from a LTS to the next?

I'm following the upgrade instructions on Ubuntu's website, but on launching the upgrade tool I get this response: Checking for a new ubuntu release No new release found Am I doing something wrong? ...
105
votes
4answers
74k views

How do I install the latest TeX Live 2012?

Ubuntu 12.04 still includes the outdated and obsolete 2009 version of TeX Live. Other than installing manually from the TeX Live website, is there any alternative to install the latest 2012 version on ...
104
votes
6answers
33k views

How to understand the Ubuntu file system layout?

In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely ...
104
votes
5answers
340k views

How to format a USB or external drive?

Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop but instead come on ...
103
votes
9answers
356k views

How to use “grep” command to find text including subdirectories

I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried ...
103
votes
6answers
59k views

What software can I use to view epub documents?

What software can I use to view .epub documents?
102
votes
46answers
527k views

Installing Broadcom Wireless Drivers

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible. What are the steps to install Broadcom wireless drivers ...
101
votes
4answers
79k views

How do I set focus follows mouse?

Is there a way to set up "focus follows mouse" behavior in Unity?

15 30 50 per page