How to check if directory exists in Bash script

advertisement

linuxJust wrote a script in bash shell that need to check if directory exists, else create the directory. I always need to write script that check the if a directory exists but i always forget :p. So i think it’s better for me to put this down for my later reference 🙂

To check if directory exists in bash shell script, check the command below:-

Continue reading How to check if directory exists in Bash script »

How to svn thru ssh in Linux / Mac

advertisement

SVN thru SSH will transfer your files in encrypted format over the network. If u using remote svn server then i’ll recommend u to use svn over ssh. By using SVN thru SSH, you can avoid others from reading your source code and this is a good practice for everyone.

To SVN thru SSH in Linux or Mac, follow the steps below:-

Continue reading How to svn thru ssh in Linux / Mac »

How to backup svn server

advertisement

linuxJust notice i didnt do any backup on my svn server. To ensure continuity, I need to teach my colig on how to backup the svn server. To make things more simple, i’ve written a script to backup my svn server everynight. But here, i’ll show u the basic of how to backup svn server.

To backup svn server, follow the steps below:

Continue reading How to backup svn server »