Most Popular
1500 questions
470
votes
3 answers
How do I configure swappiness?
I need a step-by-step, simple and easy way to configure swappiness.

One Zero
- 27,153
- 26
- 88
- 109
465
votes
8 answers
Easiest way to copy ssh keys to another machine?
I am lazy at home and use password authentication for my home machines. I am ready to move to key based authentication. There are many options on the web on how to do this, including catting then sshing the key over, scping the key over directly,…

Jorge Castro
- 71,754
465
votes
18 answers
How to force a clock update using ntp?
I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time.
I added the following line to /etc/rc.local…

ysap
- 6,981
464
votes
16 answers
How can I edit/create new launcher items in Unity by hand?
Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs.
For some programs I use, I have to make custom launchers or .desktop…

Ike
- 5,112
460
votes
12 answers
How do I move all files from one folder to another using the command line?
I would like to know how could I move all files from a folder to another folder with a command line.
Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my Videos folder, without having to write all the files…

Michael
- 4,601
454
votes
12 answers
How do I upgrade to a newer version of Ubuntu?
What are the different ways I can use to upgrade Ubuntu from one release to another?

rakshith
- 1,249
453
votes
3 answers
Mount error: "unknown filesystem type 'exfat'"
When trying to mount an exfat filesystem, I get the following error:
Error mounting /dev/sda6 at /media/gkp/Backup: Command-line
`mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/gkp/Backup"'
exited with non-zero exit status…

Ganesh
- 4,539
452
votes
19 answers
How do I check the battery's status via the terminal?
I would like a command that displays the battery status in the terminal.

Joe
- 4,521
452
votes
8 answers
How do I change the GRUB boot order?
I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them.
Currently the boot order looks like the following:
Ubuntu 11.10…

chrisjlee
- 10,786
451
votes
9 answers
How do I install Python 3.6 using apt-get?
I've tried the normal way, sudo apt-get install python3.6, but... well... that didn't work.
So, how would I go about it? (I'd preferably not build it on my own)
I'm using Ubuntu 16.04.

Olian04
- 4,653
451
votes
9 answers
How to remove all files from a directory?
The closest I've gotten is
# rm /path/to/directory/*.*
but that doesn't work for files that don't have an extension...

user784637
- 10,955
449
votes
22 answers
Trouble downloading packages list due to a "Hash sum mismatch" error
When I check for updates, I get a "Failed To Download Repository Information" error.
This is what comes up under details:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum…

Rob
- 12,820
448
votes
10 answers
How to get to the GRUB menu at boot-time?
My system is not dual-boot, I run a standard Ubuntu desktop system "on the metal" (I think running it in a VM is the same).
Pressing c while booting does not cause the GRUB menu to appear (which I believe it does for a dual-boot system).
How can I…

Peter.O
- 24,681
447
votes
3 answers
How can I break out of ssh when it locks?
I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no effect.
It's annoying to have to restart my…

Wayne Werner
- 6,712
445
votes
34 answers
How can I deactivate Bluetooth on system startup?
How can I deactivate Bluetooth on system startup?

Floqqi
- 4,467