24.06.2017

(bash): The most useless commands (6)

After talking about
  1. rev
  2. sl
  3. cowsay
 i found another funny command:
cmatrix
The manpage says:
NAME
       CMatrix - simulates the display from "The Matrix"
and it is true:

21.06.2017

(bash): The most useless commands (5)

In a comment Albert Godfrind pointed out, that the commands i was talking about like
  1. rev
  2. sl
  3. cowsay
are not really bash commands (in a way that they will be installed within the installation of the bash shell). They are commands, which can be used from on every shell. So my headline is a little bit missleading - thanks for this notice.

Just for clarification here a list with all bash builtin commands:
  • alias
  • bind
  • builtin
  • caller
  • command
  • declare
  • echo
  • enable
  • help
  • let
  • local
  • logout
  • mapfile
  • printf
  • read
  • readarray
  • source
  • type
  • typeset
  • ulimit
  • unalias
and the bourne shell builtins:

  • break
  • cd
  • continue
  • eval
  • exec
  • export
  • getopts
  • hash
  • pwd
  • readonly
  • return
  • shift
  • test
  • times
  • trap
  • umask
  • unset
Still missing:

18.06.2017

Bash: The most useless command (4)

The blog statistics show, that there are many people reading the posts about useless commands. And there is the next candidate:
cowsay
Now you are thinking, what is cowsay?
DESCRIPTION
       Cowsay  generates  an  ASCII picture of a cow saying something provided by the user.  If run with no arguments, it accepts standard input, word-wraps
       the message given at about 40 columns, and prints the cow saying the given message on standard output.
?

Okay. Here we go:
$ echo what a cool command | cowsay
 _____________________
< what a cool command >
 ---------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
One thing to add here: moo