Greatest Hits

17
votes
13answers
37k views

Installing Skype on Ubuntu 13.04 64-bit

Here is what I tried: $ sudo apt-get install skype [sudo] password for umpirsky: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
23
votes
2answers
80k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
20
votes
2answers
64k 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 ...
14
votes
3answers
42k views

What does 2>/dev/null mean…?

I want one or two line description about the following command line: grep -i 'abc' content 2>/dev/null
36
votes
2answers
65k views

How to force Wine into acting like 32-bit Windows on 64-bit Ubuntu?

When installing Wine on 64-bit Ubuntu 12.04, both 64-bit support and 32-bit support get installed. If I run wine foo.exe where foo.exe is a 64-bit-aware installer, it thinks it's on 64-bit Windows. ...
20
votes
4answers
70k 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 ...
43
votes
1answer
59k views

Dual boot Surface Pro with Ubuntu?

How could I setup a dual boot for Ubuntu and Windows 8 on my Microsoft Surface Pro with 128 GB. Note: My dual boot solution is below.
12
votes
8answers
107k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
4
votes
1answer
43k 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 ...
2
votes
2answers
53k views

Copying file from folder 1 to folder 2 in terminal

I am trying to move a text file from folder 1 to folder 2 via terminal. I'm doing this for a school project to show what actually happens when you copy paste. I'm doing cp/home/rits/desktop/folder1 ...
22
votes
7answers
76k views

“SIOCSIFFLAGS: Operation not possible due to RF-kill”?

I am getting this error as a part of this problem here but since this problem is totally different issue I think it is better to consider this issue separately. My wlan0 is down. When I try to turn it ...
47
votes
5answers
81k views

Getting MTP enabled devices to work with Ubuntu?

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module. While this question is about the Galaxy Nexus, other Android devices as ...
63
23
votes
2answers
34k views

403 error after upgrading to apache2.4

After upgrading from Ubuntu 13.04 server, the www pages won't display themselves. Error 403 Forbidden You don't have permission to access / on this server. I've changed access control saves from ...
67
7
votes
4answers
29k 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 ...
10
votes
6answers
9k views

How to install LibreOffice 4.4.0 in Ubuntu?

tried :- sudo add-apt-repository ppa:libreoffice/libreoffice-4-4 but cannot add PPA: '**ppa:~libreoffice/ubuntu/libreoffice-4-4**'. The team named '~libreoffice' has no PPA named ...
4
votes
5answers
37k views

How to install build-essential?

I am trying to install G++ compiler in Ubuntu 13.10. It told me I needed to install the build-essential package. I have tried the below code sudo apt-get update sudo apt-get install build-essential ...
49
votes
4answers
79k 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 ...
42
votes
5answers
103k views

Installing Ubuntu on a SSD

Going to install Ubuntu 10.10 on new intel x25M 80GB SSD. It will be fresh install. I have been googling for past few days and getting overwhelming articles/blogs/Q&As. One particularly very ...
42
votes
4answers
66k views

What is the equivalent of the “tracert” DOS command?

tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
29
votes
7answers
25k 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 ...
4
votes
2answers
19k 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 ...
4
votes
3answers
50k views

How to update graphics card driver in ubuntu 12.04.1

I have an Asus eee r101 pc,and wonder if anyone knows how to update the graphics drive in Ubuntu 12.04
36
votes
1answer
46k 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?
32
votes
3answers
112k views

How do I compress a directory?

I'm trying to compress a directory and ftp it to a windows ftp. I have tried every tar command I can find to compress a directory. It appears to be ok. Then I transfer it and view it's contents ...
16
votes
6answers
72k views

How to make hdd's mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
11
votes
3answers
66k 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 ...
46
18
votes
1answer
63k 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 ...
1
vote
1answer
36k 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?
7
votes
4answers
40k 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. ...
6
votes
2answers
30k 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: ...
59
18
votes
4answers
71k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
1
vote
6answers
51k views

how to reduce size of an image from 130 kb to between 20kb - 50 kb

As per a requirement mentioned here the size of photos submitted should be between 20kb-50kb. I have my scanned photos which have been cropped but the sizes are still ~139 kb. If I reduce the pixels ...
19
votes
7answers
56k views

Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time. After installing Ubuntu, my ...
5
votes
1answer
12k views

Netflix error code M7357-1003

Netflix error code M7357-1003. I am using Ubuntu 14.04. I have done all the updates, upgrades, and and can play YouTube, Handbrake ripped movies, but I can't play Netflix using Chrome Browser. I ...
30
24
votes
3answers
94k views

How to check the information of current installed video drivers?

I have just installed Ubuntu 10.04. My CPU usage is high when I do trivial things such as scrolling through a PDF file. So I think my video driver is not properly installed. I want to confirm that by ...
10
votes
1answer
65k 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
29
votes
2answers
16k views

Explanation of the command to check shellshock

Here is the command I have used to check my bash shell for the Shellshock bug: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" Can anyone please explain the command in details?
21
votes
1answer
48k 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 ...
29
24
votes
2answers
54k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
11
votes
2answers
64k 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. ...
6
votes
1answer
41k views

“E: Unable to locate package update” when I try to update my system, why?

I have almost an hour trying to update my installation, this is how I'm trying to do it: $ sudo apt-get install update [sudo] password for braiam: Reading package lists... Done Building dependency ...
34
37
votes
5answers
79k views

Difference between “su”, “sudo -s”, “sudo -i”

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 ...
63
31
votes
4answers
61k views

How can I upgrade the Ubuntu LTS kernel to newer?

I just installed Ubuntu 12.04.2 64-bit on my desktop PC and I see the kernel in System Monitor is 3.5.0-23 but in Ubuntu 12.04.2 in my laptop the kernel is 3.2.0-38. I have already tried to run the ...
43
4
votes
3answers
51k views

Ubuntu won't boot from a USB on my Windows 8 laptop

Yesterday I set up Ubuntu on a 32GB Sandisk flash drive. I booted it up on my Windows 7 PC, and it works flawlessly. I haven't had any problems getting it to boot with USB priority on that machine, ...
6
votes
3answers
55k views

How to make an xorg.conf file

I just installed Ubuntu 12.10 and I need to make a custom xorg.conf file. By default, there is not an xorg.conf file on my system. I know what I need to write in the config, but I just don't know how ...
6
votes
4answers
29k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
10
votes
1answer
26k views

Ubuntu 14.04 and Android, can't see phone on my computer

I have installed gMTP and tried to follow this tutorial to solve this problem: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html But neither worked. I tried to connect both my ...
22
votes
2answers
52k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
19
votes
5answers
41k 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.
5
votes
2answers
101k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I have entered the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ ...