96
votes
6answers
19k views

Best way to cache apt downloads on a LAN?

I have multiple Ubuntu machines at home and a pretty slow internet connection, and sometimes multiple machines need to be updated at once (especially during new Ubuntu releases.) Is there a way where ...
96
votes
3answers
58k views

How do I revert Alt-tab behavior to switch between windows on the current workspace?

Enabling Bias alt-tab sorting to prefer windows on the current viewport as described here made no difference. How can I get back the exact same behavior as 11.04, so that alt-tab only switches between ...
95
votes
8answers
325k 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 ...
95
votes
7answers
82k 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 ...
95
votes
1answer
173k views

How do I configure swappiness?

I need Step by Step, simple and easy way to configure swappiness.
95
votes
5answers
25k views

Why is Wayland better?

As recently announced by Mark Shuttleworth, Ubuntu will be moving towards using Wayland as its display manager. What are biggest differences between X11 and Wayland? Why will Wayland make Ubuntu ...
94
votes
9answers
40k views

There's an issue with an Alpha/Beta Release of Ubuntu, what should I do?

I've been running Alpha releases of Ubuntu for some time now. I keep running into issues - how can I get these resolved? What should I do when I encounter these problems? And where can I find other ...
94
votes
8answers
127k 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 ...
93
votes
46answers
479k 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 ...
93
votes
11answers
140k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
93
votes
6answers
55k views

What is the easiest way to resolve apt-get BADSIG GPG errors?

I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get? W: GPG error: http://download.virtualbox.org lucid ...
92
votes
18answers
57k views

How do I create a desktop wallpaper slideshow?

How do I create a desktop wallpaper slideshow with my own set of images? With the images coming from a pictures folder, or pre-selected With the images displayed in order, or randomly With the ...
92
votes
15answers
342k views

How do I add a DNS server via resolv.conf?

Is /etc/resolv.conf useless in Ubuntu 12.04 LTS (Precise Pangolin)? I see that the DNS server information is stored in NetworkManager now. The nmcli command line tool can list that for you. If I ...
92
votes
6answers
318k 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 ...
91
votes
30answers
291k views

How do I download a YouTube video?

For a school project I need to download three youtube videos and save them to a CD. I am running Ubuntu 10.10; can anybody provide instructions on how to do this? I'm fairly new to Ubuntu so the more ...
91
votes
2answers
189k 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 ...
91
votes
3answers
217k views

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
90
votes
4answers
393k 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?
90
votes
6answers
194k 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.
90
votes
6answers
160k 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 ...
89
votes
5answers
128k 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?
89
votes
2answers
150k views

How to enable mod_rewrite in Apache?

I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
88
votes
15answers
90k views

How can I find the version of Ubuntu that is installed?

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?
88
votes
6answers
468k 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 ...
88
votes
8answers
29k views

Is there an easy way to rearrange or move the icons in the Unity launcher?

It looks like the only time that you can choose where an icon goes on the unity launcher, is when you add it. Is there a way to rearrange the order of an icon after it has been added?
88
votes
16answers
82k views

What are the differences between 32-bit and 64-bit, and which should I choose?

What is the difference between 32-bit and 64-bit Ubuntu? I've heard the 64-bit platform performs better and can detect more than 4GB of RAM. Also, while some apps haven't ported to 64-bit yet, ...
87
votes
7answers
92k views

Is there a program like Microsoft Paint? [duplicate]

Greetings, I'm slowly getting used to Ubuntu; for I've been a Windows user as long as I've used any computer. I'm hoping someone can suggest a good graphics software. I'm simply looking for one ...
87
votes
8answers
48k views

How to delete file(s) in secure manner?

Is there a way to make sure that a deleted file can not be recovered? As you know, deleting a file by pressing shift-del or using trash doesn't mean that file is gone forever. It resides somewhere ...
86
votes
16answers
114k views

How can I create launchers on my desktop?

In older versions it was easy to create a launcher on my desktop all i had to do is right click on my desktop and select the create launcher option. But on 11.10 the option disappeared from the menu.. ...
86
votes
10answers
88k views

Progress and speed with 'cp'?

When copying files using cp, is it possible to display the progress and speed of the transfer? Otherwise, is there any alternative command line utility that can achieve this?
86
votes
6answers
118k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
86
votes
9answers
323k views

How to burn a .iso to a USB device?

I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this? I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same.
85
votes
16answers
171k 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?
85
votes
18answers
22k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
85
votes
8answers
16k views

How can I use Netflix on Ubuntu?

Is there a way to stream Netflix content to my Ubuntu machine?
84
votes
4answers
128k 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 ...
84
votes
5answers
16k views

Why is Ubuntu switching to Unity?

I understand from Jono Bacon's blog that Ubuntu will be switching to Unity as the default desktop in the upcoming 11.04. What's not clear is "Why?". Could someone explain the benefits of Unity over ...
83
votes
8answers
54k views

Am I using Unity or Unity 2D?

Unity and Unity 2D look very much alike, so how can new users easily find out whether they are running Unity or Unity 2D?
83
votes
11answers
198k views

How do I install Oracle JDK 6? [duplicate]

Most of the software is not thoroughly tested with Java 7 and I would like to install Oracle's JDK 6.0 on Ubuntu 11.10. Could someone please provide me the instructions for the same?
83
votes
5answers
150k views

How do I install curl in php5?

I currently have PHP 5.3 installed with Apache in 10.04 Lucid. How can I add the PHP Curl libraries? Do I need to install any other dependencies for curl?
83
votes
0answers
96k views

How do I remove a PPA added via command-line? [duplicate]

I added a PPA for updating my kernel for ubuntu-12.04. Later, I found that the kernel doesnot exist on the link within PPA. I used this command. sudo add-apt-repository ppa:kernel-ppa/ppa Now if I ...
82
votes
20answers
35k views

How can I highlight or annotate PDFs?

Currently I need to highlight certain sections in PDFs, or add annotations (comments/notes). These modifications would need to be saved. What tools are out there to do this on Ubuntu?
82
votes
12answers
109k views

How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again

How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
82
votes
9answers
52k 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 ...
82
votes
7answers
125k views

How do I get the CPU temperature?

How do I get the CPU temperature.
81
votes
17answers
83k views

File and directory comparison tool?

I'm looking for something that will compare directories and files like Beyond Compare does for windows. Its mainly for use of source control, but I need to use it for deployment as well.
81
votes
1answer
64k views

Mouse cursor flickering and disappearing

I installed Ubuntu today and since the first start up I have a problem with the mouse cursor. It starts randomly disappearing and flickering a lot. I have searched for a solution on Google and here ...
81
votes
3answers
56k views

How to use Alt+Shift to switch keyboard layouts?

I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have ...
81
votes
5answers
27k 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 ...
80
votes
20answers
10k views

Are there any games which can train people to learn terminal commands? [closed]

It seems to me learning how to use the terminal is a prerequisite to learning how to use Ubuntu. So I'm trying to figure out the best way to learn. Is there a Quizlet online flash card set out there? ...

15 30 50 per page