Latest Ubuntu related questions

Score: 0
Wade John Beckett avatar
How to create an FTP/SFTP user to manage /var/www which is owned by www-data
ar flag

I am trying to create an FTP user that can manage the /var/www directory which is owned by www-data.

I have seen a post suggesting this:

chown -R newuser:www-data /var/www

How do I create a user and allow that user to manage /var/www without changing ownership of that directory?

Score: 0
Sina avatar
Change the boot order to boot Ubuntu first after Windows installation
us flag

I had ubuntu at first and installed windows to work on something, the installation is clean and I can boot both operating systems, the problem I have is that I want to see GRUB (I want ubuntu boot at startup) and not windows but It went vice versa after I installed windows. I can now choose ubuntu from my laptop's BIOS settings and the grub is fixed too by repairing in the live ubuntu environment.

Score: 0
Shell script to copy multiple files
gb flag

I'm trying to do a shell script that would copy a bunch of files but struggle with setting up a loop to read through the files:

aws s3 cp s3://noaa-bdp-pds/gdas.YYYYMMDD/00/atmos/hdas.t00z.sfcf000.nc s3://s3internal/raw/HDAS/hdas.YYYYMMDD_00Z.nc

Here YYYY, MM, DD are numbers that I need to loop through.

I need to loop through all years, all months, and then dates to save all files. Let me know if this ca ...

Score: 0
Md Jamiruddin avatar
Audio sync issue while using FFMPEG transition command
cl flag
ffmpeg -i inputVideo1.mp4 -i inputVideo2.mp4 -filter_complex xfade=transition=fade:duration=5:offset=2 outputVideo.mp4

I am trying to apply this type of command between 2 video clips where the first clip has no sound and the second clip have some sound. As I noticed, the sound starts at the beginning of the output video.

If the first video clip is of 5 seconds and has no sound, then in the output vide ...

Score: 0
engr_john avatar
How to write sample data in USB flash drive as text file Ubuntu 20.04
gb flag

I am having Ubuntu 20.04 in my computer. I need to know how can I write a sample data in USB flash drive as text file Ubuntu 20.04 ? The USB flash drive is connected to Ubuntu 20.04 machine.

The sample data generation is continuous in a C program like 10 kilo bytes per second.

Score: 0
Petro Gromovo avatar
Failed to upgrade kubuntu 20
ms flag

I try to upgrade my kubuntu 20, but got errors :

# uname -a
Linux master-laptop 5.11.0-36-generic #40~20.04.1-Ubuntu SMP Sat Sep 18 02:14:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# sudo apt install -y libnotify-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libnotify-bin is already the newest version (0.7.9-1ubuntu2).
The following packages wer ...
Score: 0
Fox Chasin avatar
I want to locate a file anywhere in my system and unzip it. But I want to run a shell script for it
tn flag

I used locate command to locate the zip file as find was not working in this case. Then run unzip it manually. I am learning shell scripting. How can I do it in shell script?

Score: 1
p1906 avatar
ubuntu doens't resolve usb device name
gr flag

I have a ARM SBC running linux and configured to be connected to a pc via USB using rndis gadget. Inside my device I configured dnsmasq to provide to the host pc an ipv6 address, I also configured the avahi-daemon to give (via ipv6) the name of my device (device-1234). If I connect my device to a Windows pc from the ms-prompt I can ping the device using its name (ping device-1234) I have also a PC with  ...

Score: 0
Kaas_henk avatar
With booting up my PC I get to a grub line and not windows
th flag

So, about one year ago I installed Ubuntu on my PC because it was necessary for school. (I did it on a partition of my SSD) About 3/4 months ago I began having problems with it and eventually removed it from my PC and recovered the partition.

Now I am booting up my PC but I just get to a GRU GRUB line and I cannot access Windows anymore. Only way to get out is via the exit command but that only r ...

Score: 0
takanoha avatar
GRUB console appears and it's stuck
us flag

I have a problem with booting ubuntu and every time I turn on my linux machine I see

grub>

grub>ls 
(proc) (hd0) (hd0,gpt2) (hd0,gpt1)

grub>ls (proc)
Device proc: Filesystem type procfs - Sector size 512B - Total size 0KiB
grub>ls (hd0)
Device hd0: No known filesystem detected - Secotor size 512B 0 Total size 468851544KiB
grub>ls (hd0,gpt2)
Partition hd0, gpt2: No known filesystem  ...
Score: 0
Nicu B avatar
Samba Problem to write/delete files with composer (think SAMBA BUG)
ke flag

I installed ubuntu 20.04 server and samba. I upgraded the system and everything worked normally. After this I try to use composer from windows to write to the shared folder on the server. When I try to do this I have some very strange errors, namely:

[RuntimeException] Could not delete Z:\ubuntu20/vendor/composer/f0856649:

In samba log found that:

[2021/10/11 16:27:34.235513, 2] ../../source3/smbd/op ...

Score: 0
Thunderbolt devices not detected
by flag

I have connected amazon basics thunderbolt dock to ubuntu machine and i have a thunderbolt ssd connected to dock in the thunderbolt port and the dock has ethernet port. in the gnome thunderbolt manager i can see that the ssd is authorized. However the drive is not detected in disks or gparted. and also ethernet port is not detected too.

In the bios for thunderbolt i have set no security.

The same th ...

Score: 1
Random restarts on Ubuntu 20.04.1 on Dell Precision 3551
cn flag

I got my new Dell Precision 3551 computer about a month ago, and installed Ubuntu 20.04.1 on it. However, since then, I've experienced random restarts at seemingly random times. The computer just restarts without any forewarning or error messages. This is of course very inconvenient.

I haven't been able to notice any pattern in the timing or frequency of the restarts. Sometimes, even when I'm awa ...

Score: 0
ottopiloto avatar
Messy dual boot partitions / Please help to clean them up
md flag

Please excuse my mistakes both in English and in Ubuntu terminology.

I recently did a reinstallation of my computer. I'm running now Ubuntu 20.04.3 LTS on a computer with a 1TB Hard disk and 512GB SSD disk. I have no access to a USB live boot nor to a CD, so I did the formatting through Unetbootin or a similar program (can't remember now).

At the moment of creating the partitions, there was an autom ...

Score: 0
Bilanciai avatar
Problem with MySql starting while booting Ubuntu
in flag

when I try to start the system, I got this error after the BIOS screen.

It seems that MySql services can't load at start and the whole system got stuck.

Sometimes nothing appears on screen but a blinking underscore in infinite loop.

I can't open terminal in any way (Shift or Ctrl+Alt+...) and I can't boot system in any way.

Can you help me finding the solution?

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.