Most Popular

1500 questions
399
votes
12 answers

How can I stop being prompted to unlock the 'default' keyring on boot?

Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring. Is there some way this can unlock automatically through PAM or some other magical way?
Oli
  • 289,791
  • 117
  • 680
  • 835
399
votes
5 answers

What does 2>/dev/null mean?

I would like a brief explanation of the following command line: grep -i 'abc' content 2>/dev/null
Naive
  • 4,745
  • 11
  • 26
  • 35
399
votes
7 answers

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 with error logs but I'm not finding too much…
Nanne
  • 8,585
  • 5
  • 40
  • 50
398
votes
6 answers

How do I turn on workspaces? (Why do I only have one workspace?)

It appears that Unity on Raring only comes with a single virtual desktop (aka workspaces) by default, and CCSM's Wall plugin has no way to add more. Is this configurable at all?
Bo Dang Ren
  • 5,644
  • 4
  • 18
  • 20
397
votes
5 answers

How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement. ┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐ │ …
Peter
  • 4,493
  • 5
  • 20
  • 18
396
votes
4 answers

Why use apt-get upgrade instead of apt-get dist-upgrade?

I usually use apt-get update && apt-get upgrade to run my updates and upgrades instead of the GUI because it seems to run more quickly. However, I've noticed lately that I often get a message that one of my upgrades was held back. I then usually…
jimchristie
  • 4,827
  • 5
  • 24
  • 35
394
votes
6 answers

How to download a file from a website via terminal?

Suppose that we have a full URL of desired file e.g. http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz I would like to go without installing a new software. Is it possible? Command cp …
0x6B6F77616C74
  • 4,043
  • 3
  • 14
  • 12
392
votes
4 answers

Failed to load module “canberra-gtk-module” .... but already installed

Gtk-Message: Failed to load module "canberra-gtk-module" but I already have the libcanberra-gtk-module and libcanberra-gtk3-module installed. (i.e. I tried this solution, but it is already installed.) This happens for instance, when I run ipython…
cmo
  • 6,198
  • 5
  • 16
  • 14
392
votes
6 answers

Clock time is off on dual boot

Dual boot system Windows XP Pro and Ubuntu 12.04. I have the bios set for the correct time and Ubuntu set for US Eastern time. Ubuntu will boot up and the time will be off by -4 hours. If I correct the time in Ubuntu then when I boot up in Windows…
Bill Walden
  • 3,921
  • 3
  • 14
  • 3
391
votes
7 answers

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
michael
  • 5,879
  • 9
  • 26
  • 27
391
votes
11 answers

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 it possible to remove just a single entry? I…
theTuxRacer
  • 15,945
  • 22
  • 71
  • 91
390
votes
15 answers

How do I install fonts?

How do I install fonts on Ubuntu Linux? I need them to be available in gimp.
myusuf3
  • 33,569
  • 41
  • 88
  • 103
388
votes
8 answers

How is the /tmp directory cleaned up?

How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
Olivier Lalonde
  • 57,431
  • 62
  • 125
  • 146
386
votes
14 answers

Command-line to list DNS servers used by my system

Is there a command to list dns servers used by my system? I tried $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE…
Anurag Uniyal
  • 4,024
  • 2
  • 16
  • 13
385
votes
10 answers

How to check if a command succeeded?

Is there any way to check if there is an error in executing a command? Example : test1=`sed -i "/:@/c connection.url=jdbc:oracle:thin:@$ip:1521:$dataBase" $search` valid $test1 function valid () { if $test -eq 1; then echo "OK" else echo…
moata_u
  • 5,273
  • 10
  • 29
  • 27