Most Popular

1500 questions
132
votes
5 answers

How do I get a colored bash?

How can I get the bash to look colored like this?
daniel451
  • 7,613
132
votes
25 answers

Any command line calculator for Ubuntu?

I am looking for a calculator which can do calculations in the terminal itself, without any other extra prefixes and suffixes. For example: If I typed something like 10000-9000 in the terminal, the answer should come out as 1000. Once again I am…
Raja G
  • 105,327
  • 107
  • 262
  • 331
132
votes
3 answers

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 laptop doesn't connect. Am I doing something wrong or…
132
votes
3 answers

Why should users never use normal sudo to start graphical applications?

I've read the comunity "RootSudo" documentation and am interested in this line: You should never use normal sudo to start graphical applications as Root. Why? What is the difference? Please provide a simple explanation, as I'm just a normal…
Nur
  • 4,131
132
votes
4 answers

kswapd0 is taking a lot of cpu

kswapd0 is taking 99.9% of my CPU as top shows me, the problem appeared today when gaming and first time it went away after 6 minutes and now it has been doing it for about 20 minutes. How is this fixable and what is causing this?
inimene
  • 2,236
132
votes
14 answers

What hardware does Ubuntu Touch support?

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time. Note from foss & Oli: We are making this the master question for all future "Will this work on
Marco Ceppi
  • 48,827
132
votes
6 answers

What is the easiest way to resolve apt-get BADSIG GPG errors?

I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get? W: GPG error: http://download.virtualbox.org lucid Release: The following signatures were invalid: BADSIG…
cmcginty
  • 6,016
132
votes
7 answers

How can I scale all images in a folder to the same width?

I want to scale all images in a given folder to the same width (but different appropriately scaled heights). How can I do this using a GUI-based or command-line tool? For bonus points, is it possible to restrict which images are scaled based on…
lofidevops
  • 21,912
131
votes
5 answers

How do I install kernel header files?

i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated
coder
  • 3,691
131
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,443
  • 2
  • 9
  • 7
131
votes
13 answers

How to set Monday as the first day of the week in GNOME 2 Calendar applet?

What is the recommended way to change the first day of the week to Monday (instead of Sunday, as in the screenshot below)? I couldn't find anything related in Clock Preferences, nor in System -> Preferences, or System -> Administration. This…
Jonik
  • 7,448
131
votes
5 answers

How to exclude certain files in `ls`?

I would like to run ls and exclude certain files in the output. When I run the following command, I get all files, each on a separate line: $ ls -1 file1 file2 file3 temp I would like to run this command in a way so that it shows: $ ls -1
Alice Ryhl
  • 1,587
131
votes
3 answers

How to create UEFI-only bootable USB live media?

Having live media that can boot both ways can be a problem when installing Ubuntu onto currently available Windows 8 computers. In other words the key advantage to creating UEFI-only bootable USB live media is: You know that it definitely booted and…
LiveWireBT
  • 29,597
131
votes
7 answers

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 find the kernel version or kernel. I…
barry
  • 1,313
131
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,219