Most Popular

1500 questions
101
votes
1 answer

What is available memory while using free command?

The output of the free command that I fired on my linux host is as belows: free total used free shared buff/cache available Mem: 263846320 47746620 3290072 1140808 212809628 214382420 Swap: …
101
votes
1 answer

pkg-config not finding gtk+-3.0

States here that the package gtk+-3.0 was not found: karl@karl-ux303ln:~$ pkg-config --cflags gtk+-3.0 Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH…
101
votes
4 answers

What is difference between localhost address 127.0.0.1 and 127.0.1.1

I am just learning using Ubuntu and when I tried to configure the DNS, I need to deal with something call localhost, loopback interface. Can anyone explain me the differences between them and the meaning of the addresses 127.0.0.1 and 127.0.1.1,…
Ock
  • 1,111
101
votes
5 answers

How do I enable full-color support in Vim?

I have a lovely Vim colorscheme (xoria256) and it looks brilliant in GVim, but when I use normal vim in Terminal, the colorscheme is only partially supported -- for example, the default semi-transparent aubergine background color is used. How do I…
David Siegel
  • 9,022
101
votes
14 answers

How do I enable auto-login in LightDM?

I want user foo to auto-login using LightDM (which has been used by Ubuntu since version 11.10). How would I do that?
htorque
  • 66,086
101
votes
3 answers

What does "chmod +x " do and how do I use it?

I want to write the Ubuntu analogue of a "batch file" (a shell script). But I don't know how to use chmod +x filename command to make it so that the script can be run. Nor do I know where to use it.
101
votes
5 answers

How to successfully restart a network without reboot over SSH?

In Ubuntu 14.04 neither sudo service networking restart nor sudo /etc/init.d/networking restart do anything any more. They also both exit with code 1. Something has obviously changed (or half changed) but I can't find what. This obviously causes…
SimonJGreen
  • 2,391
101
votes
6 answers

What does "No bootable medium found" mean in VirtualBox?

I have recently been trying to install VirtualBox, when this message came up: No bootable medium found! Can somebody please tell me what went wrong?
CENTAUR
  • 3,409
101
votes
4 answers

Backspace in insert mode in vi doesn't erase the character

I am new to vi, actually I have started learning vi from today and I have got stuck at the behavior of the backspace key. Actually when I fired up vi on my Ubuntu 12.04 for the first time my backspace key was working normally but after that it has…
101
votes
2 answers

How to install the locate command?

I wish to have the command locate in ubuntu 12.04 (which is used for finding files. I believe there is such a command but I cannot see it in ubuntu 12.04 Is it part of any package?
JVIyer
  • 1,011
  • 2
  • 7
  • 3
101
votes
9 answers

How can I download an entire website?

I want to download a whole website (with sub-sites). Is there any tool for that?
UAdapter
  • 17,967
101
votes
9 answers

How to run a script without closing the terminal?

I have a script in file bla.sh and it is executable. When I click on it, the script is executed and the window is closed. I'd like the window to stay open. Something like command cmd /k** command in Windows. P.S. I don't want to use pause, but I…
UAdapter
  • 17,967
101
votes
5 answers

Why does "ps aux | grep x" give better results than "pgrep x"?

I've just tried the following command on my Ubuntu, it doesn't show a thing: pgrep php5 shouldn't it return the process ID of php5 (which the following command just does)?: ps aux | grep php5 So, what's the difference between these two commands?
xczzhh
  • 2,205
101
votes
6 answers

Howto to move window to another monitor on the left/right using keyboard shortcut?

I have always used Ctrl+Alt+Shift+Left/Right to move windows from left to right monitors. Installed Ubuntu 18.04 last week (fresh install) and it appears that this is not working anymore despite the fact I had configured them like this in the…
dgoosens
  • 1,141
100
votes
9 answers

How to change default user in WSL Ubuntu bash on Windows 10

I installed the WSL Bash on Windows 10 and set my user to e.g. 'abc' but now I want to change it to something else. How can I change the user name of the user I'm logged in as? When I open bash it automatically logs me in with my current user.
mlevit
  • 1,109
1 2 3
99
100