Most Popular

1500 questions
139
votes
3 answers

Why is my network interface named enp0s25 instead of eth0?

A lot of my scripts stopped working after installing Ubuntu 15.10 and I have trouble remembering this new name as I was used to ethx and wlanx for years. Is there a reason for this change? Do I have to get used to this or can I just rename it and go…
Mike
  • 5,691
139
votes
12 answers

Apache not able to restart

Trying to restart apache from terminal using the following command: sudo service apache2 restart When executing that command, I'm getting below error: Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for…
139
votes
13 answers

What are the alternatives to Notepad++ on Ubuntu?

I use Notepad++ on Windows 7 and I want to know if there is a good substitution for it on Ubuntu. I want something that is good for editing html files.
user171010
  • 1,399
  • 2
  • 9
  • 3
139
votes
5 answers

How do I run a script at start up?

I have a script in a folder: /path/to/my/script.sh I need this script to run every time the system starts (even if no one logs in to the system). What do I need to do in order to make this happen?
Rusty
  • 1,541
139
votes
7 answers

How to install the MPEG-4 AAC decoder and the H.264 decoder?

Where do I get the MPEG-4 AAC decoder, and the H.264 decoder. How to install them and play the multimedia?
Balram Jamale
  • 1,491
  • 2
  • 10
  • 3
139
votes
8 answers

How can I install a .bin file?

I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it?
139
votes
5 answers

Changing colors for user, host, directory information in terminal command prompt

Is it possible to change the colors in the command prompt for the user@computer, as well as the the current directory and command parts of the prompt display? I've already seen something like this done by OSX users, but I don't know how to do the…
Luiz Rodrigo
  • 1,739
139
votes
3 answers

How/Where do I check my ubuntu laptops's CPU usage?

How/Where do I check my ubuntu laptops's CPU usage?
Lisa
  • 1,391
139
votes
5 answers

Drawbacks of using preload? Why isn't it included by default?

I would like to know what are the drawbacks of using preload? If there would be no downside, preload would be enabled by default, so I guess there are some. Okay you need a bit more RAM, but most people have by far more RAM then Ubuntu needs - so…
138
votes
16 answers

Is there a way to "restart" the touchpad driver?

I use Ubuntu 14.04 on a laptop, usually with an external usb mouse and keyboard and screen connected. Sometimes, however, I unplug all of them and move the laptop and keep using it with the builtin keyboard and screen and touchpad. At random times…
matteo
  • 2,491
138
votes
1 answer

Shutdown after a certain time

I am done using my laptop but I am using the hotspot in my smart phone. So I want my laptop to be awake for next one hour. How can I Shutdown the laptop after one hour of time?
sigdelsanjog
  • 7,110
138
votes
4 answers

What does 'without password' mean in sshd_config file?

I just installed Ubuntu 14.04 on my server and I was setting up all my config files when I came across this in my sshd_config file: # Authentication: LoginGraceTime 120 PermitRootLogin without-password StrictModes yes This made me very worried. I…
John
  • 1,756
  • 3
  • 14
  • 17
138
votes
3 answers

How to disable IPv6 in Ubuntu 14.04?

I am using Ubuntu 14.04. And I have done the following to disable ipv6. I have open /etc/sysctl.conf using gedit and paste the following lines at the end of sysctl.conf. net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 =…
A J
  • 11,367
  • 17
  • 44
  • 59
138
votes
14 answers

How do I remap the Caps Lock and Ctrl keys?

I'd like to remap my keys such that Ctrl behaves as the Caps Lock key and vice-versa. Also, if possible I'd like the settings to be available only within the currently logged-in user. How can I achieve this? I'm a vim user, unlike the other people…
user8838
138
votes
5 answers

How to display notebook model number?

I have a notebook HP Pavilion dm4 running Ubuntu 12.04 and I'm trying to determine the model number (like HP Pavilion dm4-2015dx or HP Pavilion dm4-2033cl, etc). There's no such information on notebook's body as suggested on HP's website on Option…
Eduardo
  • 1,587