Most Popular
1500 questions
516
votes
16 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,722
515
votes
14 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
- 5,153
511
votes
10 answers
How can I update all Snap packages?
I know that I can update a snap package using
sudo snap refresh
But is there a way to update all snaps, like
sudo apt dist-upgrade
Alejandro Vera
- 6,997
509
votes
8 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
- 24,444
508
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
- 216,643
508
votes
10 answers
How to select video quality from youtube-dl?
I have installed youtube-dl in my 14.04.
I can download video by following command,
$ youtube-dl [youtube-link]
But I want to know how to select available pixel quality of youtube video(i.e 1080p, 720p, 480p, etc).
In software description they…
A J
- 11,557
507
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,705
504
votes
8 answers
How to create a bootable Ubuntu USB flash drive from terminal?
Is there any way to create a bootable Ubuntu USB flash drive from the terminal without using any third-party applications like YUMI, Unetbootin, Startup Disk Creator, etc.
I tried to create a bootable Ubuntu flash drive with dd method,
sudo umount…
Avinash Raj
- 80,446
501
votes
6 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,557
498
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
493
votes
9 answers
Easiest way to copy ssh keys to another machine?
I am lazy at home and use password authentication for my home machines. I am ready to move to key based authentication. There are many options on the web on how to do this, including catting then sshing the key over, scping the key over directly,…
Jorge Castro
- 73,717
491
votes
8 answers
How do I modify or disable the HUD's use of the Alt key?
A number of games, Emacs, and the terminal make extensive use of the Alt key. Can Unity be configured to respect this key, rather than launching the HUD with it?
EoghanM
- 5,135
488
votes
3 answers
How do I configure swappiness?
I need a step-by-step, simple and easy way to configure swappiness.
One Zero
- 27,761
487
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
- 144,580
486
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,702