Greatest Hits

18
votes
6answers
118k 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 ...
15
votes
2answers
36k views

Wifi problems with rtl8723be in Ubuntu 14.04

I have dual booted my Windows 8 laptop with Ubuntu 14.04. The wifi driver is Realtek rtl8723be. It didn't use to work but I updated the kernel to 3.18 and reinstalled the driver and that seemed to ...
96
votes
11answers
165k views

How do I clear the DNS cache?

I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page. I'd like to see if the problem is Ubuntu's cached DNS ...
63
votes
5answers
56k 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 ...
4
votes
4answers
55k 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 : ...
92
15
votes
4answers
88k 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 ...
106
13
votes
10answers
54k 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 ...
42
votes
4answers
107k 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 ...
67
votes
5answers
132k views

What are the differences between “su”, “sudo -s”, “sudo -i”, “sudo su”?

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 ...
105
2
votes
4answers
97k 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 ...
23
votes
5answers
131k 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 ...
19
votes
3answers
118k views

How can I start in safe mode?

I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver. When I reboot the computer, my monitor gives a "signal out of range" ...
27
votes
5answers
77k views

How to watch videos in Amazon Prime Instant Video?

Today I upgraded from Ubuntu 12.04 to Ubuntu 13.10. I am not able to watch any videos in Amazon Prime Instant Video. I am getting this message: An error occurred and your player could not be ...
97
42
votes
10answers
155k views

How to correctly remove OpenJDK/OpenJRE and set SunJDK/SunJRE as Default

Ubuntu seems to favour OpenJDK/JRE very much over Sun JDK/JRE. Even after I installed Sun JRE, JDK and plugin and spent some time plucking out OpenJDK-related packages, apt-get has installed them back ...
104
40
votes
5answers
82k 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?
19
votes
5answers
76k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
38
votes
3answers
62k 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?
1
vote
2answers
73k views

How to load Windows 7 from GRUB rescue

I had Windows 7 and Ubuntu installed on the same partition Some time later, decided to uninstall Ubuntu.So I booted Ubuntu,Changed the hd related to it to NTFS,I did NOT extended my main drive ...
30
votes
5answers
94k 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 ...
37
votes
5answers
56k 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?
7
votes
3answers
54k views

How to install virtualbox on ubuntu 14.04?

using Ubuntu 14.04 I download the Ubuntu version from this link: https://virtualbox.org/wiki/Linux_Downloads Ubuntu 13.04/13.10/14.04 (64bit) ...
22
votes
5answers
91k 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 ...
26
votes
1answer
127k views

What is the PATH environment variable and how do I add to 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 ...
22
votes
3answers
81k views

Update server php version to 5.4.10 via the command line

Im setting up a vps for the first time from scratch, the host has a one click LAMP installer which took out allot of the leg work, but running phpinfo(); i found im running 5.3.10. So id like to ...
7
votes
5answers
91k views

Can I play Windows (Steam) games on Ubuntu?

I am downloading Ubuntu and I really want to play Windows games from Steam but I don't want it to replace my OS.
91
16
votes
5answers
76k views

Very slow graphics performance after upgrade 12.04 => 14.04

I upgraded from 12.04 to 14.04 and the performance is extremely sluggish; windows open and close in slow motion. Presumably my graphics hardware has not been recognized by the system. I think that I ...
67
votes
2answers
108k views

How can I install XFCE along side unity?

I would like to be able to install XFCE to run alongside unity so I can choose, upon startup, which DE I use, without breaking any features of either DE. Following this: Xubuntu 14.04 Trusty Tahr: a ...
91
7
votes
4answers
99k 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: ...
21
votes
2answers
65k views

How to install KDE along Unity?

I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this? Thanks!
89
43
votes
5answers
124k 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% ...
18
votes
2answers
123k 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. ...
30
votes
7answers
136k views

How do I set up xrdp session that reuses an existing session?

I have been trying to set up a RDP terminal server on precise using xrdp and have been having significant trouble getting a working configuration. When a user logs on, I need it to connect to that ...
24
votes
8answers
85k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
25
votes
3answers
104k views

Can I install Ubuntu inside Windows?

Ubuntu 12.04 won't come with the Windows Installer (Wubi) pre-added. But is there any way to install 12.04 using Wubi?
76
votes
6answers
160k views

Browsing the internet from the command line

How can I browse the Internet from the command line in Ubuntu?
45
votes
8answers
98k views

Can't install ATI proprietary drivers in 12.10

I have a laptop with ATI Radeon 6770M HD Hybrid graphics card. In Ubuntu 12.04, I installed the fglrx driver through "additional drivers" and it worked. (I can even switch GPUs). But in the new Ubuntu ...
30
votes
2answers
70k 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 ...
48
votes
1answer
132k views

How to start a GUI software on a remote Linux PC via SSH

Sometimes I need to start XMBC media player or other GUI software a one of my PC (small Xubuntu PC used as a media center). Usually I do this starting a X11vnc server on the remote PC via SSH and ...
107
81
votes
6answers
139k views

How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?
30
votes
4answers
109k views

Where are the OpenVPN connection logs and configuration files?

I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
19
votes
5answers
37k views

How to install Android Studio on Ubuntu?

Please tell me the full process of installing Android Studio and its necessary dependencies.
17
votes
4answers
78k views

How to set static IP address?

I have configured network adapter of guest Ubuntu to work in a bridged mode so I could ssh to it from the host machine. The problem is that the guest Ubuntu ip address keep changing. Even though ...
21
votes
4answers
84k views

How do I run 'sudo' command inside a script?

To do a patch manually I must type this command sudo ./playback_delete_data_patch.sh 09_delete_old_data_p.sql There is a space just before the 09: sudo ./playback_delete_data_patch.sh [space] ...
57
57
votes
5answers
67k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog was appearning that was containing a textbox where I was intersting my ssh passphrase and ...
108
8
votes
1answer
79k 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 ...
38
votes
5answers
76k 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.
100
votes
10answers
45k views

What is the difference between Terminal, Console, Shell, and Command Line?

What is the difference between Terminal, Console, Shell, and Command Line?
48
votes
3answers
115k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
92
20
votes
5answers
86k views

How to clean /tmp?

rizhas@rizhas-laptop:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda7 67G 58G 5,2G 92% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,5G 12K ...
70
9
votes
4answers
46k views

How do I burn the Windows 10 ISO to a USB?

I did the dd method and it worked but I'm not sure that's all you have to do because it is Windows and may not have GRUB and I'm not sure so I'm asking the experts haha. WINUSB DID NOT WORK BECAUSE ...