Latest Ubuntu related questions

Score: 1
wer4ty avatar
write to /etc/host from cron each for n minutes of each hour
ru flag

i need help with bash script and cron. The simple idea is to lock some website domain name for n minutes of each hour, (45 minutes of each hour but randomly lock youtube.com or facebook). I do not know how the bash script should be and which cron rule need to use and how to run it with root rights ?

*/45 * * * * for cron rule but how to make it run randomly (0-45 or from 10-55 ...) And how should ...

Score: 0
TarikTEM avatar
[] wildcard doesn't work
gb flag

I was watching a training video for learning Linux wildcards and I learnt some of them like {},*,?,[] etc. After that I wanted to make some practice and tried to create 300 directory in a folder which their names goes like folder 1,folder 2,folder 3 ..., then I tried to create 100 file which their names goes like file1.txt,file2.txt,file3.txt ... And then I wrote these commands to the terminal:

htt ...

Score: 0
NewBieBee avatar
Ubuntu Core SSH login
jm flag

I've flashed Ubuntu Core 64-bit image on RPi and have completed Ubuntu Account with SSH key. The RPi on the other hand has acknowledge the SSH key and display it's current IP address (ssh username@192.168.x.xxx).

But what confuses me is this screen when i try to login via Putty:

login

Is this caused by the SSH key? I tried entering, entered ubuntu account password but nothing happened.Just getting de ...

Score: 0
Злобный Самоделкин avatar
Virtualbox does not see the HID device

Sorry for my English. I use google translator. How can I connect a HID input device to the guest operating system in Virtualbox if the device is not detected in Virtualbox?

Ubuntu detects a paired device:

enter image description here

Bus 002 Device 006: ID 0000:0001  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdU ...
Score: 0
edmz avatar
Unable to launch browser from shell - it opens VSCode instead
us flag

I have a problem when some shell command is trying to launch my browser. Example below with browse command, but same with jupyter notebook. It looks like the target is opened in VSCode instead.

I'm running Ubuntu 20.04, with zsh, in a pyenv virtual environment.

Thanks!

~ browse askubuntu.com
    command= "code" args= ("code", "http://askubuntu.com")                                                     ...
Score: 0
Endless restart after clean installation with UEFI
gg flag

I installed Ubuntu 20.04 both in Desktop and Server edition onto several HP Desktop Mini machines, specifically HP EliteDesk 800 DM G1, G3 and G5. With SecureBoot disabled installation works fine, on the contrary, when installing with SecureBoot enabled, something strange happens.

I usually do the installation via USB drive, so I start the installation by selecting the UEFI<drive name> in the boot ...

Score: 0
no install ubuntu option when booting from a usb alongside windows 10
in flag

I have tried the solutions to the same problem in No "Install Ubuntu" option when booting from USB drive but it has not worked. I am trying to install ubuntu on my desktop, it has an ssd, gpt and uefi. There also is no option to enable csm.

Score: 1
rushi47 avatar
Unable to boot RISC-V with Qemu on Ubuntu 18.04
cn flag

I am trying to run RISCV using Qemu on Ubuntu machine 18.04. For the same I followed below tutorials:

But after following all the steps, am facing the issue (Please look below for complete boot log):

[ 0.400573] Kernel panic - not  ...
Score: 0
viktor spett avatar
How do I control a voltage controlled fan?
cn flag

I'd like to control my fan's speed (to make it more silent under heavy load). I disassembled a Laptop to build a custom PC, fitted a gigantic 9x9cm tower cooler with a Noctua fan on it to absorb the CPU's and GPU's heat, so realistically the fan does not need to run at full speed ever. I am not sure what is currently controlling the fan speed, but it ramps up and down or stands still depending on the us ...

Score: 0
Greg G avatar
No Sound Dell XPS 17 (9700) Ubuntu 21.10
mk flag

I had a problem with headphone mic not working and as I was trying different solutions a sound completely stopped working. First there was a "Dummy Output" and

$pacmd list-cards 
0 card(s) available.

I tried to reinstall

$ sudo dmesg | grep snd
[    3.768637] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.768711] snd_hda_intel 0000:01:00.1: enabling  ...
Score: 0
Anirudh S avatar
This is the first time I have a laptop with dedicated GPU, I am facing few issues
us flag

I have logged the 'gpu-manager.log' from '/var/log' directory. I have this shown

'''

log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.14.1-051401-generic/kern ...
Score: 0
Prakhar Sharma avatar
How do I uninstall a package from terminal?
eg flag

Days ago, I installed Wine 6.0.2 (to run windows software) and Winetricks '20210206-next' to be able to easily use Wine. However, I uninstalled wine recently using sudo apt-get remove --auto-remove winehq-stable . I got this command from internet.

Now when I type wine in terminal I get bash: /usr/bin/wine: No such file or directory as it should be. However, when I type apt list -a wine I get wine ...

Score: 0
Dual Booting Ubuntu and Windows from different partitions
kn flag

So I have a internal Hard Drive and a external usb hard drive , the internal one has windows and the external one has ubuntu , I added an efi partition the the external drive cuz my internal one got corrupt and I bought a new one , so Now what I want to do is , I want my ubuntu to boot when it is plugged in the usb and windows to boot when my ubuntu usb is not plugged in , pls help

Note:In my cas ...

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.