Posts

Windows AD environment show users information

net user userName /domain Displays AD information like when password expires

ncdu - disk usage command line visualiser

https://dev.yorhel.nl/ncdu

Windows 7 temporary domain profile

Consider removing any .bak folders (or more to the point, remove the same name and restore the .bak) from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList if you're always getting logged into a temporary profile on the domain.

Use grep to find text in certain files

grep -ir --include=*.php --include=*.js --include=*.htm --include=*.html "action_tracker" apps/

Get SSH Key Fingerprint

ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub

Count Files/Directories/Links in *nix

for t in files links directories; do echo `find . -maxdepth 1 -type ${t:0:1} | wc -l` $t; done 2> /dev/null -maxdepth 1 specifies how far to count files

may help

need help - ispconfig 3 subdomain creation not work - HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials