How do I create a new directory?



  • Creating a new directories, helps with file organization, keeping files in logical order, to create new directory use:

    $ mkdir "name of new directory
    eg:
    $ mkdir scripts
    

    To make recursive directories use the -p option to mkdir; eg:

    $ mkdir -p script/menus/ops
    

    Will create scripts as a directory and then under there will create menuss directory and finally under there will create the ops directory


Log in to reply
 

© Lightnetics 2024