EnglishFrenchSpanish

OnWorks favicon

shtool-mkdir - Online in the Cloud

Run shtool-mkdir in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command shtool-mkdir that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


shtool-mkdir - GNU shtool mkdir(1) style command

SYNOPSIS


shtool mkdir [-t|--trace] [-f|--force] [-p|--parents] [-m|--mode mode] [-o|--owner owner]
[-g|--group group] dir [dir ...]

DESCRIPTION


This is a mkdir(1) style command with additional options and the ability to be smart if
the directory already exists which is important for installation procedures.

OPTIONS


The following command line options are available.

-t, --trace
Shows the actually involved shell commands.

-f, --force
Forced continuation and no complaints if directory already exists. Default is to
terminate with error.

-p, --parents
Automatic parent directory creation. Default is to only create the last directory in
the path and fail if parents are missing.

-m, --mode mode
The directory mode applied to the directory, see chmod(1). Omitting mode skips this
step and leaves the operating system default which is usually based on umask(1). Some
directory modes require superuser privileges to be set. Default is to stick with
operating system defaults.

-o, --owner owner
The directory owner name or id applied to the directory, see chown(1). This option
requires superuser privileges to execute. Default is to skip this step and leave the
operating system default which is usually based on the executing uid or the parent
setuid directory.

-g, --group group
The directory group name or id applied to the directory, see chgrp(1). This option
requires superuser privileges to execute to the fullest extend, otherwise the choice
of group is limited on most operating systems. Default is to skip this step and leave
the operating system default which is usually based on the executing gid or the parent
setgid directory.

EXAMPLE


# Makefile
install:
shtool mkdir -f -p -m 755 $(bindir)
shtool mkdir -f -p -m 755 $(mandir)/man1
:

HISTORY


The GNU shtool mkdir command was originally written for Public Domain by Noah Friedman and
later revised by Ralf S. Engelschall <[email protected]> in 1999 for inclusion into GNU
shtool.

Use shtool-mkdir online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad