Most Popular

1500 questions
163
votes
2 answers

What is the "show desktop" keyboard shortcut?

I just upgraded to 11.10 from 11.04. Previously the shortcut to show the desktop was Super +D (same as in Windows), But now it is not working. What is the new shortcut?
aneeshep
  • 30,949
163
votes
13 answers

How to install "perf" monitoring tool?

How do I install the perf monitoring tool?
samarasa
  • 4,971
163
votes
2 answers

How to install Skype 4.3?

Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to a newer answer of our canonical Skype installation…
tuxtu
  • 3,175
  • 9
  • 30
  • 44
163
votes
6 answers

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?
Luis Alvarado
  • 216,643
163
votes
4 answers

What is the difference between `ssh -Y` (trusted X11 forwarding) and `ssh -X` (untrusted X11 forwarding)?

What is the difference between ssh -Y (trusted X11 forwarding) and ssh -X (untrusted X11 forwarding)? As far as I have understood it, it has something to do with security, but I did not grasp the difference and when to use which.
163
votes
5 answers

Why have both /mnt and /media?

It seems to me that having both /mnt and /media is a little redundant. Is there any tangible difference between the two that I'm not aware of? Is there a standard that most people follow for where to mount things, e.g. use one for certain types of…
goric
  • 3,916
163
votes
12 answers

How to determine whether a process is running or not and make use it to make a conditional shell script?

How can I determine if a process is running or not and then have a bash script execute some stuff based on that condition? For example: if process abc is running, do this if it is not running, do that.
Nirmik
  • 7,938
163
votes
7 answers

How do I change my timezone to UTC/GMT?

Currently when I execute the date command from bash I get the following displayed Thu May 17 12:21:00 IST 2012 Below is my timezone config based on executing dpkg-reconfigure tzdata Current default time zone: 'Europe/Dublin' Local time is now:…
dmckenna
  • 1,733
163
votes
8 answers

Pip is not working: ImportError: No module named 'pip._internal'

Running pip or pip3 results with: Traceback (most recent call last): File "/home/myuser/.local/bin/pip", line 7, in from pip._internal import main ImportError: No module named 'pip._internal' I had issues with this, and uninstalled pip3,…
Keweik
  • 1,731
162
votes
9 answers

After modifying /etc/hosts which service needs to be restarted?

After modifying /etc/hosts, which service(s) need(s) to be restarted for the change to take effect?
Ashish Karpe
  • 2,557
  • 3
  • 20
  • 24
162
votes
3 answers

Process 'niceness' vs. 'priority'

When running top, I can see this (shortened) example output: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4586 ipc-adm+ 20 0 1303900 605152 92844 S 30,6 29,3 3:52.88 firefox 3985 ipc-adm+ 20 0 258588…
Byte Commander
  • 110,243
162
votes
3 answers

How do I install svn?

I am trying to install svn and am running into issues. The command I am running is sudo apt-get install svn. When I run this, I get the error "Unable to locate package svn". Why is this? How do I fix it?
coffee
  • 1,621
162
votes
4 answers

How do I remove all files that match a pattern?

When I revert in Mercurial, it leaves several .orig files. I would like to be able to run a command to remove all of them. I have found some sources that say to run: rm **/*.orig But that gives me the message: rm: cannot remove `**/*.orig': No such…
JD Isaacks
  • 5,497
162
votes
6 answers

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can configure DNS and remove dnsmasq on ubuntu server? I am…
Asta-Risky
  • 1,635
162
votes
14 answers

How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?)

I want to change the key bindings on some of the keys on my keyboard. I want some to run commands and others to activate different keys. What applications can I use to do this? Index: Xbindkeys Default keyboard and shortcut settings (from…
Seth
  • 59,332