Greatest Hits

13
votes
3answers
65k 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 ...
19
votes
2answers
109k views

Moving folder and subfolder to another path

I need to move my folder with many subfolders to another path. I'm using putty and this is what I tried: MV -r fromflderpath tofolderpath What am I doing wrong?
19
votes
6answers
54k views

Not able to execute a .sh file: /bin/bash^M: bad interpreter

I wanted to execute a shell script: -rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh I tried to do a standard procedure, but I am got this error: ...
42
votes
6answers
89k views

How to search for strings inside files in a folder?

Is there any utility to make searches for a string inside ASCII files to avoid command line searches? How to make a command line search, for example for the string "test" inside all files in the ...
11
votes
3answers
92k 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?
18
votes
7answers
70k 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 ?
25
votes
1answer
68k views

How do I add a network printer in Ubuntu 12.04?

I know the name and the IP address of a network printer, but I can't seem to be able to search by IP address or name. Ubuntu developers love to move things around to make it difficult for users, so ...
69
votes
11answers
108k views

How can I securely erase a hard drive?

I'm planning on selling a USB external hard drive that currently contains an old Ubuntu installation with stored passwords and banking information. How can I securely erase the drive before selling ...
15
votes
3answers
85k views

How to uninstall VirtualBox in 12.04?

Can anyone help me removed VirtualBox? By the way, I couldn't install some softwares, is it because it is a 64-bit version?
2
votes
4answers
37k views

What does no bootable medium found mean in a virtual box?

I have recently been trying to install virtual box, when this message came up: No bootable medium found! Can somebody please tell me what went wrong?
14
votes
2answers
62k views

how can I install moonlight for Chrome in 12.04?

I'd like to install the latest Moonlight version to use it with Google Chrome (not Chromium)
21
votes
1answer
108k views

What is PATH environment variable and how to add it

I just installed picc-9.82.9453-linux.run from Microchip website, and at the end it asked me ==> NOTE: You may wish to add the following /usr/hitech/picc/9.82/bin to your PATH ...
18
votes
4answers
96k views

How to set Windows bootloader as default bootloader?

I have a Win 7/11.10 dual boot system with Grub 2 as the default bootloader. However, I want to make Windows bootloader the default bootloader (grub 'dos' like interface scrares the hell out of my ...
37
votes
3answers
128k 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 ...
18
votes
2answers
57k 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 ...
16
votes
1answer
41k views

Unity Launcher and Menu Bar disappeared in 14.04

The menu bar and Unity launcher have disappeared in Ubuntu 14.04. Also cannot access the terminal via ctrl + alt + t. I have tried every solution for this issue that I can find, from re-installing ...
29
votes
5answers
129k 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 ...
21
votes
4answers
74k views

How to disable IPv6 on Ubuntu?

I disabled IPv6 on an Ubuntu box which has ssh and rsync running. But both of these are still listening on an IPv6 address. How should I fix this? root@box.com:~# sysctl ...
17
votes
3answers
63k 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 ...
4
votes
2answers
46k 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 ...
55
votes
4answers
103k views

How do I find the version of bash I am running?

(learning bash) I was trying to check the bash version so I typed /bin/bash -v. That outputted a whole lot of text to the screen (contents of .bashrc, and other files sourced from it). Could I have ...
20
votes
5answers
106k views

How do I start Nautilus as root?

I got problem with nautilus in Ubuntu 12.04 LTS when i run command "gksu nautilus /" password ask box appear and I type my super-user password , than password box is disappear and nautilus is not ...
13
votes
4answers
110k views

How to reset the Xorg / xserver?

Xserver keeps crashing on my general user account both in Unity 3D and 2D. It doesn't do it on the guest account. That's why I want to reset / rollback everything xserver related, hoping this is ...
55
votes
3answers
81k views

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
90
7
votes
4answers
38k views

Ubuntu can't detect wifi networks on macbookpro 13.3

I'm new to Ubuntu and Linux in general and I'm not sure how to go about setting up my wifi. It doesn't detect any networks. I'm using a late-2013 13.3" macbookpro with retina display, so it doesn't ...
14
votes
3answers
90k views

How do you open a command line?

I want to set up trim for my OCZ VERTEX 4 SSD, but I have no idea how to do this even after reading the instructions. How do you even access the command line or run option to put the commands into ...
2
votes
4answers
79k views

How to create partitions in Ubuntu while installing?

I had Windows 7 crashed. So I wanted to install 12.04. While installing, I am not able to create a new partition after deleting all earlier partitions. I mean I am able to create but not able to ...
11
votes
4answers
67k views

How can I install gstreamer 1.0 in Ubuntu 12.04?

I'm trying to install GStreamer 1.0 on Ubuntu 12.04, the default GStreamer that comes with Ubuntu 12.04 is gst 0.10. I could see that I could download the GStreamer 1.0 source from ...
2
votes
4answers
32k views

Trying to dual boot Ubuntu 14.10 with Windows 10, last one not detected

I have a laptop, and I'm going to install Ubuntu (I have experience, and I have successfully installed Arch Linux, Ubuntu, Fedora, Debian, Xubuntu, Kubuntu, Manjaro Linux, etc.), but installing ...
27
votes
3answers
63k 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 ...
38
10
votes
4answers
59k 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. ...
28
votes
3answers
75k views

How do I install nagios?

I keep hearing about Nagios, a really powerful tool for monitoring servers. How do I install it?
26
votes
2answers
48k 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 ...
30
votes
4answers
75k views

How to install an init.d script in ubuntu?

I am trying to install an init.d script, to run celery for scheduling tasks. Here is the steps I followed: copied the file celeryd and pasted it in folder /etc/init.d/ created a configuration file ...
51
votes
8answers
132k views

How can I find my hardware details?

Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
19
votes
5answers
86k 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 ...
13
votes
2answers
27k 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. ...
14
votes
2answers
95k views

What is the equivalent terminal command to ipconfig /all?

In windows I can use ipconfig /all and this displays all the info about my connection. In terminal using ifconfig does not and only supplies limited info. I can use network manager, but it would be ...
32
votes
1answer
76k 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 ...
44
124
votes
5answers
125k 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: ...
6
votes
4answers
81k views

sudo apt-get install (google-chrome-stable_current_amd64.deb) is not working

I was told that sudo apt-get install (package.deb) installs the software with all the dependencies too. I am trying install Google Chrome, but when I do this step, it generates the following error: ...
13
votes
3answers
117k views

Enable graphics Card in Virtual Box

I recently brought a new laptop with following configuration Intel i5 2450 8 Gb DDR3 RAM Nvidia geforce gtx 520 1 GB card I had setup a Windows 7 virtual machine using VirtualBox. I want to use my ...
8
votes
4answers
47k 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 ...
59
votes
7answers
97k views

How to automatically fetch missing dependencies when installing software from .deb?

I'm trying to install MySQL Workbench on my Ubuntu box (11.04). The website has a Ubuntu .deb available for download (for 10.10 and 10.04 so I chose 10.10). However, sudo dpkg -i ...
30
votes
4answers
101k views

How do I install GRUB on a RAID system installation?

I'm trying to setup and install Ubuntu on a RAID 1 setup. I have two disks, sdb and sdc. I've been following this guide https://help.ubuntu.com/community/Installation/SoftwareRAID which more or less ...
8
votes
1answer
47k 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 ...
16
votes
1answer
95k 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
23
votes
3answers
58k 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 ...
21
votes
2answers
95k views

Install windows 7 through virtual box

I am using Ubuntu 12.04. I want to install Windows 7 on my system from a CD through VirtualBox. I searched the detailed tutorials through google but I did not find one that worked. So can some one ...
25
votes
9answers
96k 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 ...