Tried to delete Kali, now I am stuck at Grub rescue

I attempted to delete Kali using a YouTube video, now I am stuck at the grub rescue screen. I follow the command line grub rescue >ls (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) grub rescue> set cmdpath=(hd0,gpt1)/EFI/KALI prefix=(hd0,gpt6)/boot/grub root=(hd0,gpt6) grub rescue> set root=(hd0,gpt1) set prefix=(hd0,gpt1)/boot/grub grub rescue> insmod normal error: unknown filesystem. I also do not have…

Details

How to change multiple filenames preserving variable part of the name in linux terminal

I have thousands of filenames with this regular expression: (sp|li)_(test|train|val)_(loss|acc)_((1e-\d+)|(0[.]0{0,4}1))_curious_\d+_plasticity[.]npy Examples of it are: li_test_acc_0.01_curious_1_plasticity.npy li_test_acc_0.0001_curious_1_plasticity.npy sp_train_loss_1e-05_curious_901_plasticity.npy I want to remove curious and substitute it with plasticity which is in the end, as the new regular expression of names will be: (sp|li)_(test|train|val)_(loss|acc)_((1e-\d+)|(0[.]0{0,4}1))_plasticity_\d+[.]npy That the names change to: li_test_acc_0.01_plasticity_1.npy li_test_acc_0.0001_plasticity_1.npy sp_train_loss_1e-05_plasticity_901.npy I have seen few solutions…

Details

How to disable Windows 10 system log

In Windows 10 Resource Monitor I found that the system process is constantly writing C:\ProgramData\Microsoft\Windows\wfp\wfpdiag.etl at like 30-100KB/s. This equals 1TB write/year which is not healthy for SSD. There are other log write like C:\Windows\System32\LogFiles*** too. Although logs is needed for diagnostics, it’s better to be turned on only when problem has already occured. Is…

Details