Create multiple directories with LINUX mkdir -p

mkdir -p maindir/{assets/{css,js,img},src/{sass,types,img},dirX,dirY} Produces: The -p flag tells the mkdir command to create the main directory first if it doesn’t already exist (htg, in our case). The words in the brackets are part of the “brace expansion list”....

Working with server through SSH

Here we will present some commone commands used to connect and work with server. We will even write a simple bash script to make our life a bit easer to automate some of this tasks. So where do we start? Fosrs of all your hosting provider must to allow for SSH...