Greatest Hits

91
votes
3answers
118k views

How to show line numbering in nano when opening a file

Is there a way to tell nano to automatically show line numbering each time I open a file.
103
26
votes
1answer
76k views

How do I install Ubuntu Server (step-by-step)

I'd like to install Ubuntu server on my machine, is there a step-by-step instructions on how to accomplish that or a guide that will just go through the basic steps of installing Ubuntu Server from ...
9
votes
4answers
50k views

Ubuntu 14.04 screen resolution too low (SiS 671 graphics card)

I just installed Ubuntu 14.04 but my screen resolution is set too low , i tried to add a new one but i keep getting . xrandr: Failed to get size of gamma for output default i tried : :~$ xrandr -q ...
15
votes
2answers
114k views

How to permanently set environmental variables PATH and M2_HOME in ubuntu for maven3?

I have downloaded the latest apache-maven3.zip file and extracted it to the folder: /home/gaurav/Java/maven3. I don't know how to set the environmental variables for maven - such as PATH and M2_HOME. ...
91
votes
10answers
152k views

How do I clear the DNS cache?

I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page. I'd like to see if the problem is Ubuntu's cached DNS ...
30
votes
2answers
63k views

Where to place my local website starting with the 2.4.7 version of apache2?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
5
votes
2answers
110k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
37
votes
1answer
68k views

how to show hidden folders in 14.04 ubuntu

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.
16
votes
2answers
49k views

Installing Anaconda python on ubuntu

How to install anaconda python on ubuntu? https://store.continuum.io/cshop/anaconda/ Is there a way to apt-get install it? I only have command line access to my server, how do i install anaconda ...
15
votes
11answers
117k views

Access files on Samsung Galaxy S3 external sd card?

I have a Samsung Galaxy s3 running the stock Samsung ROM and I'm trying to transfer files - videos, photos, music and downloads, from my handset to my system via USB running Ubuntu 12.04. I have ...
79
35
votes
3answers
95k views

How to install Ubuntu on VirtualBox?

I would like to know if anyone can help me with installing Ubuntu on VirtualBox 4.1.12. I'm really having trouble installing ubuntu on there. I am a first time user but always wanted to give it a try, ...
41
votes
3answers
99k views

How to find a text file which contains a specific word inside (not in its name)

I want to find a text file in my hard disk which contains a specific word. I want to use a graphic application. I'm on 12.4 "Precise Pangolin". Prior to Ubuntu 12.4 I used to start in the dash an ...
7
votes
5answers
84k views

Can I play Windows (Steam) games on Ubuntu?

I am downloading Ubuntu and I really want to play Windows games from Steam but I don't want it to replace my OS.
85
20
votes
2answers
74k views

Installing Eclipse Kepler

I need some help to set up the Eclipse Kepler 4.3 on Xubuntu, I whould like to do it by the command terminal. Which are the right commands?
55
votes
4answers
50k views

Wireless networking not working after resume in Ubuntu 14.04

[Update]: The same problem exists in Kubuntu and is solved in the same manner. [Solved]: By applying the following command nmcli nm I got the following: Before suspend RUNNING STATE ...
7
votes
2answers
41k views

Can I install Kali tools on Ubuntu?

I want to know if there is any way to install Kali tools like sqlmap, nikto, john, aircrack-ng, ... on Ubuntu 12.04? If yes, then how should I proceed?
18
votes
3answers
110k views

How can I start in safe mode?

I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver. When I reboot the computer, my monitor gives a "signal out of range" ...
22
votes
2answers
47k views

How to install .bundle packages in Ubuntu?

I recently download a package with .bundle extension. it's VMware-Player-6.0.3-1895310.x86_64.bundle. I want to install vmware-player but when I open that, it opens with text editor.
15
votes
7answers
111k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
14
votes
5answers
77k 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.
47
votes
1answer
61k views

What do the STAT column values in ps mean?

In the STAT column of ps there are a load of letters that don't really make much sense. What do they mean? Here's an example of ps aux | head: USER PID %CPU %MEM VSZ RSS TTY STAT ...
62
votes
5answers
99k views

“(CRON) info (No MTA installed, discarding output)” error in the syslog

I have a fresh install of Ubuntu 12.04.1 LTS an a number of servers. I have not added any cron jobs or edited my crontab on those servers, however, at around the same time for each machine, I get a ...
85
26
votes
1answer
100k views

My WiFi adapter is not working at all, how to troubleshoot?

On this site I see hundreds if not a thousand questions being asked about issues with a Wireless LAN adapter not being detected/recognized by Ubuntu. Some mainstream adapters appear to be utterly ...
14
votes
3answers
77k views

Upgrade OpenSSL on Ubuntu 12.04

I wanted to upgrade OpenSSL to 1.0.1 on an Ubuntu 12.04 system. I have noticed that an apt-get upgrade openssl does not end up upgrading OpenSSL. Is the newer OpenSSL supported on Ubuntu? I have also ...
63
votes
5answers
121k views

What are the differences between “su”, “sudo -s”, “sudo -i”, “sudo su”?

I already read it from manual but I can't see difference.. su - change user ID or become superuser sudo -s [command] The -s (shell) option runs the shell specified by the SHELL environment ...
94
19
votes
7answers
75k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
8
votes
1answer
72k views

How do you make USB bootable on chromebook

I have a chromebook series 5. I want to install Ubuntu onto a USB stick. When I downloaded Ubuntu onto my USB stick, it won't start up. Do I first have to download Ubuntu onto my chromebook hard ...
12
votes
3answers
17k views

How can I update my gnome to gnome 3.18?

I'm using Gnome 15.04 currently.
42
votes
2answers
120k views

How to start a GUI software on a remote Linux PC via SSH

Sometimes I need to start XMBC media player or other GUI software a one of my PC (small Xubuntu PC used as a media center). Usually I do this starting a X11vnc server on the remote PC via SSH and ...
103
6
votes
3answers
46k views

How to install virtualbox on ubuntu 14.04?

using Ubuntu 14.04 I download the Ubuntu version from this link: https://virtualbox.org/wiki/Linux_Downloads Ubuntu 13.04/13.10/14.04 (64bit) ...
16
votes
5answers
106k views

List samba shares and current users

Looking for a simple way to do this from the command line. List samba shares and the users who can access each of them. List samba shares and the users currently connected to them. List samba ...
3
votes
4answers
48k views

VLC Player installation ubuntu 14.04

I Have searched for many options on internet to install VLC Player on ubuntu 14.04, but nothing is working for me. Please could you help me with this issue. Errors : ...
79
8
votes
3answers
60k views

How can I install libpcap header files on Ubuntu 12.04?

How can I install libpcap header files on Ubuntu 12.04? When I use apt-get install libpcap I receive following message: Reading package lists... Done Building dependency tree Reading state ...
18
votes
4answers
94k views

I receive the error 'grub-install /dev/sda failed' while attempting to install Ubuntu as the computer's only OS.

I am attempting to install Ubuntu on a box which was previously running Windows 7. I have also experienced the dreaded "Unable to install GRUB" error. I am not attempting to dual boot. I have ...
26
votes
7answers
124k views

How do I set up xrdp session that reuses an existing session?

I have been trying to set up a RDP terminal server on precise using xrdp and have been having significant trouble getting a working configuration. When a user logs on, I need it to connect to that ...
5
votes
1answer
104k views

Trying to configure eth0 and eth1 but Failed to bring up eth1

Trying to do below on Ubuntu 12.04. Trying to configure eth0 and eth1, eth0 works fine, but failed to bring eth1. Below is the settings /etc/network/interfaces: auto eth0 eth1 iface eth0 inet ...
12
votes
4answers
71k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
18
votes
2answers
19k views

unable to play HEVC files on ubuntu 14.04 LTE

I have tried VLC and totem players but they are not working. I then searched and re-installed the VLC with latest version available, this time I am getting a green layer on the video. Any help?
74
votes
6answers
145k views

Browsing the internet from the command line

How can I browse the Internet from the command line in Ubuntu?
45
votes
10answers
98k views

How to find and change the screen DPI?

I am trying to find and then change the screen DPI (dots per inch) setting in 12.04 and 12.10. However, I can't seem to find any app or config file that can do this. Is there any app or conf file for ...
86
12
votes
2answers
16k views

Install python 3.5 on vivid using apt-get

How can I install Python 3.5 on 15.04 Vivid using apt-get? Obviously I realise I can install Python 3.5 using the source tar ball, however I would prefer not to install from source and instead use ...
20
votes
4answers
103k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
34
votes
5answers
69k views

Automatically enter input in command line

I'm running a script that it requests entering 'y' on each operation, I am looking for a solution like $ ./script < echo 'yyyyyyyyyyyyyy' to pass all my inputs in one time.
15
votes
5answers
67k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
14
votes
2answers
67k views

give specific user permission to write to a folder using +w notation

I know I can assign the permission to write to an owner\group\others like this: chmod u+w myfolder Can I specify the specific user here? Some like this: chmod username u+w myfolder
124
votes
12answers
132k views

How do I install Ubuntu to a USB key? (without using Startup Disk Creator)

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu ...
25
votes
5answers
83k views

In VirtualBox, how do I set up host-only virtual machines that can access the Internet?

In setting up virtual machines with VirtualBox, I often want the following characteristics vm has a static ip host can access vm without port forwarding vm can access the internet I can move ...
19
votes
2answers
56k views

How to install KDE along Unity?

I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this? Thanks!
76
46
votes
3answers
92k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories base and test. Now I want to move these directories ...
19
votes
2answers
62k views

True Ubuntu on Chromebook ARM (samsung)

I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well. Here comes my question. Can we ...