Greatest Hits

51
votes
9answers
211k 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
16
votes
4answers
172k views

A “failed to fetch” error occurs when apt-get update is run. How do I fix this?

Contrary to the note above, I haven't found the answer to my problem. I have read almost a dozen apt-get update questions, most from askubuntu.com, with "failed to fetch" errors and tried the ...
132
votes
4answers
200k 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?
35
votes
5answers
284k 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 ...
217
votes
14answers
312k views

How do I start applications automatically on login?

How can I make an application automatically start when I have logged in?
216
101
votes
7answers
188k 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 ...
76
votes
2answers
204k views

How to install gcc-4.8

I checked the gcc version on my system. It is currently at 4.6.3. I read that gcc-4.8 is out. I tried the following commands without success: sudo apt-get install gcc (gcc is already the newest ...
37
votes
8answers
181k views

How to install vmware tools?

I installed my Ubuntu in vmware, no I need install vmware tools, I got error: Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes] In ...
145
votes
6answers
120k 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 ...
43
votes
5answers
156k 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] ...
321
399
votes
10answers
386k 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 ...
191
29
votes
3answers
24k views

Problem with .deb packages on Ubuntu 16.04

This bug has now been fixed upstream. An update has been issued. If you still cannot install, ensure you have updated fully, and then restart your computer. I am trying to install downloaded DEB ...
49
votes
10answers
128k views

How do I install Adobe Acrobat Reader from the repository?

How do I install Adobe Acrobat Reader in Ubuntu 14.04 using a Trusty apt repository? This is NOT a duplicate of How do I install Adobe Acrobat Reader?. In Synaptic > Repositories > Other ...
83
votes
4answers
302k 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 ...
81
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 ...
75
votes
5answers
211k 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?
105
votes
5answers
330k 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 ...
29
votes
3answers
219k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast 192....
108
votes
4answers
241k 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 ...
24
votes
7answers
183k 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 ...
286
199
votes
6answers
183k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
170
votes
10answers
185k 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?
327
104
votes
11answers
300k 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, ...
233
44
votes
3answers
306k 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)
197
240
votes
13answers
147k 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?
254
votes
5answers
240k 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 ...
22
votes
6answers
222k 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
108
votes
5answers
198k 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 ...
69
votes
7answers
161k 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 ...
296
48
votes
10answers
26k 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 ...
133
votes
3answers
307k 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 ...
23
votes
5answers
177k 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 ...
91
votes
1answer
209k 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?
27
votes
7answers
212k 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 ...
132
votes
7answers
219k 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 ...
49
votes
3answers
176k 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 ...
40
votes
3answers
232k 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-...
32
votes
6answers
134k 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, ...
143
113
votes
18answers
171k views

How do I free up disk space?

My Ubuntu cloud server has left only 900MB of disk space. I'll just empty the directory /tmp and wondering if there is any other location to clean up.
317
132
votes
6answers
204k 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 ...
286
30
votes
2answers
164k views

How to unzip .tgz file using the terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
69
votes
3answers
152k 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....
168
73
votes
8answers
242k 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 ...
173
votes
2answers
243k 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 ...
207
167
votes
4answers
226k 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 ...
129
votes
17answers
218k 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.. ...
120
votes
8answers
212k views

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
115
votes
5answers
268k 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 ...
95
votes
5answers
278k views

How to create an empty file from command line

How can I create an empty file from the command line?
46
votes
5answers
176k views

Create default home directory for existing user in terminal

How do I do this? I created a user without a home directory and now I want to create one. Not just a folder called new_user, I want the default home directory with all it's folders and hidden files, ...