Greatest Hits

80
votes
2answers
75k views

Diskfilter writes are not supported > What triggers this error?

This message occurs when leaving the Grub menu and before the Ubuntu splash screen. How do I fix the problem to clear the message? And what doe is it mean? error: Diskfilter writes are not ...
68
votes
9answers
306k 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...
213
votes
14answers
305k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
209
26
votes
4answers
163k views

How to check opened/closed port on my computer?

I was wondering how to check the opened/closed port on my computer. I used netstat -a on command line, Is the port status "LISTENING" indicated that the port is opened? Any port that are not shown in ...
64
51
votes
9answers
200k 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
108
votes
4answers
235k views

How to setup an Access Point mode Wi-Fi Hotspot?

How to setup an Access Point mode Wi-Fi Hotspot? Point to be noted: Wireless hotspots aren't the same as ad hoc networks. There is significant difference between the two. In short, ad hoc networks ...
101
votes
7answers
183k 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 ...
395
votes
10answers
378k 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 ...
185
181
votes
11answers
201k 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 ...
104
votes
5answers
321k 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 ...
73
votes
5answers
206k views

What is the equivalent of 'Control-Alt-Delete'?

On Windows anytime the system hangs Ctrl-Alt-Del brings up the Start Up Manager, from which you can end the program or process causing the hang. Is there any command like this on Ubuntu?
83
votes
4answers
296k views

Difference between the i386 download and the amd64?

What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download ...
188
votes
6answers
177k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
252
votes
5answers
237k views

What is the 'whoopsie' process and how can I remove it?

On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name. Google seems to imply that it has something to ...
42
votes
5answers
151k 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] ...
313
44
votes
3answers
299k 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)
195
239
votes
13answers
146k views

How can I remove Amazon search results from the dash or disable the feature?

How can I disable Amazon search results in the Unity dash?
72
votes
3answers
223k views

How to set JAVA_HOME for Java?

I've installed a version of Java. How can we set the $JAVA_HOME environment variable correctly?
214
89
votes
6answers
73k views

No Dropbox icon in the indicator panel?

I have recently installed Ubuntu on my machine and everything has been working fine, except I don't see the Dropbox indicator. I have installed and re-installed Dropbox multiple times and can confirm ...
24
votes
7answers
179k 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 ...
278
57
votes
2answers
176k views

Change password on root user and user account

Just want to ask, if i change the password on the root user, is that going to automatically change the password to on the user account? i found this link to change the root user http://www.wikihow....
140
22
votes
6answers
215k 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 ...
207
167
votes
10answers
180k 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?
324
102
votes
11answers
292k 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, ...
228
125
votes
4answers
192k views

Find and replace text within a file using commands

How can I find and replace specific words in a text file using command line?
69
votes
6answers
157k views

Global Installation of Composer (manual)

I followed composer manual (global installation of composer (manual)) to install composer on Ubuntu. $ ll /usr/local/bin/ total 4760 drwxr-xr-x 2 root root 4096 2012-03-29 08:29 ./ drwxr-xr-x 10 ...
292
89
votes
1answer
203k 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?
22
votes
5answers
170k views

How to compile a python file?

I have started learning python and I'm also a new user to Ubuntu. I need to know the ways of compiling the .py files. I have tried with the command python "hello.py" What are the other ways of ...
47
votes
3answers
169k 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 ...
43
votes
10answers
23k views

Dropbox icon is not working Xubuntu 14.04 LTS 64

A few hours ago the dropbox icon in Xubuntu 14.04 stopped working. The icon is black with a red slashed zero. I cannot click on it to bring up the dropbox menu. I believe there was an update right ...
27
votes
7answers
206k 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 ...
106
votes
5answers
190k views

Execute sudo without Password?

Inspired by this question.... I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way). However I was ...
172
votes
2answers
240k views

How do I install different (upgrade or downgrade) PHP version in still supported Ubuntu release?

I am trying to update to install PHP 5.5, 5.6 or 7.0 in Ubuntu 12.04/14.04/16.04 LTS, and I can only get PHP 5.3.10 for Ubuntu 12.04, PHP 5.5.9 for Ubuntu 14.04 or PHP 7.0.4 for Ubuntu 16.04 using ...
203
128
votes
3answers
297k views

How can I configure a service to run at startup

I have a daemon that runs fin if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
132
votes
5answers
97k 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 ...
31
votes
6answers
127k views

Why do I get “wrong fs type, bad option, bad superblock” error?

When mounting an NFS directory by doing: sudo mount 192.168.1.5:/home/shared /mnt/common I get the following error: mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, ...
136
130
votes
7answers
211k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name ...
42
votes
8answers
123k views

How do I delete the entire history (Recently Used Items) in the dash?

I want to delete all the history of the unity dash about files, videos, text files, images, etc. I find it surprising that the best thing that activity log manager can do is to delete the history of ...
67
votes
2answers
146k views

How to disable IPv6 in Ubuntu 14.04?

I am using Ubuntu 14.04. And I have done the following to disable ipv6. I have open /etc/sysctl.conf using gedit and paste the following lines at the end of sysctl.conf. net.ipv6.conf.all....
161
31
votes
8answers
100k 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] [...
70
votes
8answers
236k 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 ...
124
votes
17answers
212k 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.. ...
115
votes
5answers
262k views

How do I add a user to the “sudo” group?

In /etc/sudoers I see this: # Allow members of group sudo to execute any command after they have # provided their password # (Note that later entries override this, so you might need to move # it ...
128
votes
6answers
197k views

Is it possible to remove a particular host key from SSH's known_hosts file?

Is it possible to remove a particular host key from SSH's known_hosts file? I usually end up deleting the entire known_hosts file, which I have no problems with doing, but just out of curiosity, is ...
281
37
votes
3answers
222k views

How to Search for Files Recursively into Subdirectories

I am trying to look for all XML files in a particular directory and all sub-directories (recursively) inside it. ls -R *.xml is only listing files in the current directory. I am quite sure, the sub-...
162
votes
4answers
218k views

What do the different colors mean in the terminal?

What do the different colours in Ubuntu's terminal mean? For example, when I type the ls command in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with ...
25
votes
1answer
164k views

How to solve jitter (or stutter) playback via Chrome flash plugin?

Since the update to 12.04, there's been a problem specifically related to audio/video playback in Google Chrome. The problem only affected the Google version but not the Chromium nor the Firefox ...
92
votes
6answers
200k views

What happened to the ia32-libs package?

The ia32-libs package is no longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download?
235
137
votes
6answers
203k views

How to list all variables names and their current values?

Including not only $HOME, $PWD etc but any other you have defined.
8
votes
4answers
100k views

Broadcom B43 WiFi not working in Ubuntu 14.04 LTS

I have installed Ubuntu 14.04 LTS on my laptop. Under the networking menu at the top, it is not showing any WiFi options. How can I get Wifi working in Ubuntu 14.04 LTS? I have a Broadcom BCM4311 ...