How to create a directory using shell / bash program script

How to create a directory  using shell / bash program script

There might be need to create a directory on the fly sing the script . To achieve today in the shell tutorial we are creating a new file by name

Create a file

paste the below code

mkdir "testDirectory"

How to execute shell script

 in command prompt or shell mode

type sh

now check your folder location the new directory will be created


Popular posts from this blog

Vendor autoload is not found. Please run 'composer install' under application root directory.

Uncaught TypeError: require.config is not a function CSS and Javascript files are not loading after Magento 2 installation

HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0