Most Popular
1500 questions
217
votes
4 answers
How do I restore the default repositories?
There are now errors when updating and I cannot install most software due to a corrupted
/etc/apt/sources.list
file. Is there a copy I can download to replace it?
The file would be for Ubuntu 12.04 (Final Beta) in the United States.

Andy Castille
- 2,616
216
votes
6 answers
How to remove symbolic link
I was trying to create this symbolic link:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
but I accidentally typed:
sudo ln -s /usr/share/php,yad,in /var/www/phpmyadmin
So now I want to correct it but it says symbolic link already exist.

James
- 2,169
- 2
- 13
- 3
216
votes
18 answers
How to change LCD brightness from command line (or via script)?
To work around bug #1005495 (changing LCD brightness via hotkeys impossible), I'd like to have one command line query for increasing and one for reducing the brightness of my LCD. I could then map a hotkey to each one of this queries.
The problem…

user69748
- 2,373
215
votes
4 answers
How can I install a package without root access?
I have no root access on this machine.
I would like to know if there is a way I can download Ubuntu packages and install them as non-root?
Probably in my ~/bin or ~/usr/share or something like that? Would that work?

Weboide
- 10,493
215
votes
6 answers
Why are hard links not allowed for directories?
I am using Ubuntu 12.04. When I try to create a hard link for any directory, it fails. I can create hard links for files inside file system boundary. I know the reason why we cannot create hardlinks for files beyond file system.
I tried these…

Nischay
- 3,693
214
votes
15 answers
How to mount an ISO file?
I'm running into trouble trying to mount a large iso:
dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom
mount: warning: /cdrom seems to be mounted read-only.
dev@dev-OptiPlex-745:~$
Can you tell me how I…

Niklas Rosencrantz
- 3,337
214
votes
4 answers
How to make Gimp run as a single window?
Gimp is nice, but the one thing that drives me nuts is that everything floats around in front of each other, often hiding the main window and forcing me to minimize all open windows until I find the one floating window that I am looking for.
I'd…

Torben Gundtofte-Bruun
- 10,454
214
votes
5 answers
WSL: Am I running version 1 or version 2?
I have Windows Subsystem for Linux, but I don't know which version I have, and many things won't work in version 1. How do I check my version?

K7AAY
- 17,202
213
votes
11 answers
Annoying flickering in 16.04 LTS - Chrome
I've upgraded from 4.4.0 to 4.4.8 and then 4.5.2 on Ubuntu 16.04 LTS 64-bit, and it's still happening.
At 4.5.2 it's even more frequent, and mainly in Chrome (haven't tried firefox or opera just yet). Every time I open a new web page. Any way to…

Mookey
- 4,801
213
votes
28 answers
How do I download a YouTube video?
What are instructions on how to download videos from YouTube?
Notice: Terms of Service Violation
Please be aware that by following any of the answers below, you will be violating YouTube's Terms of Service (TOS). In particular, from Section…

cathy
- 203
213
votes
9 answers
How do I add swap after system installation?
I did not create a swap partition during Ubuntu installation. Later, I freed up some space and made a swap partition. Now after each boot up, I am manually opening gparted to right-click the swap partition to turn on the 'swapon' option.
How can I…
user13593
213
votes
2 answers
How to add programs to the Unity Launcher or Ubuntu Dock?
How can I add new programs to the launcher (or the dock in Ubuntu 17.10 and later) in Ubuntu?

Michał Tabor
- 2,822
212
votes
12 answers
What is the command to update time and date from internet
What is the command to update time and date from Internet? Is there any application that allows me to do so from its user interface rather than from the shell?

Vikramjeet
- 5,566
212
votes
8 answers
Is there a way to create multiple directories at once with mkdir?
If I wanted to create multiple directories (on the same level) and then feed it a comma seperated list of directory names (or something to that effect)?

BGroat
- 2,295
211
votes
1 answer
How to append tee to a file in Bash?
These are commands I type in the terminal
echo -e "First Line" | tee ~/output.log
echo -e "Second Line" | tee ~/output.log
When I look in the file output.log I only see 'Second Line'. How can I make sure that tee appends (rather than wipes out the…

Bluebeep
- 2,271