Greatest Hits

7
votes
1answer
130k views

Terminal: sudo: apt-get: command not found

Lately some really bad things have been happening with my computer, having to do with lack of icons and all kinds of bad things going with my graphical interface. All the bad things in the appeal are ...
23
votes
4answers
105k views

How do I fix DNS resolving which doesn't work after upgrading to Ubuntu 13.10 (Saucy)

After upgrade to 13.10 my DNS resolving fails. It seems the DNS servers which I get by DHCP (LAN) are not used. I could temporary solve the problem by adding nameserver 8.8.8.8 to /etc/resolv.conf. ...
31
votes
6answers
160k views

How to find a computer name in a LAN from the IP address?

My network includes machines running Linux and others running Windows. And my machine is running Linux.
127
42
votes
5answers
195k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
26
votes
4answers
138k views

How to uninstall VirtualBox in 12.04?

Can anyone help me remove VirtualBox? I am running 12.04.
15
votes
3answers
113k views

Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot

Ok, so I'm such a newbie to Ubuntu and I bought a Windows 8 pre-installed laptop last month. I updated to Windows 8.1 and then I thought about installing Ubuntu as a dual boot so I could mess around ...
64
votes
6answers
182k views

How do I change the default session for when using auto-logins?

When autologon is active, lightdm will start the Unity 3D session, not the 2D (or any other shell that I want to auto-login to). Is there a way to start the shell I want automatically (autologon)? ...
25
votes
5answers
91k views

How To Install And Test KDE Plasma 5 On Ubuntu 14.04

KDE Plasma 5 is hitting release candidate now: Schedules/Plasma 5 - KDE TechBase. How can I install plasma 5 in Ubuntu 14.04.
67
votes
7answers
93k views

How Do I upgrade Docker

I type docker.io version, and get: Client version: 0.9.1 Go version (client): go1.2.1 Git commit (client): 3600720 Server version: 0.9.1 Git commit (server): 3600720 Go version (server): go1.2.1 Last ...
102
20
votes
1answer
166k views

HTTP POST and GET using cURL in linux

I had server application in asp.net in windows in that i had a web service for that . how can i call web service in ubuntu using shell script by using cURL command
9
votes
4answers
14k views

“Waiting to install” for ever - Ubuntu Software - 16.04

When I try to install .deb files with "Ubuntu Software", it keeps "Waiting to install" for ever.
23
votes
6answers
138k views

How to setup x11vnc to access with graphical login screen?

I have a server running Ubuntu 12.10 and need to be able to remote to this server without being logged-in. I have found many solutions, but none seem to work with 12.10. Can anyone give me step-by-...
121
23
votes
5answers
116k views

How to find my current JAVA_HOME in ubuntu?

How to find my current JAVA_HOME in ubuntu? I have to set java_home path when installing maven.
95
votes
3answers
85k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
34
votes
5answers
140k views

How do I find the path to pg_hba.conf from the shell?

I would like to obtain the path to pg_hba.conf from the shell. The path varies between versions of PostgreSQL. For instance, for 8.4 and 9.1: /etc/postgresql/8.4/main/pg_hba.conf /etc/postgresql/9.1/...
27
votes
4answers
137k views

Failed to get canonical path of /cow

I am trying to install Ubuntu 12.10 for quite some time, and passing hurdles one by one. Now I am in a situation as follows. I have got a PC and 10 GB HDD which will be totally dedicated to Ubuntu so ...
21
votes
3answers
140k views

Command to get the hostname of remote server using IP address

I want to get the hostname of a remote server using the IP address using my Ubuntu. In Windows we can get using NBTSTAT but this doesn't work in Linux. Does anyone know how to do that?
4
votes
2answers
39k views

TeamViewer “Not Ready. Check your Connection”

I have installed TeamViewer 10 in Ubuntu 14.04 and used my mobile Internet (USB tethering) and it works well. Once I disconnected my mobile and connected my system to office Internet (LAN) where I ...
46
votes
4answers
108k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
89
40
votes
2answers
119k views

Configure screensaver in Ubuntu

How do I configure the screensaver in Ubuntu? I can see that gnome-screensaver is running.
74
votes
1answer
106k views

What is the loopback device and how do I use it?

What are loopback and localhost? Why do they exist, what are they used for, and how would I use them?
30
votes
6answers
14k views

Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)

I upgrade from Ubuntu 15.10 to 16.04 and since then VirtualBox 5.0.18 isn't starting my VMs anymore. It complains that 'vboxdrv' isn't loaded. So I try to load it and get the following error: $ sudo ...
51
votes
3answers
184k views

'chmod u+x' versus 'chmod +x'

What is the difference between chmod u+x and just chmod +x? I have seen a ton of tutorials that say to use u+x to make scripts executable. However, the u is not mentioned in the chmod help or manual....
12
votes
4answers
66k views

How do I burn the Windows 10 ISO to a USB?

I did the dd method and it worked but I'm not sure that's all you have to do because it is Windows and may not have GRUB and I'm not sure so I'm asking the experts haha. WINUSB DID NOT WORK BECAUSE ...
152
votes
18answers
149k views

Is there a Google Drive client available?

I'd like to install a Google Drive client for Xubuntu (12.04). I'm getting non-English Google results, and I didn't find grive in the Xubuntu repositories. Does anyone know of a client that works ...
50
votes
1answer
101k views

How to show hidden folders in Ubuntu 14.04

How do you show a hidden folder (specifically .minecraft) in Ubuntu 14.04? I am somewhat new to Ubuntu 14.04 and can't seem to find the "view" menu.
47
votes
8answers
180k views

Enable remote VNC from the commandline?

I have one computer running Ubuntu 10.04, and is running Vino, the default VNC server. I have a second Windows box which is running a VNC client, but does not have any X11 capabilities. I am ssh'd ...
145
153
votes
16answers
160k views

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not ...
19
votes
1answer
42k views

How to copy/paste from “Sorry, the application XXX has stopped unexpectedly”

An app just crashed and I want to copy the error message and paste it into a search engine to hopefully find a solution. Unfortunately the error dialog does not allow me to copy/paste anything: In ...
7
votes
2answers
117k views

Installing software center ubuntu

Okay so I recently had some problems with ubuntu software centre where if I opened it from the dashboard it would open up, but only display a white screen. Nothing happened, so if I then clicked the '...
86
votes
3answers
81k views

How to use Alt+Shift to switch keyboard layouts?

I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have ...
24
votes
1answer
114k views

Cannot update grub with parameters on live USB

I have booted from a live USB ("Try Ubuntu"), that also has a persistent option set (I used LiLi to create one) to do some tests for this pcie hotplug issue I'm having. I'm trying to test some boot ...
47
votes
6answers
143k views

How to have my PHP Send mail?

I installed Ubuntu 11.04, LAMP using tasksel. I find that PHP mail() does not work. I suppose I need to enable it or something? How do I do that?
155
18
votes
2answers
49k views

Wifi problems with rtl8723be in Ubuntu 14.04

I have dual booted my Windows 8 laptop with Ubuntu 14.04. The wifi driver is Realtek rtl8723be. It didn't use to work but I updated the kernel to 3.18 and reinstalled the driver and that seemed to ...
39
votes
2answers
96k views

How to read complete line in 'for' loop with spaces

I am trying to run a for loop for file and I want to display whole line. But instead its displaying last word only. I want the complete line. for j in `cat ./file_wget_med` do echo $j done result ...
12
votes
6answers
153k views

Every command fails with “command not found” after changing .bash_profile?

I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or ...
30
votes
7answers
123k views

How do I install python imaging library (PIL)?

How do I install the python imaging library (PIL) on Ubuntu? I tried doing sudo apt-get install python-imaging but now when i run python selftest.py (a script I got from somewhere on the http:/...
28
votes
2answers
107k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
136
35
votes
6answers
91k views

How to create a virtualenv with Python3.3 in Ubuntu?

I'm running Precise Pangolin amd64. I installed Python 3.3 from ppa:fkrull/deadsnakes. Now I want to actually use this new Python version in a virtualenv. But How can I do this? I get the following ...
15
votes
4answers
107k views

Permission denied when running .sh scripts

./geany_run_script.sh: 5: ./geany_run_script.sh: ./Area_circumference: Permission denied program exited with code: 126. This problem always occur when I try to execute my code. What might be the ...
90
87
votes
4answers
122k views

How do I sudo a command in a script without being asked for a password?

I want to turn my system on automatically every day. So I use the below code in my Python script, but sudo asks me for a password every time: os.system('sudo sh -c "echo date \'+%s\' -d \'+ \ ...
143
27
votes
7answers
116k views

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
55
votes
6answers
186k views

How to customize the gnome classic panel

First the picture: As you can see in the image, the colors used for the icons and the words Applications and Places (In spanish in this case) have a different background dark gray color than the ...
13
votes
4answers
89k views

Drivers for Broadcom BCM43142 on Ubuntu 14.04 (Trusty Tahr)

I am not able to install drivers for my Wi-Fi + Bluetooth card (Broadcom BCM43142). What I have done till now: I have tried using the drivers at this website. I tried following the instructions ...
12
votes
5answers
13k views

Can't login to Ubuntu 16.04 after upgrade

I installed Ubuntu 16.04 (dual boot with Win 10) and it doesn't login after. I upgraded from Ubuntu 15.10 via update-manager https://youtu.be/MrgPYvoVJfA I have tried old workarounds for previous ...
23
votes
6answers
114k views

How do I find my network IP address, netmask, and gateway info?

I'm trying to make my IP address static as I hear it fixes slow browsing issues. When I click on connection information under the networking menu of the gray taskbar, it tells me about the IP address,...
14
votes
2answers
80k views

cgi-bin not working

I reinstalled kubuntu 13.10, cgi-bin is not working. Apache downloads the cgi instead of executing it! I have the latest apache with cgi mod enabled. To 000-default.conf, I added these options: ...
134
19
votes
5answers
67k views

GLIBCXX_3.4.20 not found, how to fix this error?

Whey I try to run the program Layout Editor (available on this site) on Ubuntu 14.04.1 64-bit LTS I get the following output in the terminal: $ layout layout: /usr/lib/x86_64-linux-gnu/libstdc++.so.6:...
159
votes
2answers
179k views

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional ...
132
17
votes
4answers
127k views

How do you open a command line?

How do you access the command line or run option to put the commands into the system?