Greatest Hits

20
votes
4answers
75k views

How do I reset a lost password (using recovery mode requires me to type the password)?

I need to reset my password. I have followed these steps: How do I reset a lost Administrative (root) password? However, then I go to "root" or "netroot" recovery options, it tells me: Give root ...
18
votes
3answers
93k views

I want to install libssl.0.9.8

I'm trying to install utorrent program, and when I execute the program I get ./utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or ...
24
votes
9answers
88k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
27
votes
5answers
85k views

How do I move all files from one folder to another using the command line?

I would like to know how could I move all files from a folder to another folder with a command line. Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my ...
109
votes
11answers
112k 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 ...
117
votes
5answers
113k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
20
votes
5answers
88k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
5
votes
2answers
27k views

How to remove Gnome from Ubuntu Desktop 14.04

I need to use Ubuntu Desktop on my server for certain reasons because I can't use Ubuntu Server, but to make it more efficient I would like to remove the desktop environment and boot straight to the ...
15
votes
2answers
80k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
5
votes
4answers
59k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
10
votes
4answers
53k 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 ...
22
votes
3answers
47k views

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 ...
10
votes
6answers
74k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
20
votes
3answers
43k views

How to save a file using nano

I am trying to install Java via the terminal using the guide How to Install Oracle Java JRE on Ubuntu Linux. Everything went perfectly fine until "Step 11: Save the /etc/profile file and exit": I ...
30
48
votes
3answers
97k views

Choose gcc and g++ version

So I have installed gcc-4.4 and gcc-4.3 (same for g++). Now as far as I remember there is a tool in Ubuntu which sets the symlinks for you if you just tell it which version you want. However it does ...
93
8
votes
4answers
39k 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 ...
7
votes
8answers
28k views

Lost Windows 7 in GRUB after installing Ubuntu 14.04

So today I've decided install the new 14.04 (64bit) on top of the 13.10 (32bit) Ubuntu that I used to have dual boot with Win 7. So it gave me number of options to install the 14.04, one of them was ...
14
votes
3answers
77k 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.
31
votes
6answers
109k views

How to change the LightDM theme/greeter?

I downloaded a couple greeters for LightDM, but I have not figured out how to enable them. Is there a way to switch greeter, either by graphical or command-line method?. I do not intend to change ...
64
5
votes
2answers
19k views

Cannot install new omega driver from AMD

Hi all I'm trying to install the new omega drivers for Ubuntu 14.04 AMD Catalyst™ 14.12 But the ubuntu software center is complaining "Dependency is not satisfiable: fglrx-core" I'm downloading ...
14
votes
1answer
83k 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
4
votes
7answers
61k views

How can I determine the sudo password?

What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?
68
13
votes
1answer
63k views

How do I mount a CIFS share via FSTAB and give full RW to Guest

I want to create a Public folder that has full RW access. The problem with my configuration is that Windows users have no issues as guests (they can RW and Delete), my Ubuntu client can't do the same. ...
13
votes
2answers
80k 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. ...
16
votes
1answer
62k views

Cannot update grub with paramters 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 ...
17
votes
6answers
112k views

How to set up Ubuntu Server as a NAS?

I am looking to set up Ubuntu Server as a headless NAS for my home. I would like to have file storage there, as well as a central hub for my MP3s and pictures. What are the best packages out there to ...
88
15
votes
4answers
98k views

Any way to manually make a bootable USB from ISO?

I've been using Unetbootin but it occasionally fails to create a bootable usb the way I need it to, especially with the newer versions. Is there a way I could extract the iso myself?
4
votes
5answers
44k views

Ubuntu 14.04 installation with USB flash drive problem

I have problems while trying to install Ubuntu 14.04 using USB flash drive. I tried to create bootable usb flash drive with UnetBootin and startup disk creator but when I boot from flash drive I get ...
27
votes
3answers
27k views

How to select video quality from youtube-dl?

I have installed youtube-dl in my 14.04. I can download video by following command, $ youtube-dl [youtube-link] But I want to know how to select available pixel quality of youtube video(i.e ...
75
votes
1answer
87k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now n then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
22
votes
3answers
50k views

How do I fix Netflix requiring Silverlight update?

I'm running Ubuntu 12.04 LTS 64-bit, which I installed using the original release (not the newer 12.04.2 release), and have been successfully using netflix-desktop ever since the ppa:ehoover/compholio ...
35
votes
3answers
33k 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 ...
11
votes
3answers
51k views

How to install Virtualbox from command line?

OK, I a am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the "apt-get install blahblah" way, because I find ...
18
votes
4answers
75k 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 ...
43
votes
3answers
70k views

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
73
2
votes
2answers
35k views

How to move taskbar to bottom position as in Windows

I'm very new to Ubuntu. I have just installed it on my pc and i liked it. But as i'm from Windows background i like the taskbar at the bottom and not at the left position. So is there any way to move ...
7
votes
1answer
37k views

Format disk in 14.04

I remember using Disk Utility to format disks and USBs in 12.04. Now, after upgrading to Ubuntu 14.04, I can't seem to find the Disk Utility application. How do I format disks in 14.04? Looking for ...
27
votes
1answer
64k views

How do I find out the kernel version I am running?

"The path to previous driver is usually /lib/modules//kernel/net/wireless" I need this info so I can finish updating my STA broadcom wireless. However, I'm a noob at Ubuntu and I'm not sure how to ...
35
53
votes
5answers
92k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
16
votes
11answers
72k views

Can I install Microsoft Office? If so, how?

I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu? I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu.
16
votes
6answers
60k 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 ...
14
votes
3answers
77k 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 ...
58
11
votes
1answer
20k views

VirtualBox Extension Pack for 14.04.1 LTS (Virtualbox 4.3.10)

Where might I find the Virtualbox Extension pack for 14.04.1 LTS (64bit) I installed virtualbox via synaptic. The version it installed is 4.3.10 I can't seem to locate a corresponding Extension pack. ...
22
votes
4answers
29k views

System tray icons disappeared after installing Ubuntu 14.04

I have many applications with tray icons like davmail, hardware monitor. I miss this feature on Ubuntu 14.04. Does anyone have a solution? There are some tools like Skype indicator, but I need a ...
42
votes
1answer
57k 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?
48
votes
4answers
105k views

How to connect and disconnect to a network manually in terminal?

Since the network manager is troubling me so much I want to replace it (possibly wicd orNM from ppa:volanin). I do not know how to connect and disconnect to the network through the terminal without ...
4
votes
1answer
44k views

Resetting forgotten phpmyadmin password

I recently installed LAMP on Ubuntu 13.04(32-bit) but forgot my phpMyAdmin password. How can I reset its password without re-installing it?
53
votes
4answers
79k views

Where is the user crontab stored?

Since upgrading my user's crontab has been wiped out. This is not the first time this has happened this year and it's a pain restoring it each time. I'd like to be able to back up the crontab for my ...
59
22
votes
7answers
83k views

fsck can't find fsck.ntfs

On several machines that I've upgraded from Natty to Oneiric, I get an error every boot (one for every NTFS partition): Serious errors were found while checking the disk drive for /windows/c. Press ...
83
45
votes
3answers
72k 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 ...
67