Most Popular
1500 questions
187
votes
24 answers
Tips to extend battery life for laptops and notebooks
This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the FAQ.
Is it possible…
Niall Murphy
- 685
187
votes
4 answers
How can I tell if my system was booted as EFI/UEFI or BIOS?
How do I determine whether a particular running Ubuntu system was booted using EFI/UEFI, or BIOS?
Alexander Trauzzi
- 2,288
186
votes
11 answers
How to pass an array as function argument?
Struggling for a while passing an array as argument but it's not working anyway. I've tried like below:
#! /bin/bash
function copyFiles{
arr="$1"
for i in "${arr[@]}";
do
echo "$i"
done
}
array=("one" "two"…
Ahasanul Haque
- 1,973
186
votes
3 answers
How to Zip and Unzip a directory and its files in Linux
I am a newbie in Linux.Whats is the complete process to zip and unzip a directory and its files.Please mention if any installation has to be done.
Phoenix
- 1,961
186
votes
36 answers
What lenses for Unity are available?
This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on AskUbuntu and will be closed per the FAQ.
What lenses are…
Lincity
- 25,749
186
votes
7 answers
.bashrc not executed when opening new terminal
The code in .bashrc does not execute when I open a new terminal window in Ubuntu 12.04.
I noticed this when creating a .bash_aliases file. The aliases did not show up when I opened a new terminal. However when I type source .bashrc the aliases did…
Selah
- 2,995
186
votes
8 answers
I have a hardware detection problem, what logs do I need to look into?
I am trying to ask a question about getting my hardware to work but I don't know what information to add to my question to get help, what do I need to do?
Related if you don't have access to a GUI:
How do I get information from the logs on my…
Jorge Castro
- 73,717
186
votes
11 answers
Command line tool to crop PDF files
I am looking for an open source command line tool to crop PDF file just like we can do in Adobe Acrobat Pro. I have tried PdfTk, ImageMagick, PyPDF, and GhostScript—all with no success so far.
Rakesh
- 2,154
186
votes
13 answers
Enable fractional scaling for Ubuntu 18.04
I recently installed Ubuntu 18.04 and discovered that the fractional scaling option that was in 16.04 is no longer there. 200% is too big for my display, and this answer didn't work for me (the options didn't change after running the command).
Is…
Mitch
- 2,231
185
votes
5 answers
Explicitly accept change for PPA 'Label'
When I run apt-get update on my ubuntu 17.10 I receive the following error:
E: Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '*****
The main PPA for PHP (5.6, 7.0, 7.1) with many PECL…
Rick
- 1,901
185
votes
4 answers
How do you view file permissions?
I want to know how to see the permissions a particular file has. Which command should I type in the terminal? However, I don't want to change it.
CENTAUR
- 3,409
185
votes
11 answers
Enter SSH passphrase once
Before upgrade
When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the passphrase was no longer required until the next…
Ionică Bizău
- 9,803
- 25
- 89
- 129
185
votes
16 answers
Chrome asks for password to unlock keyring on startup
In Google Chrome, when I go to a login page, a window pops up asking to "Enter password for keyring 'default' to unlock". In most cases, whether I click Cancel or enter my password, the login form gets auto filled anyway.
How do I get rid of the…
DisgruntledGoat
- 3,557
185
votes
6 answers
Should I always restart the system when I see "System restart required"?
These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions:
How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)?
Should I always restart the system when prompted to?
Does…
tim peterson
- 2,345
185
votes
9 answers
How do I disable swap?
I have some sensitive data in RAM that I prefer not to be on disk. How do I disable swap?
I have more than enough RAM. If RAM consumption gets too high I have no problems with processes being terminated. How do I disable swap?
Note: I do not have a…
user4482