142
votes
4answers
203k 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 ...
142
votes
14answers
84k views

How to backup settings and list of installed packages

If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the ...
142
votes
4answers
175k views

How do I patch/workaround SSLv3 POODLE vulnerability (CVE­-2014­-3566)?

After the BEAST attack and Heartbleed bug, now I've heard about a new vulnerability in SSL/TLS called POODLE. How do I protect myself against being exploited? Are only servers or also clients ...
141
votes
6answers
112k views

How to patch the Heartbleed bug (CVE-2014-0160) in OpenSSL?

As of today, a bug in OpenSSL has been found affecting versions 1.0.1 through 1.0.1f (inclusive) and 1.0.2-beta. Since Ubuntu 12.04, we are all vulnerable to this bug. In order to patch this ...
141
votes
4answers
588k 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?
141
votes
3answers
48k 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 ...
140
votes
9answers
6k views

How do I delete my commands quickly?

I use terminal for almost all tasks. Let's say I have entered a huge command like this: sudo a-huge-command What is the easiest way to delete the whole command with a single shortcut, rather than ...
139
votes
7answers
95k views

How can I install Adobe AIR?

I am a heavy user of certain applications that are built on AIR. It appears that AIR has discontinued support for Linux. Even the older versions in the Adobe AIR Archives seem to support only 32 bit ...
139
votes
9answers
260k 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 ...
138
votes
6answers
439k views

What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?

I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver? There are multiple valid answers for this question spanning over ...
137
votes
8answers
192k 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 ...
137
votes
3answers
40k views

What's the right terminology for Unity's UI elements?

I've sent a few mails to the Ayatana mailing list regarding some UI suggestions for Unity, but I'm afraid I keep confusing the right terms for the UI element, so I would like to have some ...
136
votes
6answers
100k 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 ...
135
votes
21answers
124k 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 ...
134
votes
18answers
281k 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?
134
votes
12answers
313k 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 ...
134
votes
8answers
33k 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: ...
134
votes
8answers
7k 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 ...
134
votes
12answers
256k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
132
votes
18answers
94k 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 ...
132
votes
12answers
132k 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 ...
131
votes
9answers
118k 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 ...
131
votes
5answers
128k 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?
131
votes
1answer
62k 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 ...
131
votes
5answers
95k 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 ...
130
votes
4answers
146k 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 ...
129
votes
11answers
241k 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"?
129
votes
5answers
19k 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, ...
128
votes
7answers
316k views

Screen Resolution Problem with Ubuntu 14.04 and VirtualBox

Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu. Problem: While in ...
127
votes
6answers
269k 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 ...
126
votes
12answers
164k 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 ...
125
votes
8answers
134k 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?
125
votes
4answers
102k 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 ...
124
votes
10answers
86k 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?
124
votes
16answers
299k 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?
124
votes
5answers
125k 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: ...
124
votes
4answers
105k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
123
votes
11answers
120k 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?
123
votes
5answers
646k 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 ...
123
votes
10answers
419k 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 ...
123
votes
9answers
197k views

How do I get the CPU temperature?

How do I get the CPU temperature?
123
votes
6answers
53k 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 ...
122
votes
46answers
612k 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 ...
120
votes
10answers
82k 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 ...
120
votes
12answers
96k 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!
119
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 ...
119
votes
10answers
104k 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? ...
119
votes
5answers
165k views

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown: W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found How do I fix these errors?
119
votes
8answers
61k 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 ...
118
votes
2answers
263k views

How to install Skype 4.3?

Skype 4.3 is just released with considerable improvements. As a regular Skype user I want to use the latest Skype on my Ubuntu 14.04, but there is no updates from Update Manager. Even in Skype website ...

15 30 50 per page