
Large hard disk platter cassette. These were seen in Terminator 2.
Linux has some very useful and interesting commands available to the Linux desktop user to find out information about your computer system. Some of these hearken back to the days of the old Linux terminals; when you accessed your computer from a dumb terminal instead of a graphical desktop. If you wish to find out the characteristics of your Linux terminal or virtual console; the telltc command will be perfectly suited to this task. Below is an example. This command displays information about the number of columns and lines as well as the escape characters supported by the terminal.
This is a very useful Linux command for finding out the information about your terminal. Another useful command is the wall command; this will send a broadcast message to all other users on that machine. Use it like this: echo “Hello World” | wall. This is similar to the broadcast message sent out by the system when you are shutting down the computer.
[john@deusexmachina]:~> telltc
Tcsh thinks your terminal has the
following characteristics:
It has 152 columns and 60 lines
It has a meta key
It can not use tabs
It has automatic margins
It has magic margins
send cursor end (@7) == ^[OF
add new blank line (al) == ^[[L
audible bell (bl) == ^G
clear to bottom (cd) == ^[[J
clear to end of line (ce) == ^[[K
cursor to horiz pos (ch) == ^[[%i%p1%dG
clear screen (cl) == ^[[H^[[2J
delete a character (dc) == ^[[P
delete a line (dl) == ^[[M
start delete mode (dm) == (empty)
end delete mode (ed) == (empty)
end insert mode (ei) == ^[[4l
cursor from status line (fs) == (empty)
home cursor (ho) == ^[[H
insert character (ic) == (empty)
start insert mode (im) == ^[[4h
insert padding (ip) == (empty)
sends cursor down (kd) == ^[OB
send cursor home (kh) == ^[OH
sends cursor left (kl) == ^[OD
sends cursor right (kr) == ^[OC
sends cursor up (ku) == ^[OA
begin bold (md) == ^[[1m
end attributes (me) == ^[[0m
begin reverse video (mr) == ^[[7m
non destructive space (nd) == ^[[C
end standout (se) == ^[[27m
begin standout (so) == ^[[7m
cursor to status line (ts) == (empty)
cursor up one (up) == ^[[A
begin underline (us) == ^[[4m
end underline (ue) == ^[[24m
visible bell (vb) == ^[[?5h$^[[?5l
delete multiple chars (DC) == ^[[%p1%dP
cursor down multiple (DO) == ^[[%p1%dB
insert multiple chars (IC) == ^[[%p1%d@
cursor left multiple (LE) == ^[[%p1%dD
cursor right multiple (RI) == ^[[%p1%dC
cursor up multiple (UP) == ^[[%p1%dA
To display a random fortune in Cockney slang; firstly install the fortune and filters packages.
sudo apt-get install fortune filters
Then run the command shown in this example and you will have a random Cockney fortune...
john@deusexmachina:~/Desktop$ fortune -s | cockney
Menny a writer seems to fink 'e is never profound except when 'e can't
unnerstand 'is own meanin'.
-- George D. Prentice
Another example.
john@deusexmachina:~/Desktop$ fortune -l | cockney
"Y'have 'eard me speak of Professor Moriarty, roit?"
"The famous scientific criminal, as famous among crooks as --"
"My blushes, Watson," 'olmes murmured, in a deprecatin' voice.
"I wuz about to sigh 'as 'e is unknown to the bloody public.'"
-- A. Conan Doyle, "The Valley of Fear"
This command-line parameter used with the cal command will show how many days have passed in the year since January 1.
john@deusexmachina:~/Desktop$ cal -j
October 2012
Su Mo Tu We Th Fr Sa
275 276 277 278 279 280
281 282 283 284 285 286 287
288 289 290 291 292 293 294
295 296 297 298 299 300 301
302 303 304 305
Another nice way to show off on your computer is to install the cowsay package and then run this command.
john@deusexmachina:~/Desktop$ fortune | cowthink
________________________________________
( If you learn one useless thing every )
( day, in a single year you'll learn 365 )
( useless things. )
----------------------------------------
o ^__^
o (oo)\_______
(__)\ )\/\
||----w |
|| ||
Putting together everything we have installed during the reading of this post; here is another cool command using another cowsay character.
john@deusexmachina:~/Desktop$ fortune -l | fudd | cowsay -f /usr/share/cowsay/cows/luke-koala.cow
_________________________________________
/ Dewowes bweezed awong de suwface of hew \
| wife wike a fwat stone fowevew skipping |
| awong smoof watew, wippwing weawity |
| spowadicawwy but obwivious to it |
| consistentwy, untiw she finawwy wost |
| momentum, sank, and due to an ovewdose |
| of fwouwide as a chiwd which caused hew |
| to suffew fwom chwonic apady, doomed |
| hewsewf to wie fowevew on de fwoow of |
| hew wife as usewess as an appendix and |
| as wonewy as a five-hundwed pound |
| bawbeww in a stewoid-fwee fitness |
| centew. |
| |
| -- Winning sentence, 1990 Buwwew-Wytton |
\ bad fiction contest. /
-----------------------------------------
\
\ .
___ //
{~._.~}//
( Y )K/
()~*~()
(_)-(_)
Luke
Skywalker
koala

The insides of a neat computer.