Greatest Hits

45
votes
10answers
262k views

How do I run .sh files in Terminal?

Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal. How do I open this file in the ...
203
votes
3answers
305k views

Can I move the Unity launcher?

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better). But I can't find a way. Is it possible?
73
votes
7answers
252k views

How can I install on a non-PAE CPU? (error “Kernel requires features not present on the CPU: PAE”)

After burning Ubuntu 12.04 to a CD, I tried booting and got the message: This kernel requires the following features not present on the CPU: pae Unable to boot - please use a kernel appropriate for ...
48
votes
16answers
199k views

How do I open a text file in my terminal?

There is a file named RESULTS.txt and I want to open this file in my terminal. (I mean I want to see the file contents be displayed in the terminal and not in some text editor) How do I do that ?
35
votes
11answers
76k views

Adobe Flash Plugin is vulnerable/outdated in 14.04 but there is no update in Firefox

I am using Ubuntu 14.04 LTS. When I open a site which requires flash plugin (e.g. Youtube), Firefox says This plugin is vulnerable and should be updated. However if I click Check for updates... ...
83
votes
5answers
36k views

Ubuntu 14.10 does not install in virtualbox

I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with ...
35
votes
5answers
141k views

How can I make Firefox open magnet-links in Transmission?

I can't find out how to make Firefox open magnet-links in Transmission. There is no option to make it the standard program for magnet-links in its properties, and as I am not experienced with the ...
36
votes
4answers
182k views

How do I enable the “Universe” repository?

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.
90
votes
3answers
176k views

How to increment a variable in bash?

How to increment a numeric variable in bash? I tried with var=$var+1 and var=($var+1) but it doesn't work. My variable is a number, but bash think that is a string. My bash version is ...
113
76
votes
5answers
241k views

How do I install Adobe Acrobat Reader deb package downloaded from Adobe website?

I am new to Ubuntu, but I believe I have Ubuntu 11.10 installed correctly. I am trying to install Acroread using AdbeRdr9.4.6-1_i386linux_enu.deb that I downloaded from the Adobe web site. How do I ...
66
votes
8answers
75k views

Skype can't connect

After I restarted my computer to finish a upgrade, I could not log in at Skype anymore. It only shows the message: Skype can't connect. If I try web version it works. I'm using Skype 4.2.
221
149
votes
9answers
210k views

How can I repair grub? (How to get Ubuntu back after installing Windows?)

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?
69
votes
5answers
225k views

How to download a file from a website via terminal?

Suppose that we have a full URL of desired file e.g. http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz I would like to go without installing a new software. Is it ...
144
votes
4answers
177k views

Getting “System program problem detected” pops up regularly after upgrade

This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit ...
66
votes
4answers
137k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
171
votes
9answers
181k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
30
votes
1answer
199k views

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can ...
105
votes
12answers
135k views

How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again

How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
337
20
votes
5answers
164k views

Kernel requires an x86-64 CPU, but only detected an i686 CPU. How can I install Lubuntu/Ubuntu?

I'm trying to install Lubuntu on my laptop (sorta old 2005). [Laptop stats: Intel® Celeron® CPU 410 @ 1.46 GHz 1.47GHz, 448 MB of RAM] I press Install and this message appears: This kernel requires ...
60
votes
6answers
153k views

How can I use Chromecast

I just saw the video about Chromecast and I am interested in knowing how can I enable this on my Ubuntu PC. My TV has an HDMI port.
39
votes
1answer
215k views

How to rename a file in Terminal?

I have: /home/user/my_static /home/user/static/ How do I rename my_static to static and remove static(2)?
132
36
votes
4answers
289k views

How to make read-only file system writable?

I am not sure since when the filesystem on my digital audio player has been changed to be read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the ...
84
votes
3answers
240k views

How do I set the grub timeout and the grub default boot entry?

In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
45
votes
11answers
130k views

List all MAC addresses and their associated IP addresses in my local network (LAN)

How can I list all MAC addresses and their associated IP addresses of the machines connected to my local network (LAN)?
56
votes
16answers
135k views

Blank screen after installing nvidia restricted driver

I've installed the current nvidia restricted driver and rebooted my machine and now I get a black or blank screen. How can I fix this?
345
79
votes
10answers
229k views

How do I view all available HDD's/partitions?

I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS ...
36
votes
7answers
237k views

Where is .bashrc?

I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc in either my user directory ...
60
votes
6answers
124k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this backported to 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
99
votes
10answers
127k views

How do I fix the GPG error “NO_PUBKEY”?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: GPG error [...] NO_PUBKEY [...] I know I can fix ...
356
49
votes
3answers
54k views

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem. ...
72
votes
9answers
186k views

How to open a PDF file from terminal?

I used to work on the Mac terminal before and I used: open file2open.pdf and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I ...
45
votes
3answers
309k views

How to restart samba server?

Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online. http://www.intac.net/build-your-own-server/ I'm stuck at the 2nd to last ...
151
117
votes
7answers
310k views

How can I restart x-server from the command line?

How can I restart x-server from the command line? I'd really like to be able to restart my gui without having to do a full system reboot.
36
votes
9answers
96k views

How do I install Adobe Acrobat Reader from the repository?

How do I install Adobe Acrobat Reader in Ubuntu 14.04 using a Trusty apt repository? This is NOT a duplicate of How do I install Adobe Acrobat Reader?. In Synaptic > Repositories > Other ...
53
votes
2answers
126k views

How do I get Java plugin working on Google Chrome?

Google has updated its Chrome browser to version 35. This new version uses Aura in place of GTK2 and no longer supports NPAPI plugins like Java (both OpenJDK and Oracle). PPAPI plugins like ...
85
votes
10answers
141k views

network manager says “device not managed”

I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 . Now are there no wired connections ...
101
votes
6answers
121k views

How can I recursively delete all files of a specific extension in the current directory?

How do I safely delete all files with a specific extension (e.g. .bak) from current directory and all subfolders using one command-line? Simply, I'm afraid to use rm since I used it wrong once and now ...
157
votes
13answers
125k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
347
115
votes
14answers
271k views

How to send mail from the command line?

How to send mail from the command line?
52
votes
5answers
124k views

How to uninstall LibreOffice?

Which package should I remove to completely remove libreoffice? I have no need for office tools. That's the one gripe I have with package managers like apt, there's no simple way to perform the ...
38
votes
18answers
127k views

Shut down computer from keyboard

Is there a keyboard shortcut available to shutdown the computer? I know I can use the Power button, but I would like to be able to it from the keyboard. If such a shortcut does not exist already, ...
25
votes
5answers
255k views

How does one exit the X server?

The command sudo service gdm stop would successfully disable the X server in Ubuntu 11.04 temporarily. However, this same command no longer works in Ubuntu 11.10, because "gdm" is an "unrecognized ...
199
votes
5answers
278k views

How do I set up a Cron job?

I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this. How do I add Cron jobs in Ubuntu?
233
22
votes
6answers
74k views

The system is running in low-graphics mode error in “Virtualbox”

I faced a "The system is running in low-graphics mode error" like the on in this question How to fix "The system is running in low-graphics mode" error? This happened in Virtualbox! I'll ...
9
votes
2answers
102k views

Install iTunes on Ubuntu

I've always been an Ubuntu lover, but the only thing that holds me back from installing ubuntu on my laptop is iTunes. I have an iPad and an iPod touch and managing them without itunes is almost next ...
291
24
votes
3answers
185k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
51
votes
8answers
125k views

How to switch language keyboard combination?

I would like to type Hebrew in Ubuntu. I tried downloading the Hebrew language pack and then setting alt-shift as my layout-change shortcut in the Options section of "Keyboard Layout". However, when ...
101
votes
2answers
207k views

How to enable mod_rewrite in Apache?

I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
254
28
votes
7answers
177k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
185
votes
6answers
21k views

How can I make my shell prompt look like a cheeseburger?

I want my shell prompt to look like a cheeseburger! 🍔🍔🍔 It would be nice if it also displayed: username, hostname, and current directory.