Thursday, September 19, 2024

Debian sudo, the user is not in the sudoers



apt-get update

apt-get install sudo

usermod -a -G sudo
<username>

Now reboot the system.



Thursday, September 12, 2024

How to connect to Wifi using NetworkManager in Arch Linux

How to connect to Wifi using NetworkManager in Arch Linux


nmcli d

DEVICE

wlp2s0 wifi disconnected ---

-------

-------

nmcli r wifi on

nmcli d wifi list

IN-USE BSSID SSID ------

E4:26:86:A8:EC:D6 MyHome -----

nmcli d wifi connect MyHome password *******






https://www.timeanddate.com/


Connect to Wireless Network using iwctl utility on Arch Linux



Connect to Wireless Network using iwctl utility on Arch Linux=


iwctl

device list


wlan0---------

station wlan0 get-networks

InternetCaffe--------

AutobuskaStanicaLasta---------

MacDonalds88-----------

FreePizza-----------

MyHome---------

station wlan0 connect MyHome

Passphrase:*****

exit



Tuesday, September 3, 2024

Popravka sa istorijom

c:\11111111\popravka.cmd


echo %date:~-4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%%time:~6,2% >> c:\11111111\res.txt 2>&1

path c:\11111111

taskkill /F /IM msedge.exe

taskkill /F /IM MicrosoftEdgeUpdate.exe

taskkill /F /IM Cortana.exe

taskkill /F /IM RuntimeBroker.exe

taskkill /F /IM AdobeCollabSync.exe

taskkill /F /IM armsvc.exe

taskkill /F /IM SearchFilterHost.exe

taskkill /F /IM SearchProtocolHost.exe

taskkill /F /IM SearchIndexer.exe

taskkill /F /IM chrome.exe

taskkill /F /IM YourPhone.exe

del C:\Windows\prefetch\* /s /q >> c:\11111111\res.txt 2>&1

del C:\Windows\Temp\* /s /q >> c:\11111111\res.txt 2>&1

del %LOCALAPPDATA%\Temp\* /s /q >> c:\11111111\res.txt 2>&1

del C:\Windows\SoftwareDistribution\Download\* /s /q >> c:\11111111\res.txt 2>&1

pause


S vremena na vreme pogledajte u c:\11111111\res.txt da bi videli kakvo se sve smeće uklanja iz keša Windowsa ovom korisnom skriptom. Ne brinite, keš Windowsa ne sadrži ništa bitno.


https://wavacity.com/