Archive for 2016-12-30

Windows 10 start menü restore

1. Fix corrupted files

If the Search bar still works, search for powershell. Then right-click Windows PowerShell in the search results and select Run as administrator.

But if the search bar doesn’t work either, press Winkey-R, type powershell, and press Enter. Right-click the PowerShell icon on the taskbar and select Pin to taskbar. Close the PowerShell program. Hold down Shift and Cntrl while you right-click the PowerShell icon again. Select Run as administrator.

Once you’re in the Powershell command-line environment,  type the command sfc /scannow and press Enter. Then wait. It can take quite a while.

0411 sfc

Eventually, the program will tell you either that it found no corrupt Windows files, it found and fixed them, or it found some but couldn’t fix them. If you get the latter response, try the command

dism /online /cleanup-image /restorehealth

This should (hopefully) download replacement files.

Cert lementése remote szerverről linuxon

echo -n | openssl s_client -connect HOST:PORTNUMBER | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/$SERVERNAME.cert

 

Keresés tar archivumok fájljain belül

zgrep -a "keresett_string" 12*/audit.log.*.gz

vagy így is megeszi

zgrep -a keresett_string 12*/audit.log.*.gz