90
votes
10answers
109k 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: ...
90
votes
11answers
127k views

How do I install Java?

How do I install Java and also in my browser so websites with Java work?
90
votes
12answers
74k views

How can I tell Ubuntu to do nothing when I close my laptop lid?

I would like closing the laptop lid to be a no-op. How can I do that?
89
votes
14answers
319k 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 ...
89
votes
6answers
294k 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 ...
88
votes
6answers
52k 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 ...
88
votes
16answers
76k 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
30answers
260k 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 ...
87
votes
18answers
52k 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 ...
87
votes
8answers
27k 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?
87
votes
7answers
72k 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 ...
86
votes
5answers
112k views

How do I install LibreOffice 4?

I want to download and install LibreOffice 4. How can I do this?
86
votes
1answer
155k views

How do I configure swappiness?

I need Step by Step, simple and easy way to configure swappiness.
86
votes
5answers
79k 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: ...
85
votes
7answers
297k 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 ...
85
votes
7answers
82k 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 ...
84
votes
18answers
19k 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. ...
84
votes
5answers
117k 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?
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 ...
84
votes
8answers
15k views

How can I use Netflix on Ubuntu?

Is there a way to stream Netflix content to my Ubuntu machine?
83
votes
14answers
86k 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?
83
votes
11answers
192k 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
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
46answers
431k 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 ...
82
votes
8answers
53k 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?
82
votes
15answers
103k 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.. ...
81
votes
2answers
131k 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?
81
votes
8answers
43k 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 ...
81
votes
3answers
195k 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?
80
votes
6answers
411k 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 ...
80
votes
3answers
53k 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 ...
79
votes
17answers
76k 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.
79
votes
12answers
100k 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 ...
79
votes
9answers
281k 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.
79
votes
11answers
9k views

Can I legally build and sell desktops with Ubuntu pre-installed?

I'm starting a business and this is part of what I'm going to be offering. I'm almost complete with my certification in Linux Administration, but I don't know all of the ins and outs of the law Linux ...
78
votes
20answers
9k 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? ...
78
votes
7answers
107k views

How do I get the CPU temperature?

How do I get the CPU temperature.
77
votes
20answers
31k views

How can I highlight PDFs?

Currently I need to highlight certain sections in PDFs. These highlights would need to be saved. What tools are out there to do this on Ubuntu?
77
votes
15answers
72k views

Can I skip over releases when upgrading?

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?
77
votes
8answers
43k views

Is there an GUI Designer for python?

Is there a GUI IDE for programming python just like java has netbeans? I wanted one where we could drag & drop test boxes & labels just as we do in swing components using netbeans or eclipse. ...
77
votes
10answers
78k 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?
77
votes
10answers
16k views

How do I increase the resize margin on windows?

It takes me about 5 tries to resize a window on my computer. Is there a way to increase the resize margin on the edge of windows?
77
votes
2answers
63k views

How to restart nautilus without logging out?

How do I just restart the nautilus after adding a nautilus script without having to log out.
76
votes
2answers
146k 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 ...
76
votes
7answers
106k 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 ...
76
votes
4answers
333k 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?
76
votes
14answers
61k views

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard ...
76
votes
9answers
29k views

How do I remove a website from Ubuntu's web applications?

I thought I would try out the new webapps ppa and everything seems to be working fine. However, google reader now floods my messaging menu with all my feeds and turns the icon blue. How can I remove a ...
76
votes
5answers
102k views

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...
75
votes
6answers
52k views

How can I remove duplicate second Unity Launcher on a Dual Screen setup?

See attached image. On my dual screen display I have a Unity Launcher on the left hand screen and also on the right hand screen. Both work perfectly fine. I don't want two Unity Launchers. Every time ...

15 30 50 per page