Most Popular

1500 questions
305
votes
11 answers

How can I configure Unity?

Are there any configuration options for the Unity desktop? There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below (How can I tell which Ubuntu release I'm…
tchewning
  • 1,441
305
votes
9 answers

Find a file by name using command-line

I would like to determine the location of a file using command-line. I have tried: find . -type f -name "postgis-2.0.0" and locate postgis-2.0.0 to no avail. What is the command to determine the file's directory, provided its name?
Sam007
  • 4,383
304
votes
24 answers

How can I install software or packages without Internet (offline)?

I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?
akshatj
  • 13,226
304
votes
11 answers

How do I search my command-line history for commands I used before?

Other than viewing the history, is there a way to filter my history? Say I want to search for a command that started with "ssh"?
Blankman
  • 8,275
304
votes
18 answers

How can I securely erase a hard drive?

I'm planning on selling a USB external hard drive that currently contains an old Ubuntu installation with stored passwords and banking information. How can I securely erase the drive before selling it?
ændrük
  • 76,794
303
votes
5 answers

Avoiding user interaction with tzdata when installing certbot in a docker container

I want to install certbot in a docker environment with an Ubuntu 16.04 image: For example: docker run -it ubuntu:16.04 /bin/bash When I'm inside the container, the most straightforward way to install certbot does not work as it requires user…
303
votes
6 answers

Why is swap being used even though I have plenty of free RAM?

I thought the whole essence of swap was to act as a temporary storage safety net when RAM was full but my swap partition is constantly being used even though I sometimes have as much as 3GB free RAM. Is this normal?
Mysterio
  • 12,018
301
votes
6 answers

How do I find out which process is eating up my bandwidth?

I think I'm being the victim of a bug here. Sometimes while I'm working (I still don't know why), my network traffic goes up to 200 KB/s and stays that way, even tough I'm not doing anything internet-related. This sometimes happens to me with the…
Malabarba
  • 10,196
301
votes
7 answers

ssh: automatically accept keys

I've written this small utility script: for h in $SERVER_LIST; do ssh $h "uptime"; done When a new server is added to $SERVER_LIST, the script is stopped with: The authenticity of host 'blah.blah.blah (10.10.10.10)' can't be established. RSA key…
Adam Matan
  • 12,519
300
votes
9 answers

How do I add SSH Keys to authorized_keys file?

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, and can fix the file, but when I try to put my…
Dave Long
  • 3,386
300
votes
2 answers

How do I check my version of GNOME-Shell?

There's got to be some simple way I'm missing, but for the life of me I can't find it. How do I check my version of GNOME-Shell?
thimoteus
  • 3,445
300
votes
4 answers

Big /var/log/journal?

I don't understand why the /var/log/journal/ folder is so big. For example, by executing the command systemctl -f, i see the fill. If I click on an email on Thunderbird, it generates dozens of lines that I consider useless. Currently, I have more…
Bristow
  • 3,042
298
votes
8 answers

How can I fix apt error "W: Target Packages ... is configured multiple times"?

I just installed Ubuntu Gnome 16.04. I told it to save my documents - which worked. Some software had to be reinstalled. Now when I run sudo apt-get update I see this: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in…
Tim
  • 32,861
  • 27
  • 118
  • 178
298
votes
5 answers

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
Stann
  • 15,116
297
votes
46 answers

How to fix "The system is running in low-graphics mode" error?

Note: This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space,…
jokerdino
  • 41,320