Most Popular

1500 questions
150
votes
7 answers

Can't upgrade due to low disk space on /boot

I try to do do-release-upgrade but then I get: Not enough free disk space The upgrade has aborted. The upgrade needs a total of 25.7 M free space on disk '/boot'. Please free at least an additional 25.7 M of disk space on '/boot'. Empty your…
clamp
  • 1,699
150
votes
14 answers

Headphone jack not working?

I have a Dell Studio XPS 1647 and headphones do not work (though , internal speakers work like a charm) , I have dual boot Windows 7 and headphones work perfectly fine ... I also tried -adding in options snd-hda-intel model=eapd probe_mask=1…
149
votes
7 answers

How can I restore configuration files?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file. Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't…
Isaiah
  • 59,344
149
votes
10 answers

How do you update npm to the latest version?

I'm having issues with npm in a Vagrant box I'm setting up. I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release. It is my understanding that you should be able to update npm using npm install -g…
149
votes
12 answers

How to install "perf" monitoring tool?

How do I install the perf monitoring tool?
samarasa
  • 4,711
149
votes
6 answers

How to install VirtualBox from command line?

I am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the apt-get install way, because I find it safer, less buggy, and it helps me accommodate more with the…
149
votes
4 answers

How can I recursively search for directory names with a particular string where the string is only part of the directory name

How can I recursively search for directory names with a particular string where the string is only part of the directory name? For example: the directory name is "8.0.3-99966_en", but I want to recursively search for directories with the string…
Bob Perez
  • 1,591
148
votes
10 answers

How to install a LibreOffice Language Tools (Spelling Check, Thesaurus...)

What are the steps to install the Spelling Check and other language supports for LibreOffice. For example spanish, french, italian, etc..
Luis Alvarado
  • 211,503
148
votes
3 answers

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this in Ubuntu? I'm sure this is a duplicate,…
Seth
  • 58,122
148
votes
5 answers

What is the equivalent of the "tracert" DOS command?

tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
Vipin Verma
  • 5,454
148
votes
12 answers

Is there a way to disable a laptop's internal keyboard?

A week ago, I spilt the contents of my cup onto my laptop keyboard. Half of the keys no longer work, except one! The letter Q which is very active regularly. This is very disturbing as I work. Is there a way to disable the internal keyboard of a…
atmon3r
  • 1,593
148
votes
4 answers

How do I change mirrors in Ubuntu Server from regional to main?

I have a Lucid Server (10.04) set up and I would like to change the mirror from US (or any other country) to the Main Ubuntu Mirror. For example my two first entries in sources.list are: deb http://us.archive.ubuntu.com/ubuntu/ lucid main…
147
votes
5 answers

var/cache/apt/archives occupying huge space

I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
Vivek
  • 3,749
147
votes
9 answers

How could I list all super users?

I want a command to list all users who have root privileges i.e. sudo ? Suppose I'm a sudoer user. How could I know all other sudoer users?
Maythux
  • 84,289
147
votes
1 answer

Give user write access to folder

How do i give the user 'testuser' write privileges on the folder: /var/www/test/public_html
RSM
  • 1,595