Skip to content

Latest commit

 

History

History
118 lines (59 loc) · 2.79 KB

mkdir_statistics.md

File metadata and controls

118 lines (59 loc) · 2.79 KB
layout title tags
manual
mkdir - Statistics of command combinations using double pipe
statistic

Before

The commands before mkdir: If the given command failed, execute mkdir.

Command percentage
cal 18%
ls 9%
cat 9%
ssh 9%
w 9%
ss 9%
id 9%
sudo 9%
su 9%
mount 9%

After

The commands after mkdir: If mkdir failed, execute the given command.

Command Percentage
sudo 25%
su 25%
mount 25%
dd 25%

Related Scenarios

Below are the scenarios for all command combinations above.

The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.

If cal failed, execute mkdir

  • shell function which allows you to tag files by creating symbolic links directories in a 'tags' folder.
  • shell function which allows you to tag files by creating symbolic links directories in a 'tags' folder.

If ls failed, execute mkdir

  • Enter your ssh password one last time

If cat failed, execute mkdir

  • Enter your ssh password one last time

If ssh failed, execute mkdir

  • Enter your ssh password one last time

If w failed, execute mkdir

  • Enter your ssh password one last time

If ss failed, execute mkdir

  • Enter your ssh password one last time

If id failed, execute mkdir

  • Enter your ssh password one last time

If sudo failed, execute mkdir

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If su failed, execute mkdir

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If mount failed, execute mkdir

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If mkdir failed, execute sudo

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If mkdir failed, execute su

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If mkdir failed, execute mount

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)

If mkdir failed, execute dd

  • Silently ensures that a FS is mounted on the given mount point (checks if it's OK, otherwise unmount, create dir and mount)