Search notes:

Shell command: mkdir

Creating nested (sub-)directories

mkdir (without -p) will won't create a directory under a directory that does not exist:
$ mkdir foo/bar/baz
mkdir: cannot create directory ‘foo/bar/baz’: No such file or directory
However, using the -p option, it will:
$ mkdir foo/bar/baz
$ cd foo/bar/baz

See also

Perl function: mkdir
Shell commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/sh...', 1745007843, '3.15.8.144', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/shell/commands/mkdir(49): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78