User login

bash

Much smarter command line history up/down behavior - with search

You may know about ctrl+shift+R for reverse case-insensitive search (or whatever it stands for) and that is still useful if you remember one very unique keyword from the middle of a command.

Compare two strings in a bash script

bash script compare text

if [ $var == "value" ]
then
echo is the same
fi

http://www.tech-recipes.com/rx/209/bournebash-shell-scripts-string-comparison/

(Numbers are -eq)

Syndicate content