Below is a code to customise search in Linux using find. find would recurse through all the directories. I needed to omit some directories which I knew didn't have the file I was looking for but instead have games. So recursing through them would cause enormous processor overhead and time loss. So I wrote a code in shell script to omit specific directories..
for aa in `ls`
if [ "$aa" != "resident_evil" ] ; then
if [ "$aa" != "usr1" ] ; then
if [ "$aa" != "usr2" ] ; then
if [ "$aa" != "usr3" ] ; then
if [ "$aa" != "unreal" ] ; then
if [ "$aa" != "quake3" ] ; then
echo -e " Current search path: "
find . -name "*.a"
The following bash one-liner will print a chess board in a terminal (the script works for the shells bash and ksh only) for (( i = 1; i ...
People claim that the fastest way to send multiple email drafts is to use Gmail IMAP with email client like Outlook or Evolution or Thunderb...
___________________________________________________________________ SWEET HEART FROM AAR JAANI NAA(T-SERIES) -- SWEETHEART -- ...