Latest Ubuntu related questions

Score: 0
mario falsi avatar
"dev/sda3: clean ..." message when I start the system
jp flag

Today I turned on my pc and this happened to me. Someone knows how to fix this?

"/dev/sda3: clean..." message

Score: 1
zsh: Understanding command output from wc and passing it to other commands
gq flag

I'm trying to create a complex command (using shell substitutions and arithmetic expressions) and I was wondering if anyone could helpme understand the output of the wc command.

For instance, here are a couple of examples:

[11:10:33] labreu:~ $ wc -l test.txt
5 test.txt
[11:10:40] labreu:~ $ cat test.txt| wc -l
5

Why does the command return different values? I've tried looking at its man page, but the ...

Score: 0
The deepin theme is not recognized by Cinnamon because the "gtk-3.20" folder is missing
it flag

I use Ubuntu 20.04.3 LTS 64-bit with "cinnamon-desktop-environment" installed.
The link to the theme is the following:
https://github.com/linuxdeepin/deepin-gtk-theme/issues/20
enter image description here enter image description here enter image description here

Is there a different way of solving the problem than waiting for the fix? That is how to make sure that the theme is recognized by Cinnamon?

Score: 0
Karatzu avatar
Openvpn connection cannot be established
cn flag

I'm trying to troubleshoot my openvpn connection and I cannot figure out why my connection is blocked. I checked openvpn logs and it seems that something is blocking the connection. Here is the error:

[UNDEF] Inactivity timeout (--ping-exit), exiting

I tried changing the configuration but I had to interrupt it, because logs stop after Initialization Sequence Completed and nothing happens.

My cred ...

Score: 2
Unstable networking on Dell optiplex 7090 sff (e1000e)
id flag

Summary

Network instability on Dell 7090 with ubuntu 20.04.3 (e1000e interface)

Details

We recently purchased some nice shiny 7090 SFF (vPro enabled) desktops which came with windows 10 installed, so we re-installed them using our pxe infrastructure which utilises the official ubuntu autoinstall methodology (user-data.yml).

Initially we had issues where the installer would not start, so we switched to ...

Score: 0
Theo Jaasp avatar
ASUS TUF DASH F15 RTX3060 not booting after Driver Install
cn flag

My brand new Asus TUF DASH F15 with RTX3060 Laptop stucks on boot after Nvidia Driver Installation. What can cause the problem ?

Score: 1
what the avatar
Tab completion doesn't work in curl
br flag

Trying to use tab to autocomplete paths somehow doesn't work in curl

curl --output-dir ~/bi
curl --output-dir ~/bi

It seems to work in other programs, like vim:

vim ~/bi
vim ~/bin/

Any way to make it work with curl?

Score: 0
irivet avatar
Transfer file from Ubuntu computer to network drive
ng flag

I want to transfer a large file (1 GB size approx) from my computer with Ubuntu 18.04 LTS to a Hard Drive connected to the USB port of my router. I want the transfer to be done automatically, thus it should be done via a script or the command line. The problem is that the file transfer takes 10-20h.

So far I have tried multiple options, like mounting the hard drive into my computer and then movin ...

Score: 0
user1279791 avatar
20.04 Login screen is bypassed when waking up from hibernate-to-disk
jp flag

Whenever I wake my Thinkbook from hibernate to disk, a gdm session owned by gdm runs at 100% CPU. If I sudo kill -9 it, everything seems fine. But this happens every single wakeup. How can I fix this?

Edit:

Interesting observation from just now. I booted up my laptop again after hibernate-to-disk, and GDM came up, asking for my password. This has never happened before. And after entering my password ...

Score: 2
Ordering of Interface Configuration with systemd-networkd
pl flag

I'm using Ubuntu 20.04, with systemd-networkd and Netplan. I have two physical interfaces (ens3 and ens4) which are configured by DHCP (with reservations, so I always get the same addresses).

Additionally, I have two tunnel devices. These are outside Netplan/networkd control (they're created by Strongswan, but for all intents and purposes they're created manually by running something like ip tunnel add.. ...

Score: 0
How do I upgrade an existing EC2 instance from Ubuntu 16.04 to 18.04 through CLI with custom Ubuntu 18.04 image?
cn flag

How do I upgrade an existing EC2 instance from Ubuntu 16 to 18 through CLI/ansible with our own Ubuntu 18.04 image?

Tried below steps and able to upgrade from 16 to 18.04 but it used ubuntu common image.

$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt-get autoremove
$ sudo apt install update-manager-core
$ sudo do-release-upgrade

But the requirement is to upgrade to 18.04 using cu ...

Score: 0
Amala avatar
Find files modified between 2 dates from Source directory(Recursively) and copy it into the Target directory with same directory structure
ma flag

I am trying to copy the files from source to Target folder which has been modified between 2 dates,

#!/usr/bin/ksh

source=/home/Amal/DELTA/SOURCE

target=/home/Amal/DELTA/TARGET

cd $source

find ./ -type f -newermt "2021-07-08 00:00:00" ! -newermt "2021-09-18 23:59:55" -printf "%h:%p:\0" |

while IFS=":" read path file; do

cp "$file" "$target"/"$path"

done

NOTE: Source and directory is having same ...

Score: 0
Haridvpsk avatar
How to find a key based on value in dictionary?
us flag
#!/bin/bash
cd /pg
declare -A arr
file=`ls -l |awk '{print $9}'`
#declare -A  test_dict
for i in $file
do
  #if [[ "$one" -eq "1" ]]; then
  one=`cat /pg/$i | wc -l`
  if [[ "$one" -eq "1" ]]; then
     key=$(awk 'NR==1{print $7}' "/pg/$i")
     value=$(awk 'NR==1{print $8}' "/pg/$i")
     #echo $key
     #echo $value
     arr["$key"]=$value
  else
     key=$(awk 'NR==1{print $7}' "/pg/$i")
     value=$(a ...
Score: 0
How can I use the Ubuntu Server from my USB stick?
gf flag

I'm new into Ubuntu and I have some questions. The questions may look stupid but I want to be on a safe side.

  1. I'm based in Germany and I want to download Ubuntu server for self education, is it still free to download here in Germany?
  2. I want to use the Ubuntu server software from my USB stick without installing it to my laptop, is this possible?
  3. And where I can find useful literature for self education? ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.