Jun 24, 2017

(bash): The most useless commands (6)

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

Jun 21, 2017

(bash): The most useless commands (5) | bash builtin commands

[if you are looking for the builtin commands of jshell: read this posting]

In a comment Albert Godfrind pointed out, that the commands i was talking about like
  1. rev
  2. yes
  3. sl
  4. 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:

Jun 18, 2017

Bash: The most useless commands (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 

Jun 14, 2017

Bash: The most useless commands (3)

The blog statistics show, that there are many people reading the posts about useless commands. And there is the next candidate, suggested by an anonymous comment:
sl
This is my most hated program on a shell. Why?
NAME
sl − display animations aimed to correct users who accidentally enter sl instead of ls.
and this program is not interruptable by ctrl-c.
It shows a train running from the left to the right
and blocks your shell for at least 2-3 seconds (depends on the width of your shell window):
$ time sl
real 0m3.347s