Greatest Hits

90
votes
7answers
160k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
23
votes
6answers
126k views

What do I need for remotely accessing my Ubuntu 14.04 desktop?

I am at a loss as to how to set up my machine for remote connection. Do I need to install a VNC server (which one?) or is Vino (installed by default) enough? I opened Desktop Sharing Preferences ...
37
votes
3answers
266k views

How to run a checkdisk?

I suspect there might be bad sector on a disk. What tool is the best equivalent of the error checking tool of windows? (I used ext3)
174
117
votes
11answers
172k views

How to display network traffic in terminal

how to display the actual network traffic (wireless) in a terminal? Additionally: Is it possible to add this info to the chart of top?
58
votes
2answers
139k views

How do I get Java plugin working on Google Chrome?

Google has updated its Chrome browser to version 35. This new version uses Aura in place of GTK2 and no longer supports NPAPI plugins like Java (both OpenJDK and Oracle). PPAPI plugins like ...
93
votes
7answers
296k views

How can I create a zip archive of a whole directory via terminal without hidden files?

I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be any hidden folders / files. If files in a hidden folder are not ...
55
votes
3answers
224k views

How to make a file (e.g. a .sh script) executable, so it can be ran from terminal

I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
22
votes
7answers
157k views

How do I disable the “Nouveau Kernel Driver”?

I'm trying to install proprietary nvidia graphics driver I downloaded from nvidia website. It will not install because it says that the "Nouveau kernel driver" needs to be disabled first. I opened ...
251
73
votes
4answers
100k views

What is the safest way to clean up /boot partition?

I've got 200 MB assigned for the /boot partition. Everytime I try to update the kernel I get an error message that basically says the size of /boot is full. What can I do to cleanup /boot and ...
91
votes
11answers
254k views

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, ...
207
361
votes
10answers
328k views

What are PPAs and how do I use them?

I keep reading about Personal Package Archives ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these? There are multiple valid answers for this question ...
161
45
votes
12answers
108k views

How do I add minimize / maximize buttons to GNOME shell windows?

Just installed Ubuntu 12.04, then I did sudo apt-get install gnome-shell and windows have only a close button, how can I enable minimize / maximize? The old gconf-editor doesn't seem to work cause ...
50
votes
14answers
153k views

How can I create a select menu in a shell script?

I'm creating a simple bash script and I want to create a select menu in it, like this: ./script echo "Choose your option:" 1) Option 1 2) Option 2 3) Option 3 4) Quit And according to ...
22
votes
4answers
173k views

Is there a way to make a fullscreen on VirtualBox?

I tried many ways to make a bigger screen in VirtualBox because I do not like the small size of the guest window? Is there is a way to make it big?
106
votes
5answers
85k views

Which one is better: using ; or && to execute multiple commands in one line?

In tutorials and how-to's I often see commands combined. For instance, sudo apt-get update && sudo apt-get install pyrenamer There seem to be four possible connectors: &, &&, || ...
162
votes
6answers
141k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
23
votes
7answers
178k views

How do I convert .ts files into something useful?

I have a file that ends in .ts, which according to wikipedia is an MPEG2 file. I've never run into a file like this so I want it want the file to be in a more common format/container to use on ...
102
votes
3answers
203k views

How to run sudo command with no password?

How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers? I'm using Ubuntu server 12.04 on ...
162
45
votes
7answers
183k views

Installing Chrome Java Plugin

I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
31
votes
5answers
227k views

How do I remove a folder?

I'm a new user and Im trying to remove a specific folder. I am using sudo rm /path/ but its not working. What is the correct command to use? It is a file catolog I am attempting to remove but im ...
38
votes
5answers
166k views

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server? ...
209
35
votes
7answers
120k views

Installing and testing CUDA in Ubuntu 14.04

I am uncertain about how to install CUDA in my system. looking around there are many tutorials about cuda on 12.04 LTS and a few on 13.04 and 13.10, but they all talk about acquiring a deb package ...
20
votes
15answers
96k views

No sound in Ubuntu except at log in

I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing ...
33
votes
2answers
153k views

How can I install GTK themes on Ubuntu?

How can I install themes in ubuntu 12.10 ? For example, how can I install the following themes on ubuntu: GrayDay Elegant+Eggplant
210
35
votes
5answers
127k views

USB turn write protection off

Hi I have a USB which is write protected: dmesg | tail [10098.126089] sd 7:0:0:0: [sdb] Write Protect is on [10098.126098] sd 7:0:0:0: [sdb] Mode Sense: 23 00 80 00 [10098.126779] sd 7:0:0:0: [sdb] ...
271
120
votes
13answers
233k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
27
votes
3answers
88k views

Flash player not working in 14.04 LTS

Clean install of 14.04 LTS. Single OS. Have installed Chrome for linux, updated, removed, reinstalled 14.04 LTS. No flash. I have done everything from every site I can find, nothing. Using Chrome I ...
45
votes
5answers
55k views

How to install Visual Studio Code on Ubuntu?

I just downloaded VSCode-linux-x64 from the Microsoft website. It's a 62 MB zip file. How can I install it on my Ubuntu system?
39
votes
7answers
222k views

How do I mount an SD card?

My computer has an SD card slot. When I put a working SD card into the slot, nothing happens. When I put a CD or DVD in, or plug in a USB drive, the medium is mounted and available. Is there something ...
55
votes
9answers
253k views

How to remove all files from a directory?

The closest I've gotten is # rm /path/to/directory/*.* but that doesn't work for files that don't have an extension...
93
votes
5answers
263k views

How can you completely remove a package?

I am trying to do a clean install of the octave3.2 package. To do this, I removed it, then tried to reinstall it. When I reinstalled, an error occurred. It could be a bug in the package, but I ...
23
votes
5answers
160k views

How to install and run UNetbootin?

Strangely, but true, you cannot install from the the original site, or run it. So how to install and run UNetBootin?
164
votes
11answers
160k 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 ...
45
votes
6answers
186k views

How do I connect to a WPA wifi network using the command line?

So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
59
votes
48answers
128k views

What download managers are available for Ubuntu?

This question exists as it fills a specific criterion. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu ...
59
votes
8answers
205k views

How to update kernel to the latest mainline version without any Distro-upgrade?

Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of ...
39
votes
9answers
155k views

How do I install applications in Ubuntu?

How can I install applications like Google Chrome on Ubuntu? Are there any commands to install an application? For migrating or future ex-Windows users visiting this question: click here
38
votes
6answers
138k views

How to run an Android emulator in Ubuntu 13.04

Is there any way of doing this in 13.04? If so, can you also provide a step-by-step instruction on how to do it ?
73
votes
1answer
169k views

How do I scan for viruses with ClamAV?

I installed ClamAV via Terminal (Ctrl+Alt+T) with: sudo apt-get install clamav but how can I scan for viruses?
146
votes
10answers
150k 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?
276
58
votes
16answers
151k views

How to install Internet Explorer (multiple versions)?

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how ...
25
votes
2answers
49k views

Ubuntu 14.04 not booting after error message. /tmp could not be mounted

I recently installed Ubuntu 14.04 using WUBI and after installation when it booted it showed an error: Serious errors were found while checking the disk drive for /. There were three options: ...
23
votes
8answers
81k views

Why is my Apache not working after upgrading to Ubuntu 14.04?

[aman@aman-Inspiron-1440:~$ apache2 [Mon Apr 21 17:36:38.019213 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Mon Apr 21 17:36:38.019345 2014] [core:warn] ...
39
votes
3answers
133k views

How to create UEFI-only bootable USB live media?

Having live media that can boot both ways can be a problem when installing Ubuntu onto currently available Windows 8 computers. In other words the key advantage to creating UEFI-only bootable USB ...
52
votes
14answers
124k views

“Failed to spawn mysql main process: unable to execute: No such file or directory”

I'm a newbie on MySQL ground so bear with me. I've just finished upgrading 11.10 to 12.04. Everything seemed to work without any hiccups and all my software and settings are working fine. Apart from ...
153
votes
12answers
146k views

How do I reset my Unity configuration?

I've been messing around with Unity and broke something, how do I "start over"?
269
110
votes
5answers
156k views

How to add a PPA on a server?

The server version of Ubuntu does not have the add-apt-repository command. How can I add a Personal Package Archive (PPA) to the server without this command?
251
17
votes
6answers
176k views

SSH Public Key - No supported authentication methods available (server sent public key)

I have a 12.10 server setup in a virtual machine with its network set to bridged (essentially will be seen as a computer connected to my switch). I installed opensshd via apt-get and was able to ...
166
7
votes
1answer
88k views

How to install an already downloaded .crx file extension in chrome?

It download the .crx file from novell-moonlight-3.99.0.3-x86_64.crx and then went to chrome://extensions/ and drag and drop the file on the chrome windows opened in that address and the ...
13
votes
9answers
67k views

Installing Steam in Ubuntu 14.10

I am currently using Ubuntu 14.10. Steam is showing up in the Ubuntu Software Center, but when I click on it it says: Not found There isn't a software package called "steam" in your current ...
166