Most Popular

1500 questions
104
votes
11 answers

New alert keeps showing up: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001

I just installed a new Ubuntu Server 18.04. I set my hostname hostnamectl set-hostname ****.openbayou.biz and I set /etc/hosts: 127.0.0.1 localhost [ip address] ****.openbayou.biz hostname # The following lines are desirable for IPv6 capable…
Gregory Schultz
  • 1,309
  • 2
  • 8
  • 9
103
votes
5 answers

A tool to measure signal strength of wireless

I want to know if there exists any command line option or GUI tool (Ubuntu 11.10) so that I can measure the strength of wireless signal at a given location. I have a house where the wireless is not easily accessible at all corners I want to know at…
103
votes
5 answers

clamav - ERROR: /var/log/clamav/freshclam.log is locked by another process?

I have installed clamav and I want to to update the files that it uses to identify viruses: $ sudo freshclam ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile =…
Run
  • 2,639
103
votes
8 answers

How to get bash to stop escaping $ during tab completion?

I have this on the command line: ln -sf $PWD/wine- and then I hit Tab to complete the filename. In earlier versions of Ubuntu, this worked just fine to complete the wine- filename (and as a side-effect $PWD would be expanded at that time). But…
keturn
  • 1,257
103
votes
9 answers

How do I modify the options for the power button?

When I press the power button a dialog opens, but I want to shutdown the system without receiving "Do you really really want to shutdown?". How can I choose a direct shutdown action on a pressed power button? I had the same problem with the 11.04…
NaN
  • 1,415
103
votes
5 answers

Why doesn't running "sudo shutdown now" shut down?

When I issue the following: sudo shutdown now ..my newly commissioned Ubuntu 14.04 server doesn't shut down. It stops with the following message: * Stopping System V runlevel compatibility Give root password for maintenance: (or type Control-D to…
Jon Cage
  • 1,133
  • 2
  • 8
  • 7
103
votes
14 answers

How do you set the timezone for crontab?

I have set up ACPI wakeup so my laptop wakes up at a certain time each morning. The timezone for this is UTC. I want to set up my crontabs also using UTC so they fit with the wakeup alarm. How do you do it? I've tried editing /etc/default/cron to…
alj
  • 1,131
103
votes
2 answers

How do I kill a locked SSH session?

From time to time, SSH sessions to my servers just freeze up and then neither Ctrl+C nor Ctrl+\ do anything. How do I quit the session without just closing the Terminal it's in? Clarification: The session is locked as in, no keys are transmitted to…
103
votes
9 answers

What version of Python do I have?

How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).
sigdelsanjog
  • 7,110
103
votes
8 answers

Computer freezing on almost full RAM, possibly disk cache problem

The problem I think is somewhat similar to this thread. It doesn't matter if I have swap enabled or disabled, whenever the real used RAM amount starts going close to maximum and there is almost no space left for disk cache, system becomes totally…
103
votes
9 answers

Please recommend a hex editor for shell

Can you recommend a hex editor that can be run from shell? I need to be able to edit not only view the content.
Aviran
  • 1,181
  • 2
  • 7
  • 9
103
votes
11 answers

Why do I need to type `./` before executing a program in the current directory?

While executing a C program, a.out, using the Ubuntu terminal, why do I always need to type ./ before a.out, instead of just writing a.out? Is there solution for this?
Prashant Chikhalkar
  • 2,411
  • 2
  • 18
  • 25
103
votes
2 answers

What does 'Ign', 'Get' or 'Hit' mean when running an apt-get update?

I had a bunch of errors in the output of sudo apt-get update: duplicate entries and 404 not found errors. Figured those out, I hope: I removed PPAs that didn't have any packages associated with them, then I removed out a duplicate entry in…
bruce
  • 2,887
  • 7
  • 20
  • 22
103
votes
2 answers

Where are the Unity desktop wallpapers located?

Please see the picture below. Where are the Unity desktop wallpapers located?
103
votes
13 answers

How to disable built-in Wi-Fi and use only USB Wi-Fi card?

The built-in Wi-Fi card in my laptop (Dell XPS M1330) is crap, pretty much. I have an Asus USB Wi-Fi card, which is significantly better and works fine. What I'd like to do is disable the built-in Wi-Fi card. Is there a way to do this without having…
Matt
  • 1,031