Most Popular

1500 questions
134
votes
8 answers

How do I change my default browser?

Is there an option to change my default browser for all my applications?
Ederico
  • 6,097
134
votes
8 answers

How do I install openjdk 7 on Ubuntu 16.04 or higher?

I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are listed in the repository. Can anyone point me to…
onairda
  • 3,045
134
votes
4 answers

How to fix apt: Signature by key uses weak digest algorithm (SHA1)?

I started setting up by adding repositories and then went to run a sudo apt-get update again before I started installing other software, and I get the Signature key lines and it stops. So it essentially won't let me update any packages…
dlchang
  • 1,441
  • 2
  • 10
  • 4
134
votes
10 answers

16.04 upgrade broke mysql-server

My overall upgrade went well, but I am left with a critically lingering issue of mysql-server not being able to install itself, and nothing I am trying gets it to work. This is the error I see when trying to install/reinstall it: Setting up…
TheGremlyn
  • 2,774
134
votes
7 answers

What's the difference between package managers?

What are the differences between apt-get, aptitude, and synaptic, and which one is the recommended choice for normal day-to-day package management? This is a basic question, but I think it'd be good information to have on the site, and besides I am…
David Z
  • 10,301
134
votes
11 answers

How to copy & paste from Ubuntu VirtualBox guest to Windows host?

I am running VirtualBox 4.1.4 on my Windows 7 laptop, running an Ubuntu 11.10 guest. I would like to copy text from Ubuntu's terminal and paste it into a file on the Windows host. This doesn't work for some reason. Any ideas?
Misha Moroshko
  • 1,599
  • 4
  • 13
  • 9
134
votes
2 answers

External links are opened as blank tabs in new browser window in Chrome

Since I installed Ubuntu (fresh install on a new machine), and set Google Chrome as default browser, whenever I open links from external apps these are open as blank tabs in new browser window (no actual redirection to site, just a blank tab). I…
unfulvio
  • 1,655
134
votes
1 answer

What are the implications of --no-install-recommends (apt-get install)?

When I install packages using --no-install-recommends, can I say only packages listed here (Ubuntu Package Search) as "depends" are installed? I ask because I suspect some problems with boot might be caused by some packages not being installed. Some…
Jiew Meng
  • 10,347
134
votes
4 answers

Extract part of a video with a one-line command

If I have a video, normally avi, but could be any, and I want to create another one in the same format but just a part, the position i seconds to f seconds into the video, what is the one-line command to do this?
Strapakowsky
  • 11,914
134
votes
5 answers

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t "exfat" -o…
Iuliu
  • 1,473
134
votes
6 answers

What is the purpose of the 'nobody' user?

After I read List all human users I noticed that there is a user account named 'nobody' in my Ubuntu system. Also I noticed that I can login in this account from terminal using the following command and my password: sudo su nobody It doesn't mind…
Radu Rădeanu
  • 169,590
134
votes
6 answers

Reattaching to an existing screen session

I have a program running under screen. In fact, when I detach from the session and check netstat, I can see the program is still running (which is what I want): udp 0 0 127.0.0.1:1720 0.0.0.0:* …
JohnMerlino
  • 7,309
134
votes
7 answers

What does "Ctrl + Alt + F12" do?

I accidentally pressed Ctrl+Alt+F12 and my display turned to black... I then had to make a reboot.. What did it do to my system? Also what does Alt+ F8 to F10 do?
user146550
  • 1,341
134
votes
13 answers

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people do to secure their servers.
133
votes
10 answers

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And I want to get a new string called in someway (like string2) with the original string without the two | characters at the start and at the end of it so that I will have this: abcdefg Is that possible in…