Most Popular

1500 questions
114
votes
12 answers

How do I read a variable from a file?

I want to insert in my script a value (string) that I would read from a text file. For example, instead of: echo "Enter your name" read name I want to read a string from another text file so the interpreter should read the string from the file and…
user208413
  • 1,175
114
votes
2 answers

In Gimp can I change all black pixels in a picture to blue pixels?

Using Gimp can I make all the black pixels with RGB(0,0,0) into blue pixels with RGB(0,0,255)?
sashoalm
  • 5,251
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
19 answers

apt-get update failed because certificate verification failed because handshake failed on nodesource

Running sudo apt-get update on my AWS EC2 Ubuntu 18.04.01 LTS instance fails: Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown when trying to access the deb.nodesource.com/node_10.x bionic Release…
Joe
  • 1,279
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 me.…
sam
  • 2,836
114
votes
3 answers

How do I Install GTK+ 3.0?

How can I install GTK+ 3.0 and use that instead of GTK+ 2.24?
dlin
  • 3,900
113
votes
10 answers

MongoDB loads but breaks, returning status=14

So im trying to setup Mongodb on Ubuntu 16.04 but im running into trouble. when running : sudo systemctl status mongodb I get the following: mongodb.service - High-performance, schema-free document-oriented database Loaded: loaded…
user2915962
  • 1,231
113
votes
14 answers

Windows 10 upgrade kills grub and boot-repair doesn't help

I've just upgraded to Windows 10 from Windows 8.1 on my partitioned laptop that has Ubuntu 14.04 installed. Grub no longer appeared on boot so I ran boot-repair from an Ubuntu liveUSB. This didn't seem to have any effect. I've checked and secure…
113
votes
10 answers

Is it possible to "upgrade" from a 32bit to a 64bit installation?

As per title, I wish to know if I can, after a successful 32bit setup and consequent software installations, update to a 64bit version. I know how to partition (actually one of the solutions is to set / , /etc , /home , /var/www , and /opt as…
dag729
  • 2,049
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…
113
votes
3 answers

apt-get install with --assume-yes is still prompting me to install dependencies

I am trying to write a bash script to install a list of software. I am using --assume-yes to get past the prompts. This following line somehow doesn't work: sudo apt-get install python-software-properties --assume-yes If I try to apt-get without…
Rengas
  • 1,321
113
votes
4 answers

How to mount a hard disk as read-only from the terminal

How do you mount a hard disk from the command line as read-only? I don't want or need a link to the man page, I want the exact thing I will have to type in if the following is true: disk to mount is on /dev/sda it is 2 TB -it is critical that I…
wardr
  • 2,449
113
votes
6 answers

How do I remove a folder?

I am a new user and I am trying to remove a specific folder. I am using sudo rm /path/ , but it is not working. What is the correct command to use? It is a file catolog I am attempting to remove but I am geting a message that it is empty.
Carl
  • 1,131
113
votes
4 answers

How do I change the font or the font size in the TTY (console)?

I am using Ubuntu 12.04. Recently, the font size for all of my TTYs became much larger. How can I change the font size back to the default?
Aaron Hill
  • 5,045
113
votes
8 answers

I'm getting the message: "The following security updates require Ubuntu Pro with 'esm-apps' enabled" when updating Ubuntu 22.04

I use the package texlive-full , which installs imagemagick and other related packages. When I check for updates, I get this message: The following security updates require Ubuntu Pro with 'esm-apps' enabled: imagemagick libopenexr25…