Category Archives: Beginner

Copy large files between servers

If you have to copy large files between systems and security is not an issue you could use netcat. Netcat is a tool that has been developed in 1996 but it is still one of the best tools for this … Continue reading

Posted in Bash, Beginner | Leave a comment

Conditions in BASH scripts Pt. 1

This is just a reminder for myself. Usually I have to look this up in Google whenever I want to use it 🙁 Check if string A contains string B: if [[ $A == *”$B”* ]] then echo We have … Continue reading

Posted in Bash, Beginner | Leave a comment

resize2fs: Bad magic number in super-block while trying to open ….

… or how to resize a file system on CentOS 7. Due to moving my home partition to a new disk I gained some space back from the logical volume home. After deleting it I thought that it would be … Continue reading

Posted in Beginner, Linux | 50 Comments

Passwordless remote login using Putty

It is quite easy to configure Putty to login to a server using a public/private key pair. Create the key pair Open the Puttygen.exe file and create a 1024 bit RSA-SSH2 key. After the keys have been created save them … Continue reading

Posted in Applications, Beginner, Linux, Windows | Leave a comment