All Questions
Tagged with 20.04 command-line
314
questions
2
votes
1
answer
33
views
Ubuntu terminal sudo password not persisting [duplicate]
Is it possible that the same opened terminal (default in ubuntu) will ask for the sudo password from time to time after being provided a password at some point?.
E.g.:
$ sudo service my_service_name ...
0
votes
0
answers
37
views
sudo su gets hung in Ubuntu 20.04
When trying to run the sudo su command it gets hung. If I press Ctrl zz then after 2 minutes it goes to sudo. When I checked the permissions, it is OK and there is no output from it.
0
votes
0
answers
33
views
Ways to disconnect or connect power cable with a command without physically unplugging it in Ubuntu?
On ubuntu 20.04, I start looking for ways to automate the charging period of a laptop, this means that the power cable stays always plugged in, but the system must effectively internally disconnect or ...
0
votes
0
answers
20
views
Does dosfsck -a log errors it found?
I have a question. Does dosfsck -a log the errors it found? Like, the specifics of the error?
Because, since it's doing it all automatically, it doesn't let the user have input, so I wondered if it ...
0
votes
0
answers
280
views
`nc` (netcat) hangs indefinitely when reading from initially empty named pipe
I start an nc server like this:
nc -lk -p 12345 -s localhost < <named_pipe>
and an nc client with:
nc localhost 12345
When I run the command and the pipe is empty, nc hangs, which is what I ...
0
votes
1
answer
718
views
ProtonVPN no longer showing up on applications menu
I've used Proton VPN in the past, but now it's suddenly not listed under my programs menu / application launcher.
I'm pretty sure it's still installed because I see it updating when I'm doing updates.
...
1
vote
2
answers
1k
views
How to grant full access to any new folders/files/subfolders created in a specific folder?
I have granted full access to a folder as follows:
sudo chmod 777 -R /media/sharedfolder
However when a new subfolder is created by User A, that subfolder is not accessible by other users. How can I ...
0
votes
0
answers
54
views
Need help while installing virtual box{i am a newbee} This is what I've got as errors list
virtualbox-7.0 : Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
...
0
votes
0
answers
236
views
Need help installing libgraph library on ubuntu 22.04 LTS
I am new to Ubuntu. I am trying to install libgraph to use
#include <graphics.h>
in my school c++ programs.
I have ubuntu 22.04 LTS (jammy jellyfish).
The online tutorials ask to install guile ...
4
votes
2
answers
1k
views
Prevent an open terminal from being closed
It has been a long time, so I am rusty with my commands.
I use a script to have reminders. One I have running will display "Meteor shower occurs after midnight." after 3 hours.
Is there a ...
0
votes
1
answer
89
views
MD5/SHA Ubuntu Download verification
I would appreciate if someone could tell me how to download and verify the MD5,SHA file on the terminal.
1
vote
0
answers
1k
views
WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114
When trying to install Ubuntu under WSL Windows 11, I'm getting the following error,
no advice on askubuntu.com works for me:
Installing, this may take a few minutes...
WslRegisterDistribution failed ...
0
votes
0
answers
72
views
I installed Ubuntu 20.04 and it comes without apps
Recently, I installed Ubuntu 20.04 on my Raspberry Pi. I had some trouble accessing the desktop and had to install a screen manager, and when I finally managed to turn it on, there weren’t any apps! ...
0
votes
1
answer
179
views
bash: export: `LS_COLORS#': not a valid identifier
I'm getting the following error in my terminal:
bash: export: `LS_COLORS#': not a valid identifier
My ~/.bashrc file looks like this:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/...
0
votes
1
answer
248
views
How to add code to .bashrc without causing errors?
I'm learning how to passthrough my NIC to my KVM.
This guide says to add the following code to the file ~/.bashrc
#!/bin/bash
# change the 999 if needed
shopt -s nullglob
for d in /sys/kernel/...