Most Popular
1500 questions
114
votes
3 answers
How do I change file system in recovery mode to read-write mode?
I have messed up my sudoers file and I want to change the permission on it.
When I login in recovery mode, I cannot run the command chmod as it is read-only option.
I tried mount -o remount,rw / in recovery mode. Didn't work for me:
Err : Ext4-fs…

bale
- 1,141
114
votes
16 answers
Screen remains blank after wake up from suspend
So, when I suspend my laptop, then wake it up later, my laptop does turn on, I'm able to, for example, turn up and down the volume with audio confirmation using the kepboard, but my screen remains black and doesn't show anything until after I…

deathpigeon
- 1,141
114
votes
8 answers
WiFi randomly disconnected on Ubuntu 18.04 LTS
I installed Ubuntu 18.04 LTS in this week and now I have a problem with wifi connection. The WiFi connection auto disconnected every 5 - 10 minutes but wifi signal is still fine.
I did a search, found some answers for older versions of Ubuntu and…

Cảnh Đinh Văn
- 1,245
- 2
- 8
- 7
114
votes
3 answers
Right click not working on Ubuntu 18.04
I have installed Ubuntu 18.04 LTS on my HP Pavilion series laptop. After installing this version of Ubuntu, right click is not working of my touchpad. How can I solve this?
BTW: This question does not have any solution which which is working for…

sam
- 2,806
113
votes
2 answers
How to change Windows line-ending to Unix version
We have 10 PC with some version of Ubuntu and only remote access. While doing some upgrades to custom software I did not notice that the line endings in some scripts were Windows version (CR+LF) and not the Unix version (LF). So now when I want to…

NonStandardModel
- 3,450
113
votes
2 answers
There is no public key available for the following key IDs 1397BC53640DB551
When I run the command:
sudo apt-get update
I got this following warning:
There is no public key available for the following key IDs: 1397BC53640DB551
This is the only warning I got and I do not get any Error.
How I can fix it and what the key…

Marcellinov
- 3,349
- 3
- 15
- 23
113
votes
8 answers
How to run "sudo apt-get update" through proxy in commandline?
In my office i want to update and download through (wget) and here they are using proxy?
How can i do this by commandline?

Renjith G
- 3,553
113
votes
27 answers
Can not connect to PostgreSQL listening on port 5432
I installed the Bitnami Django stack which included PostgreSQL 8.4.
When I run psql -U postgres I get the following error:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections…

Assaf Lavie
- 2,183
113
votes
14 answers
Mcrypt extension is missing in 14.04 server for mysql
The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says:
The mcrypt extension is missing. Please check your PHP configuration.
My current php config is here. If you need anymore information, please contact…

matthapkidokarate
- 1,257
113
votes
7 answers
Change keyboard layout (English UK) on command line to English US
I am using Ubuntu 12.04. The keyboard layout is English US everywhere except for the Command Line where it works in English UK. Terminal also has English US. How do I change the default keyboard layout in Command Line to English US?
Also, I think it…

Evelyn
- 1,233
- 2
- 9
- 4
113
votes
4 answers
Where are the postfix log files?
I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file /var/log/mail nor any other concerning mail or postfix…

Steve Rakebrandt
- 1,233
- 2
- 8
- 5
113
votes
3 answers
How to check available webcams from the command line?
Is there a terminal command that lists all the webcams connected to my computer including the native one? Maybe using the ffmpeg package?

marcelosalloum
- 1,245
113
votes
4 answers
How to access the last return value in bash?
Simple scenario: I'm looking for a wsdl file lost in the middle of a project.
$ find -name '*.wsdl'
./some/very/very/long/way/to/some/lost/directory/filename.wsdl
Now that I know where it is, I want to do something with this file, say edit it. …

Anto
- 2,661
113
votes
2 answers
How do I mount a folder from another partition?
Is there a command to mount a folder from one partition to my main partition?
Example of what I'd like to do, which obviously doesn't work:
mount /media/tc1/folder /home/dvad/home
If not by using a command, is there another way I can do this?

user100541
- 1,233
113
votes
5 answers
Is there a standard place for placing custom Linux scripts?
I am developing a set of scripts, which I want to be present for all users, when I set up a server. But I don't want them in the standard locations like /usr[/local]/[bin],[sbin] etc.
Is there some existing convention for where such scripts should…

vfclists
- 1,859
- 3
- 16
- 20