In business networks there is a big usage of transparent proxy also home networks can use it also. Thanks to…
If we want for squid logs to rotate same as the system logs because we don’t want one big blob…
Sometimes you install software from outside of repository, sometimes you compile your package or install binary. There are few methods…
This command is very useful in case you run out of i-nodes and you cannot save any more files. find…
Sometimes after manul removing config files and then reinstall package you end up missing .conf file from that package (ex.…
vim /etc/update-motd.d/10-stats
pdbedit -P “min password length” -C 8 pdbedit -P “password history” -C 4 #maximum password age value in seconds, -1…
Temporary solution: sudo mount -t cifs //netbiosname/sharename /media/sharename -o username=winusername,password=winpassword,iocharset=utf8,file_mode=0777,dir_mode=0777 Permanent solution: touch /root/.smbcredentials chmod 700 /root/.smbcredentials echo ‘username=winusername password=winpassword’…
#Write: time dd if=/dev/zero of=/$drive/test.zero bs=1024 count=1000000 #Read: time dd of=/dev/zero if=/$drive/test.zero bs=1024 count=1000000 hdparm –t /dev/$drive
#change password passwd #update ubuntu/debian apt-get update apt-get upgrade #install most needed packages in ubuntu/debian apt-get install sudo openssl openssh-server…