Greatest Hits

24
votes
4answers
41k views

How do I save terminal output to a file?

How do I save the output of a command to a file? Is there a way without using any software? I would like to know how.
33
votes
6answers
82k views

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And i want to get a new string called in someway (like string2) with the original string without the two | at the start and at the end of it so that i will ...
13
votes
3answers
73k 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 ...
53
38
votes
3answers
70k 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. ...
17
votes
3answers
68k views

How to fix 3D Acceleration for Vmware Workstation 9?

I have recently installed Vmware workstation 9 on Ubuntu 12.04 & i have migrated my VM's from windows to Ubuntu 12.04 . Now i am getting openGL error & it says no 3D acceleration as shown in ...
11
votes
5answers
74k views

How to fix “ndiswrapper not found”?

I've been using ndiswrapper to make work some wireless cards using its Windows drivers, because they are not yet supported by free Linux drivers. Until Ubuntu 12.04. Now, I can install Windows ...
9
votes
3answers
79k views

How do I remove the FGLRX drivers after I've installed them by hand?

I installed ati-driver-installer-11-9-x86.x86_64.run downloaded from the ATI Website. However I installed the generic version instead of building a distribution specific installer. Now I have the ...
13
votes
2answers
74k 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. ...
48
votes
5answers
87k 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 ...
69
35
votes
3answers
121k 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 ...
24
votes
2answers
85k 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 ...
45
votes
4answers
72k 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?
21
votes
4answers
26k views

System tray icons disappeared after installing Ubuntu 14.04

I have many applications with tray icons like davmail, hardware monitor. I miss this feature on Ubuntu 14.04. Does anyone have a solution? There are some tools like Skype indicator, but I need a ...
40
votes
1answer
53k 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?
21
votes
1answer
47k views

Why LibreOffice is default instead of OpenOffice.org

I have read before some articles about OpenOffice.org (OOO). They were saying that because of the status of OOO before it is maintained by Apache, the distros avoided distributing OOO along with the ...
8
votes
5answers
70k views

How do I update/install Perl

The Perl package is in /usr/bin and is an older version (5.12.4) and the current stable release appears to be 5.14.2. How do I update this version? Root access is required, and I do not want to ...
77
40
votes
3answers
64k views

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
66
25
votes
1answer
57k 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 ...
31
81
votes
10answers
104k 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 ...
4
votes
3answers
55k 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
7
votes
1answer
32k 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 ...
4
votes
4answers
55k 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.
56
7
votes
2answers
64k views

How do I mount my Android phone?

I'm puzzled because my phone used to just appear when I plugged it in. It doesn't anymore and The development options are definitely set to allow USB debugging. The phone is charging via USB but ...
6
votes
1answer
48k 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 ...
38
1
vote
6answers
55k 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 ...
3
votes
2answers
20k views

Youtube causing black screen in chrome?

The issue started when I updated google chrome to the latest version; I'm not positive, but I think I went from version 31 to 38. When I go to youtube and click to play a video, the screen goes black ...
2
votes
2answers
29k 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 ...
3
votes
2answers
33k views

How do I install utorrent on ubuntu 14.04 other instructions seem specific to older versions of the os

I have tried following some of the step by step instructions given but I think some of eh codes and instructions that need to be entered into the terminal window may be specifically for older versions ...
51
votes
4answers
72k views

Where is the user crontab stored?

Since upgrading my user's crontab has been wiped out. This is not the first time this has happened this year and it's a pain restoring it each time. I'd like to be able to back up the crontab for my ...
54
43
votes
3answers
63k views

Can a Raspberry Pi run Ubuntu?

I was thinking about buying a Raspberry Pi, and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out ...
6
votes
2answers
36k 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: ...
62
61
votes
2answers
80k views

How do I keep track of failed SSH log-in attempts?

I'd like to see if somebody has been trying to log-in by brute-force into my Ubuntu 12.04 server over SSH. How can I see if such activities have been taking place?
10
votes
2answers
49k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
74
6
votes
3answers
60k 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 ...
7
votes
1answer
43k views

Graphical GRUB editor for Ubuntu 13.10

I wanted to ask what graphical GRUB editors are there for the latest Ubuntu release (13.10)? And how do I install one? I searched through the Ubuntu Software Center but I can't find anything there. ...
55
5
votes
1answer
17k 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 ...
35
25
votes
3answers
101k 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 ...
11
votes
2answers
30k 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!
54
38
votes
5answers
85k 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 ...
68
13
votes
8answers
112k 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 ...
24
votes
7answers
80k 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 ...
45
votes
1answer
61k 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.
18
votes
1answer
55k views

How to install numpy and scipy for python?

I am tired to try to install numpy and scipy for phyton 2.7.5, I need this version of python because my final goal it's to install class (http://class-code.net/) and montepython ...
30
votes
10answers
64k views

How to find and change the screen DPI?

I am trying to find and then change the screen DPI (dots per inch) setting in 12.04 and 12.10. However, I can't seem to find any app or config file that can do this. Is there any app or conf file for ...
65
9
votes
3answers
45k 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 ...
19
votes
1answer
70k 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 ...
12
votes
5answers
37k views

How do I take a screenshot?

I'm not really sure since I'm still new to Linux distros in general
13
votes
5answers
42k 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 ...
6
votes
3answers
30k views

Change default system font using terminal only in 14.04

The following question answers how to Adjust fonts using tweak tool but the luddite in me would like to know how to do this without installing unity-tweak-tool. How can I adjust the default system ...
25
votes
2answers
36k 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 ...
70