egrep '(warning|error|fatal|panic):' /some/log/file | more
useful Postfix commands to troubleshooting postfix issue
http load testing and benchmarking utilities
apt-get install jmeter-http
apt-get install siege
apt-get install httperf
mac address vendor lookup and search
installing and configure exim4
apt-get update
apt-get install exim4
dpkg-reconfigure exim4-config
fix problem with samba share in windows 7
вариант 1
Browse to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa
Create a new 32 Bit DWORD value with the following properties: NAME: LmCompatibilityLevel VALUE: 1 Value is hexadecimal value
вариант 2
we have to start cmd.exe as administrator
REG ADD HKLMSYSTEMCurrentControlSetControlLsa /v LmCompatibilityLevel /t REG_DWORD /d 1
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts: 11 Permission denied (publickey,password). here is the solution: sed -i '11d' /home/user/.ssh/known_hosts
how to run multiple skype 4.0 instances on linux
skype –dbpath=~/.Skype_profile1
skype –dbpath=~/.Skype_profile2
get hard disks serial numbers in linux или как да видим серийните номера на хард дисковете през линукса който използваме
можем видим или да вземем серийните номера на нашите хард дискове чрез инструмента hdparm
hdparm -I /dev/sd? | grep -E “Number|/dev”
/dev/sda:
Model Number: WDC XXxxxxXXXX-XXXXXX
Serial Number: WD-XXXXxXXXXXXX
/dev/sdb:
Model Number:WDC XXxxxxXXXX-XXXXXX
Serial Number: WD-XXXXxXXXXXXX