suuhm

suuhm

Bashscript: Matrix Synapse - Passwordedit, Passwordreset / Add, Remove, Deactivate & List Users

Bashscript: Matrix Synapse - Passwordedit, Passwordreset / Add, Remove, Deactivate & List Users

Here a simple bashscript for Passwordedit, Passwordreset / adding, reming and listing users for Matrix synapse , written in bashscript. As database I use simple sqlite3 ___ _ _ _ __ __ _ _ __ ___ ___ _ __ __ _ ___ _____ ____| | / __| | | | '_ \ / _' | '_ \/ __|/ _ \ | '_ \ / _' / __/ __\ \ /\ / / _' | \__ \ |_| | | | | (_| | |_) \__ \ __/ | |_) | (_| \__ \__ \ V V / (_| | |___/\__, |_| |_|\__,_| .__/|___/\___|____| .__/ \__,_|___/___/ \_/\_/ \__,_| |___/
2 min read
How to automatically check your harddrive / filesystem for badblocks / physical damage and also extract the hidden HPA partition
bash-script

How to automatically check your harddrive / filesystem for badblocks / physical damage and also extract the hidden HPA partition

Some easy script for checking and repairing badblocks and more with hdparm #!/bin/bash echo "*********************************************************" echo "* Teh badblock checker / HPA extractor script!! v0.2a *" echo "* _____________________________________________________ *" echo "*********************************************************" HDD=$1 # https://wiki.debianforum.de/Hdparm # GET blocksize: # touch file ; du -h file # # BLOCKSIZE = fsutil
2 min read