Most Popular

1500 questions
138
votes
3 answers

How to disable IPv6 in Ubuntu 14.04?

I am using Ubuntu 14.04. And I have done the following to disable ipv6 . I have open /etc/sysctl.conf using gedit and paste the following lines at the end of sysctl.conf . net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1…
A J
  • 11,567
138
votes
13 answers

Script to display all terminal colors

Throughout the internet I have seen many people with scripts that prints out a bunch of stuff in all the colors defined in ~/.Xdefaults . However when I try to use these, I always get error: Bad Substitution . Does anyone have a working script that…
John Howard
  • 2,115
138
votes
5 answers

How can I read and remove meta (exif) data from my photos using the command line?

Just looked this up. Figure I'd share it here for future reference.
klenwell
  • 4,349
138
votes
10 answers

How to set up USB for Virtualbox?

I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working. I followed these instructions , but I can't find the user…
kst
  • 1,503
138
votes
5 answers

Why choose a low latency kernel over a generic or real-time kernel?

After installing Ubuntu Studio 12.04, I have found that it uses a low latency kernel. I searched for an explanation and how to change back it to a real-time or generic one. However, it looks like this part of Linux hasn't been covered to explain the…
Starx
  • 5,363
137
votes
7 answers

How can I view a progress bar when running rsync?

I am using Ubuntu 12.04 as a repo and would like to view a progress bar when using rsync from the command line. I tried the option suggested in this article ( -P ), but I prefer to see a progress bar and not use Grsync. I am using rsync -P source…
Joseph Smith
  • 1,503
  • 2
  • 9
  • 7
137
votes
4 answers

Extract part of a video with a one-line command

If I have a video, normally avi, but could be any, and I want to create another one in the same format but just a part, the position i seconds to f seconds into the video, what is the one-line command to do this?
Strapakowsky
  • 12,344
137
votes
9 answers

GLIBCXX_3.4.20 not found, how to fix this error?

Whey I try to run the program Layout Editor (available on this site ) on Ubuntu 14.04.1 64-bit LTS I get the following output in the terminal: $ layout layout: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by…
Vesnog
  • 2,283
  • 4
  • 22
  • 36
137
votes
4 answers

How to save a file using nano

I am trying to install Java via the terminal using the guide How to Install Oracle Java JRE on Ubuntu Linux . Everything went perfectly fine until " Step 11: Save the /etc/profile file and exit ": I spent maybe 30 minutes figuring out what ^ means…
user288690
  • 1,573
137
votes
46 answers

What Custom Launchers and Unity Quicklists are available?

Please note that right now, most of the information contained below is outdated and cannot be updated. Be careful, most of this won't work on Ubuntu 12.04 and newer. Creating a custom launcher for Unity is simple. Quicklists provide an easy and…
nik90
  • 12,979
137
votes
14 answers

How to disable microphone from auto adjusting its input volume

I want to disable the way the microphone lowers itself depending on the input. Here is an image: The microphone started at 100% and slowly started to drop to where the image is showing. This is because of either a background noise or the user…
Luis Alvarado
  • 217,203
137
votes
4 answers

Remove note about sudo that appears when opening the terminal

Whenever I open the terminal, To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. appears before the terminal. How do I get that to go away?
mouche
  • 1,607
137
votes
8 answers

How to mount a new drive on startup

I have recently installed a new hard drive to my Ubuntu 10.0.4 box. I used System -> Administration -> Disk Utils to format the disk (ext4 file type) - but did not create a partition (is this advisable?). I have manually mounted the drive as…
136
votes
2 answers

Exclude packages from `apt-get upgrade`

Possible Duplicate: How to prevent updating of a specific package? Keep the Ubuntu package version I'm using now Is it possible to upgrade all packages except a given package? Is there something like apt-get upgrade --exclude package_to_exclude ?
136
votes
2 answers

Root file system requires manual fsck

Whenever I switch on Ubuntu I always see the following message. (Initramfs): /dev/sda1 contains a file system with errors, check forced. Inodes that were a part of a corrupted orphan linked lost found. /dev/sda1 : UNEXPECTED INCONSISTENCY; RUN fsck…