Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  unix art programming Blog  > 

2016-03-19 18:53
#!/usr/local/bin/bash # vigenere.sh # http://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher a="ABCDEFGHIJKLMNOPQRSTUVWXYZ" [[ "${*/-d/}" != "" ]] && echo "Usage: $0 [-d]" && ex… Read More
2016-03-19 18:53
Since version 3, bash has an additional binary operator `=~' which is able to handle regular expressions. Every substring which is matched by the subexpression which is in parenthesis can be… Read More
2016-03-19 18:53
Greg Lehey, a kernel hacker specializing in BSD UNIX, decided to release his book "The Complete FreeBSD" under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license. From T… Read More
2011-05-26 12:30
Just a minimalistic dyndns.org update client written entirely in bash. The only requirement is that bash should be compiled with --enable-net-redirections which on many systems is by default… Read More
2011-05-26 12:29
In the previous post dyndee.sh - dyndns update client, I faced a problem: I had to authenticate to dyndns.org but didn't want to use lynx, links or any other external tool. For HTTP authent… Read More
2011-05-26 12:29
The Morse code, named after its inventor Samuel Morse, was used for long distance communication. It is largely believed that it is now obsolete, yet some prisoners still find it useful. (ban… Read More
2011-05-26 12:28
#!/bin/bash # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Clean Sh!t v0.1 # # # # # # # # # # # # # # # # # # # # # # Date: '20070506'# # # # # # # # # # # # # # #… Read More
2011-05-26 12:27
[inode@brio ~]$ cat chkdigit.sh #!/usr/local/bin/bash # http://en.wikipedia.org/wiki/European_Article_Number oe="13" while read line; do for (( j=0; j<${#line}; j++ )); do chk=$((chk+${li… Read More
2011-05-26 12:17
#!/bin/bash # ffmirror.sh # find fastest mirror (?!?) # give it a list of hosts and it will sort them # according to their response time # no switches (ATM) just ./ffmirror<mirrors.txt #… Read More
2006-02-16 22:17
I changed the design a bit. I hope you like it. It looks ok on firefox, konqueror, lynx, links. If you have some other browser and if you are kind enough to send in some feedback, please do… Read More
2006-02-14 03:55
There are times when you just "forget" that rar passwordfirst get unrar from http://www.rarlab.com/rar/unrarsrc-3.3.4.tar.gzand the scriptjust change wordlist and unrar paths and run it./rar… Read More
2006-02-07 23:55
Well Slackware 3.6 (released in 1998) is a bit old. There is nothing wrong with selling some old distro. 10 quid is a bit too much, but what the heck.. it comes in a nice package. So i guess… Read More
2006-02-06 03:45
I know its frustrating. Thank god there is the end of options list.-bash-3.00$ cd -=test=- # nope-bash: cd: -=: invalid optioncd: usage: cd [-L|-P] [dir]-bash-3.00$ cd "-=test… Read More
2006-02-02 09:41
pretty fasti know.. some ranges are not valid. More checking needs to be done#!/bin/bash## ./shping.sh 192.168.0.1-150function usage() { echo "usage example: $0 192.168.0.1-100" exit 1}I… Read More
2006-01-29 01:27
~$ mkdir testdir~$ cd testdir~/testdir$ touch -- -e \\141~/testdir$ ls-e \\141~/testdir$ echo *a~/testdir$ note i used '--' with touch so '-e' would not be used as an option.So what happene… Read More
2006-01-12 02:13
A lot of people seem to get confused just because $IFS contains non printing characters. Many suggest that before changing IFS (while using a modern shell) it should be saved in a variable s… Read More

Share the post

unix art

×

Subscribe to Unix Art

Get updates delivered right to your inbox!

Thank you for your subscription

×