09.06.2017

Bash: The most useless command (2)

The last posting about useless commands for bash discussed the command
rev
. One nice comment pointed out, that the rev command can be used for searching inside logfiles (Thanks to phoxis.org).

Like it was said there, the command
yes
looks even more useless:
NAME
       yes - output a string repeatedly until killed
SYNOPSIS
       yes [STRING]...
Ok - it can be used for scripts to answer call backs. But which kind of script needs always the same answer? (and commands like "apt-get" support this via the option "-y".

Any other suggestions about useless bash commands?

Kommentare:

  1. Hi,

    what about the sl command?

    AntwortenLöschen
  2. Albert Godfrind16.06.2017, 15:04:00

    Just one clarification. Those are NOT bash commands. Neither is ls a "bash command". They are programs that come with most Unix / Linux installations. They can be used from any shell (csh, sh, zsh ...).

    AntwortenLöschen