- rev
- yes
- sl
- cowsay
cmatrixThe manpage says:
NAMEand it is true:
CMatrix - simulates the display from "The Matrix"
cmatrixThe manpage says:
NAMEand it is true:
CMatrix - simulates the display from "The Matrix"
cowsayNow 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.
$ echo what a cool command | cowsay
_____________________
< what a cool command >
---------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
slThis is my most hated program on a shell. Why?
NAMEand this program is not interruptable by ctrl-c.
sl − display animations aimed to correct users who accidentally enter sl instead of ls.
$ time sl
real 0m3.347s
gpointing-device-settingsbut this does not really help.
add-apt-repository ppa:atareao/atareaoBut this is not really the solution. But you can disable your touchpad while typing, so that the window focus does not jump to the trash icon and your typing is interrupted.
apt-get update
apt-get install touchpad-indicator
/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator
apt-get install xserver-xorg-core apt-get install xserver-xorg-input-libinputand then a logoff and login into the x window system...
apt-get remove --purge xserver-xorg-input-synaptics
rev. One nice comment pointed out, that the rev command can be used for searching inside logfiles (Thanks to phoxis.org).
yeslooks even more useless:
NAME
yes - output a string repeatedly until killed
SYNOPSIS
yes [STRING]...
revThe manpage says:
rev - reverse lines characterwiseIs there anything, where i can use this command?
#!/bin/bashThis script i found in here.
# Shell script to test if a string is a palindrome
# This simply uses the 'rev' command found in util-linux-ng package
# and checks if the reverse of the string is same as the original
echo "Enter a String : "
read string
if [ "$(echo $string | rev)" = "$string" ]
then
echo "\"$string\" IS a Palindrome"
else
echo "\"$string\" IS NOT a Palindrome"
fi
apt-get install openjdk-9-jdk openjdk-9-demo openjdk-9-doc openjdk-9-jre-headless openjdk-9-sourceThis just works like expected. But after that i installed eclipse.
/usr/lib/jvm/java-9-openjdk-amd64/jreAnd it is added like on any other platform via the preferences window:
/usr/sbin/s2diskonly work with entering your password everytime (or precisely: after every reboot).
/sbin/reboot
export EDITOR=vi; visudoInside the /etc/sudoers.conf you will see:
# User privilege specificationAnd this is the problem:
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
root ALL=(ALL:ALL) ALLand do the desired changes.
schroff ALL=(ALL) NOPASSWD: /usr/sbin/s2disk