Most Popular

1500 questions
490
votes
16 answers

How do I run .sh scripts?

Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal. How do I open this file in the terminal?
Alex
  • 4,901
  • 3
  • 15
  • 3
486
votes
2 answers

How to install specific version of some package?

My questions are divided into two parts: How to know the version of installed package? How to install a specific package version?
user254258
484
votes
13 answers

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
user1034
  • 4,843
  • 3
  • 16
  • 6
483
votes
5 answers

What do the different colors mean in ls?

What do the different colours in Ubuntu's ls command mean? For example, when I type the ls command in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with green highlighting. What do those colours…
Rafid
  • 5,367
  • 6
  • 21
  • 20
481
votes
12 answers

How to use "grep" command to find text including subdirectories

I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried reading man grep, but it didn't yield any help.
Smile.Hunter
  • 8,205
  • 10
  • 33
  • 35
481
votes
7 answers

How do I report a bug?

I found a problem with an application on Ubuntu. Questions : How do I best report the issue? What sort of information should I provide?
andrewsomething
  • 37,262
  • 13
  • 93
  • 140
481
votes
13 answers

How do I install Sublime Text 2/3?

I installed Sublime Text 2 on 12.04 as per this tutorial. However I don't have adequate permissions when launching the program from the Unity launcher. For example I cannot install packages, or if I add a folder to the sidebar when I close Sublime…
Michael Gruber
  • 4,921
  • 3
  • 15
  • 8
475
votes
7 answers

What does "cp: omitting directory" mean?

I've issued the following command: sudo cp ~/Transfers/ZendFramework-1.11.4-minimal/library/Zend/* ~/public_html/cmsk.dev/library/ When I do this, I start getting the following messages: cp: omitting directory `Tag' cp: omitting directory `Test'…
MEM
  • 10,997
  • 12
  • 38
  • 42
475
votes
15 answers

How can I tell Ubuntu to do nothing when I close my laptop lid?

I would like closing the laptop lid to be a no-op. How can I do that?
badp
  • 12,152
  • 13
  • 43
  • 56
475
votes
7 answers

How to empty swap if there is free RAM?

When I open a RAM-intensive app (VirtualBox set at 2GB of RAM), some swap space is generally used, depending on what else I have open at the time. However, when I quit that last application, the 2GB of RAM is freed up, but the same swap space use…
jfoucher
  • 22,644
  • 8
  • 29
  • 29
473
votes
8 answers

How do I change my username?

Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for…
Takkat
  • 140,996
  • 54
  • 308
  • 426
468
votes
8 answers

How to check hard disk performance

How to check the performance of a hard drive (Either via terminal or GUI). The write speed. The read speed. Cache size and speed. Random speed.
Luis Alvarado
  • 209,003
  • 167
  • 543
  • 707
465
votes
2 answers

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin

I have six directories with command files. These are /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin and /usr/local/sbin. What are the differences between these? If I'm writing my own scripts, where should I add them? Related: How to understand…
user125111
464
votes
16 answers

How can I edit/create new launcher items in Unity by hand?

Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs. For some programs I use, I have to make custom launchers or .desktop…
Ike
  • 5,112
  • 3
  • 15
  • 18
461
votes
8 answers

What is an "AppImage"? How do I install it?

I just read Meet Etcher, A Stylish Open-Source USB Image Writer Tool. It talks about downloading an AppImage. Yes, Linux; the Linux packages are distributed as a .appimage for 32-bit and 64-bit distributions, and should run across all major Linux…
DK Bose
  • 41,240
  • 22
  • 121
  • 214