Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

mkdir - p linux

The -p flag will create nested directories, but only if they dont exist already.

For example, suppose you have a directory /foo that you have write permissions for.

mkdir -p /foo/bar/baz  # creates bar and baz within bar under existing /foo

It is also an idempotent operation, because if you run the same command over again, you will not get an error, but nothing will be created.
Comment

mkdir -p shell

mkdir newfolder #Creates new folder in current directory
mkdir -p newfolder/subfolder #Creates folder with nested subfolders
Comment

mkdir command

#usage:
mkdir <name>

#also it can be abbreviated to:
md <name>#in cmd(windows)

#it creates a folder with name <name>
Comment

PREVIOUS NEXT
Code Example
Shell :: Composer and npm install the theme onto your computer. Install the theme into your local WordPress install. 
Shell :: how to delete a word from a bash file 
Shell :: python print sql in shell_plus 
Shell :: run existing image docker 
Shell :: git pull in another branch 
Shell :: install ssl certificate on aws ec2 instance ubuntu 
Shell :: bash output to stdout and file 
Shell :: npm install sql 
Shell :: symbolic link linux 
Shell :: cli edit file 
Shell :: Automatically run program on Linux startup via systemd 
Shell :: How to Block Ports in UFW Ubuntu Firewall 
Shell :: The file AppDataRoaming pmyarn.ps1 is not digitally signed. 
Shell :: jenkins execute shell script on remote host using ssh 
Shell :: zip file linux 
Shell :: flutter step to release appbundle 
Shell :: Installing ionic local notification plugin 
Shell :: gitlab gradle project 
Shell :: how to install pipenv 
Shell :: create new github repo 
Shell :: git remove file from being tracked 
Shell :: github setup local 
Shell :: git cherry pick many commits 
Shell :: linux find directory and file 
Shell :: linux zip folder without parent folder 
Shell :: force-logout user linux 
Shell :: ionic 
Shell :: kivy install ubuntu 
Shell :: check for installed chaincode 
Shell :: dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =