Greatest Hits

42
votes
3answers
79k views

How do I change the color for directories with ls in the console?

On my console the color for directories is such a blue, that it is hard to read on a dark background. How can I change the color definitions for ls?
44
votes
4answers
123k views

How to install an init.d script?

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 ...
56
votes
4answers
148k views

How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment. To do that, I manually open three terminals and type in the commands. ...
68
votes
7answers
200k 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.
108
4
votes
5answers
104k 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?
127
20
votes
8answers
154k 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 ...
30
votes
2answers
70k 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.
67
votes
3answers
207k 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 ...
42
votes
3answers
61k views

Flux for ubuntu 14.04 - possible?

Is it possible to make Flux work in ubuntu 14.04? If so, maybe you can share your knowledge or point me to a guide? (Flux is software which adjusts temperature of your display according to time of the ...
41
votes
2answers
86k views

connect to wifi from command line

Other posts seems to be addressing more complicated network connection issues from the command line. The Unity panel Network indicator/button doesn't respond too well sometimes - it keeps trying to ...
13
votes
10answers
68k views

“Unable to install GRUB in /dev/sda” when installing GRUB

I recently bought a shiny new Lenovo Yoga 2 Pro and I want to dual boot it with Ubuntu for studying purposes. Its built-in OS is Windows 8.1 and it has a 256GB SSD. I've made a separate 90GB ...
27
votes
5answers
113k views

Where is Firefox's plugins directory?

I know that there are extensive, "proper" methods for installing Firefox plugins. However, I would like to know where the folder is for linking shared-object (.so) files, such as libnpjp2.so and ...
83
46
votes
6answers
99k views

How to install pip for python 3 in ubuntu 12.04 LTS

I am trying to install the Pillow module for python 3.3, but for that I need to install pip. Every time that I install pip it installs for python 2.7, any help?
11
votes
2answers
172k views

How do you run update-grub?

I went into Live CD and activated Terminal. Then, I typed gksu nautilus to gain temporary access to my root directory. Once the Manager window opened, I clicked on File System and navigated to the /...
41
63
votes
4answers
165k 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 ...
9
votes
1answer
88k 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 ...
34
votes
2answers
91k views

“intel_rapl: no valid rapl domains” message upon boot

I install fresh Ubuntu 14. 04 server under ESXI 5.1.0. During my installation I did not get any erorrs or strange things. My problem is when I boot machine at console screen I get messages like [ 6....
69
votes
6answers
65k 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 ...
71
votes
6answers
120k 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 ...
120
42
votes
5answers
72k views

how to download playlist from youtube-dl?

I'm trying to download some videos in mp3 format. it's a play list. How do I download the whole play list wit one command?
11
votes
1answer
65k views

Can I access Ubuntu from Windows remotely?

I have Ubuntu installed on my work computer. I am wondering whether I could have access to it from another computer with Windows installed. If so, could you give a step by step guide, please? Thank ...
72
votes
7answers
149k 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 ...
98
votes
6answers
165k views

How do I install the Cinnamon Desktop?

I have read that there is a new Gnome-2 like interface called Cinnamon produced by the Linux Mint developers. Is this available for Ubuntu users - and if so how do I install it?
28
votes
2answers
90k views

Install Popcorn Time from source files

How can I install Popcorn Time beta ? I see on their website that they only offer a 64-bit installation files, but the sources are open. I can't use the usual ./configure && make. So, what ...
57
votes
7answers
168k views

How to install the latest stable version of Chromium?

Is there an easier way to install Chromium than what is described here? Furthermore, is there an easier way to stay up to date with current Chromium releases rather than having to re-build Chromium ...
103
8
votes
3answers
139k 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 (29-...
16
votes
2answers
137k views

How to install the Boot-Repair tool in an Ubuntu live disc?

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows. I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB). What ...
31
votes
4answers
73k views

How to configure lightdm to allow manual logins in Ubuntu 14.04

I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root. Now I've just installed the new Ubuntu 14.04 and the ...
56
votes
6answers
126k 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 ...
112
votes
4answers
149k 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.
122
19
votes
6answers
133k 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 ...
32
votes
9answers
141k 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 ...
22
votes
4answers
75k views

How do I upgrade PHP version to the latest stable released version?

I'm using a system running on Ubuntu 12.04 LTS 64-bit OS. I'm currently using following PHP version on this machine: Command used to get the below info at terminal : php -v Details I got are as ...
20
votes
5answers
68k views

Ubuntu 14.04 Server - WiFi WPA2 Personal

I just installed Ubuntu 14.04 Server and cannot get wifi configured correctly to work with WPA2 personal and could use some help. There was a simple wizard during install where I selected my SSID ...
10
votes
3answers
64k views

APT way to get Adobe Flash Player latest version for Linux not working

I am running Ubuntu 14.10 and I am trying to get the latest version of Adobe Flash Player for Linux (which apparently is 11.2), I am selecting the option for APT for Ubuntu 10.04+ here: But when I ...
115
votes
1answer
140k views

How do I run specific sudo commands without a password?

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

How to see time stamps in bash history?

Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also? Bottom-Line: Execution time in the Bash ...
41
votes
1answer
106k views

Share wireless Internet connection through ethernet

I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet. I have ticked the option "Make available to others" on both connections, on my desktop, but my ...
61
votes
1answer
80k 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 ...
14
votes
5answers
56k views

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED when attemping to run the Android emulator

I have set the android development environment in Ubuntu 10.10, 32 bit. After creating the AVD when I launched the emulator I have received the following error. ERROR: 32-bit Linux Android ...
20
votes
6answers
41k views

How to install Octave 4.0.0 in Ubuntu 14.04

I am using Ubuntu 14.04.2. I want to install the latest version of Octave (Octave 4.0.0 ). But in official Ubuntu repository ,there is only octave version 3.8 available for download/install. How can ...
16
votes
2answers
168k views

How do I display the whole desktop in Virtual Box fullscreen mode?

I am running Ubuntu 12.04 in VirtualBox 4.2.6 on a Windows 7 host. After installing Ubuntu I wanted to get the VB interface in fullscreen. I therefore installed guest additions from Virtual Box ...
25
votes
4answers
113k views

Should I edit my resolv.conf file to fix wrong DNS problem?

I have the problem that my Ubuntu machine uses the wrong DNS server. For some reason the machine queries localhost for DNS information. I have added the DNS server in the network settings GUI, but /...
15
votes
4answers
62k views

How do I fix a vboxdrv setup failure in VirtualBox?

So, I tried creating an OS with VirtualBox, and I got this error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission ...
5
votes
4answers
65k 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 : root@hiteshb-To-be-filled-by-O-...
108
9
votes
3answers
46k views

How to Update or Re-Install the newest version of ADB?

I have an android based phone and I need ADB for installing new versions. However, until today ADB was working perfectly but today I got an error, it says "you need 1.0.32 or newer version." Yes, ...
101
17
votes
3answers
166k views

Enable graphics card in VirtualBox

I recently bought a new laptop with following configuration CPU: Intel i5 2450 RAM: 8 GB DDR3 GPU: NVIDIA GeForce GTX 520 1GB I've setup a virtual machine using VirtualBox with Windows 7 as guest. ...
52
votes
5answers
139k views

How to find zombie process?

System information as of Fri Mar 9 19:40:01 KST 2012 System load: 0.59 Processes: 167 Usage of /home: 23.0% of 11.00GB Users logged in: 1 Swap usage: 0% ...
35
votes
5answers
106k 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 ...
25
votes
3answers
103k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...