Most Popular

1500 questions
113
votes
4 answers

How do I set default view to 'list' in Nautilus file manager?

I would like to set my Nautilus "Default view" to List globally on my PC. Is this possible, if so, how do I achieve this? Linked Question (old)
stephenmyall
  • 9,895
113
votes
3 answers

Latest update to Thunderbird 60.2.1 on 18.04 - Lightning calendar missing

After completing an Ubuntu automatic software update (15 Oct 2018) that included Thunderbird 60.2.1 the Lightning calendar is now missing. When I click on Thunderbird's Add-On tab to see if there's an update for Lightning I'm told that all the…
112
votes
7 answers

What is the difference between "chmod +x" and "chmod 755"?

When it comes to making a file executable what is the difference between chmod 755 and chmod +x and when would I use which? I so far have only used chmod +x and I just read something and it used chmod 755 and I could not tell whether or not it was…
Darth4212
  • 1,338
112
votes
8 answers

Print a 256-color test pattern in the terminal

How do I print a 256-colour test pattern in my terminal? I want to check that my terminal correctly supports 256 colours.
Tom Hale
  • 3,758
112
votes
8 answers

systemctl failed to connect to bus - docker ubuntu:16.04 container

I'm trying to use the systemctl command in a ubuntu:16.04 docker container. I'm running the following command... systemctl status ssh However I'm getting the error... Failed to connect to bus: No such file or directory Why is this not working? Is…
112
votes
8 answers

How can I install CuDNN on Ubuntu 16.04?

For TensorFlow I would like to install cuda and CuDNN. How do I do that on Ubuntu 16.04?
Martin Thoma
  • 20,605
112
votes
11 answers

Uncomplicated Firewall (UFW) is not blocking anything when using Docker

This is my first time setting up an Ubuntu Server (14.04 LTS) and I am having trouble configuring the firewall (UFW). I only need ssh and http , so I am doing this: sudo ufw disable sudo ufw reset sudo ufw default deny incoming sudo ufw default…
ESala
  • 2,921
112
votes
10 answers

How to start MongoDB server on system start?

I have to start my MongoDB server every time the system restarts. How do I configure it to start with my OS? I am on Ubuntu 11.04.
Pankaj
112
votes
5 answers

Changing colour of text and background of terminal?

I can change the colour through preference , but how can I change the background colour and text colour of terminal through the command line?
sigdelsanjog
  • 7,280
112
votes
2 answers

Remove Spotify pop-up notification when a song starts

I would like to remove the bubble notifications of Spotify that are shown when a new song is being played. This is quite distracting while you are working. I still like the integration within the volume menu. Ubuntu Version: 14.04 Spotify Version:…
Israel Varea
  • 1,223
112
votes
7 answers

How can I turn off swap permanently?

Swap makes my system all sluggish and turning it off makes everything smoother. I have 3.5 GB of RAM. I know how to turn swap off by entering sudo swapoff -a in the terminal, but that's just for the current session, because after a reboot swap turns…
Alex Li
  • 1,321
112
votes
12 answers

List all MAC addresses and their associated IP addresses in my local network (LAN)

How can I list all MAC addresses and their associated IP addresses of the machines connected to my local network (LAN)?
Maythux
  • 87,451
112
votes
3 answers

What are some good GUI diff and merge applications available for Ubuntu?

What are some alternatives to WinMerge and the pros and cons of each?
112
votes
8 answers

git config global file - remove settings

The following command: $git config --global --list gives me: user.name=test user user.name=gotqn I want to remove the first name. I referred to this article and have done the following commands but without any result: git config --global…
gotqn
  • 2,077
  • 7
  • 30
  • 38
112
votes
9 answers

How do I fix a "E: The method driver /usr/lib/apt/methods/http could not be found." error?

I tried updating my packages from the terminal and this is what I got: $ sudo apt-get update E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver…
Abe
  • 1,129