Skip to content

Latest commit

 

History

History
39 lines (19 loc) · 749 Bytes

passwd_statistics.md

File metadata and controls

39 lines (19 loc) · 749 Bytes
layout title tags
manual
passwd - Statistics of command combinations using double pipe
statistic

Before

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

Command percentage

After

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

Command Percentage
echo 100%

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 passwd failed, execute echo

  • This command will check the file /etc/passwd existence