Skip to content

Latest commit

 

History

History
182 lines (99 loc) · 3.44 KB

yes_statistics.md

File metadata and controls

182 lines (99 loc) · 3.44 KB
layout title tags
manual
yes - Statistics of command combinations using semicolon
statistic

Before

The commands before yes: Execute the given command before yes.

Command percentage
w 15%
grep 15%
man 10%
yes 10%
sleep 10%
top 5%
nc 5%
diff 5%
awk 5%
ss 5%
cp 5%
cal 5%
ls 5%

After

The commands after yes: Execute the given command after yes.

Command Percentage
echo 31%
w 15%
sleep 15%
yes 10%
enable 5%
sed 5%
su 5%
du 5%
ls 5%

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.

Execute w before yes

  • ssh tunnel with auto reconnect ability
  • diff two css files to create an overriding css (e.g. for wordpress child themes)
  • Get Yesterday's Date

Execute grep before yes

  • aptbackup restore
  • Root Security
  • AIX: Set reserve lock=no in EMC disks that have reserve_lock=yes

Execute man before yes

  • Remove current directory
  • Remove current directory (REVISED)

Execute yes before yes

  • diff two css files to create an overriding css (e.g. for wordpress child themes)
  • Get Yesterday's Date

Execute sleep before yes

  • a simple alarm
  • Timer with sound alarm

Execute top before yes

  • ssh tunnel with auto reconnect ability

Execute nc before yes

  • aptbackup restore

Execute diff before yes

  • diff two css files to create an overriding css (e.g. for wordpress child themes)

Execute awk before yes

  • diff two css files to create an overriding css (e.g. for wordpress child themes)

Execute ss before yes

  • diff two css files to create an overriding css (e.g. for wordpress child themes)

Execute cp before yes

  • Root Security

Execute cal before yes

  • Get Yesterday's Date

Execute ls before yes

  • AIX: Set reserve lock=no in EMC disks that have reserve_lock=yes

Execute echo after yes

  • check if ufw (uncomplicated firewall) is enabled in bash
  • Remove current directory
  • iiterate through argument list and pass to command
  • The scene in the Shining (Stanley Kubrick)
  • Root Security
  • Remove current directory (REVISED)

Execute w after yes

  • Print a great grey scale demo !
  • BW gradient
  • cycle through a 256 colour palette

Execute sleep after yes

  • ssh tunnel with auto reconnect ability
  • Console clock
  • Bingo-like raffle

Execute yes after yes

  • diff two css files to create an overriding css (e.g. for wordpress child themes)
  • Get Yesterday's Date

Execute enable after yes

  • check if ufw (uncomplicated firewall) is enabled in bash

Execute sed after yes

  • Remove current directory

Execute su after yes

  • iiterate through argument list and pass to command

Execute du after yes

  • It decripts all pgp files in a selection folder and move the output into a file.

Execute ls after yes

  • Root Security