advanced bash scripting guide
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5170
Advanced Bash Scripting Guide 5.6
Complete ebook tutorial and reference on shell scripting with Bash in Linux/UNIX/BSD. This is the equivalent of a 940-page printed book. more>> <<less
Download (2.91MB)
Added: 2009-04-10 License: Freeware Price: $0
259 downloads
Other version of Advanced Bash Scripting Guide
Price: $0
License:Freeware
License:Freeware
License:(FDL) GNU Free Documentation License
Advanced Poll Script 2.0.7
Advanced Poll Script provides a polling system with powerful administration tool. more>>
Advanced Poll Script provides a polling system with powerful administration tool.
Advanced Poll is a polling system with powerful administration tool. It features: multiple polls, unlimited options, templates, language support, IP-Logging, IP-Locking, cookie support, comment feature, vote expire feature, random poll support and more. Supports both text file and mySQL database.
<<lessAdvanced Poll is a polling system with powerful administration tool. It features: multiple polls, unlimited options, templates, language support, IP-Logging, IP-Locking, cookie support, comment feature, vote expire feature, random poll support and more. Supports both text file and mySQL database.
Download (0.41MB)
Added: 2007-04-24 License: Free for non-commercial use Price:
921 downloads
Advanced Guestbook Script 2.4.2
Advanced Guestbook Script provides a PHP-based guestbook script. more>>
Advanced Guestbook Script provides a PHP-based guestbook script.
Advanced Guestbook is a PHP-based guestbook script. It includes many useful features such as preview, templates, e-mail notification, page spanning , picture upload, templates, html tags handling, smilies, advanced guestbook codes and language support. The admin script lets you modify, view, and delete messages.
<<lessAdvanced Guestbook is a PHP-based guestbook script. It includes many useful features such as preview, templates, e-mail notification, page spanning , picture upload, templates, html tags handling, smilies, advanced guestbook codes and language support. The admin script lets you modify, view, and delete messages.
Download (0.48MB)
Added: 2007-04-27 License: GPL (GNU General Public License) Price:
558 downloads
Adams Ripsuite 0.2
Adams Ripsuite is a collection of quick and dirty Perl and bash scripts to help rip CDs and manage a music collection. more>>
Adams Ripsuite is a collection of quick and dirty Perl and bash scripts to help rip CDs and manage a music collection. The project rips music video DVDs and music CDs to files on your hard drive.
Reads track information in from a file on disk. Transcodes music files from and to a variety of formats using mplayer/lame/libogg. Specify an artist name to have their back catalogue copied to a folder.
Corrects the case of artist names/song titles for all music files/folders of music files. Adds artist information to files ripped with song title only. Does not support CDDB lookups for track information.
<<lessReads track information in from a file on disk. Transcodes music files from and to a variety of formats using mplayer/lame/libogg. Specify an artist name to have their back catalogue copied to a folder.
Corrects the case of artist names/song titles for all music files/folders of music files. Adds artist information to files ripped with song title only. Does not support CDDB lookups for track information.
Download (0.050MB)
Added: 2007-04-11 License: GPL (GNU General Public License) Price:
927 downloads
Adam's Ripsuite 0.2
Adams Ripsuite offers users a complete collection of quick and dirty Perl and bash scripts, which is created to help rip CDs and manage a music collection. more>> Adam's Ripsuite 0.2 offers users a complete collection of quick and dirty Perl and bash scripts, which is created to help rip CDs and manage a music collection. The project rips music video DVDs and music CDs to files on your hard drive. Reads track information in from a file on disk. Transcodes music files from and to a variety of formats using mplayer/lame/libogg. Specify an artist name to have their back catalogue copied to a folder. Corrects the case of artist names/song titles for all music files/folders of music files. Adds artist information to files ripped with song title only. Does not support CDDB lookups for track information.
Requirements: Perl
Added: 2007-04-11 License: GPL Price: FREE
1 downloads
Firebred iptables Script 0.9
Firebred iptables Script is a firewall designed if you want to share your internet connection between a lan of computers. more>>
Firebred iptables Script is a firewall designed if you want to share your internet connection between a lan of computers, all you need is a 2.4.x kernel, bash and iptables.
Main features:
- Easily specify allowed inbound ports for UDP and TCP
- Allow in traffic for pptp (microsoft vpn)
- Set up a transparent proxy along with squid or wwwoffle
Install
Simply set it up like your other init scripts, it does however need to be run after your dns starts and is connected to the outside world
<<lessMain features:
- Easily specify allowed inbound ports for UDP and TCP
- Allow in traffic for pptp (microsoft vpn)
- Set up a transparent proxy along with squid or wwwoffle
Install
Simply set it up like your other init scripts, it does however need to be run after your dns starts and is connected to the outside world
Download (MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
984 downloads
Advanced tic-tac-toe 2.1
Advanced tic-tac-toe project is an advanced version of tic-tac-toe. more>>
Advanced tic-tac-toe project is an advanced version of tic-tac-toe.
It is a version of the popular game with different rules for placing and winning the game.
Enhancements:
- Removed all unused vars
<<lessIt is a version of the popular game with different rules for placing and winning the game.
Enhancements:
- Removed all unused vars
Download (0.002MB)
Added: 2006-11-21 License: GPL (GNU General Public License) Price:
1070 downloads
Money-Making-Guide 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-23 License: Freeware Price: Free
187 downloads
Bash Port Knocking 0.0.1
Bash Port Knocking is a set of scripts that use standard Linux tools to acheive a port knocking system. more>>
Bash Port Knocking is a set of scripts that use standard Linux tools to acheive a port knocking system. A Web page is used to open ports, and an email is sent every time the port knocking sequence is successfully made.
Main features:
- Uses custom scripts to begin firewall and ipmasquerade for multiple connections. This can be used as a gateway for ethernet provided Internet Connectivity in addition to supplying port knocking services.
- This script creates a web page that can be used for port knocking. This page can be used locally if the browser is using a public/anonymous proxy.
- This scripts emails the above created browser page to a specified email recipient each time the port knock sequence is successfully acheived.
- This script logs successful port knocks but denies knocks that hit a port designed in the initial scripts. This allows the script to be closed automatically if someone is hitting your computer repeatedly trying to automatically open the ports and allows you to close the ports if youve completed a log in or other desired action.
- In its current state it has run successfully for quite some time and been tested repeatedly with both anonymous proxy and remotely by the author for opening ssh.
- It allows the user to control the depth of the logs searched to function in a very low usage enviornment or a very high use enviornment as desired.
- It sorts the knocks by knocking address to prevent possible denial of service.
<<lessMain features:
- Uses custom scripts to begin firewall and ipmasquerade for multiple connections. This can be used as a gateway for ethernet provided Internet Connectivity in addition to supplying port knocking services.
- This script creates a web page that can be used for port knocking. This page can be used locally if the browser is using a public/anonymous proxy.
- This scripts emails the above created browser page to a specified email recipient each time the port knock sequence is successfully acheived.
- This script logs successful port knocks but denies knocks that hit a port designed in the initial scripts. This allows the script to be closed automatically if someone is hitting your computer repeatedly trying to automatically open the ports and allows you to close the ports if youve completed a log in or other desired action.
- In its current state it has run successfully for quite some time and been tested repeatedly with both anonymous proxy and remotely by the author for opening ssh.
- It allows the user to control the depth of the logs searched to function in a very low usage enviornment or a very high use enviornment as desired.
- It sorts the knocks by knocking address to prevent possible denial of service.
Download (0.003MB)
Added: 2006-07-10 License: GPL (GNU General Public License) Price:
1208 downloads
IPv6 FireWall script
IPv6 FireWall script is a firewall based on ip6tables. more>>
IPv6 FireWall script is a firewall based on ip6tables.
firewall6.sh 122 lines
#!/bin/bash
# Basic IPv6 FireWall script by Dennis Kruyt (dennis@klingon.nl)
#
# Sun Jan 5 18:26:28 2003 - DK
#debug
#set -x
cd /opt/scripts/firewall
source ./config6
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
# change to script directory
cd ${SCRIPTSDIR}
SCRIPT=${SCRIPTSDIR}/firewall6.sh
case "$1" in
flush)
echo -e "Starting Firewall:"
${IPTABLE6} -F >> /dev/null 2>&1
${IPTABLE6} -X >> /dev/null 2>&1
echo -e "Setting defaults op ACCEPT!"
echo -e "ALERT: no firewall rules active"
#
${IPTABLE6} -P INPUT ACCEPT
${IPTABLE6} -P OUTPUT ACCEPT
${IPTABLE6} -P FORWARD ACCEPT
;;
start|reload)
echo -n "Starting Firewall: "
# paging!
#
# create a backup
TIME=`date +%s`
tar -czf /opt/backups/firewall/firewall.${TIME}.tar.gz /opt/scripts/firewall
# sending mail
mail email@address.com -s "Firewall - (re)started" < $0
# wait
sleep 1
# kerneloptions
echo -n "Loading Kernel options.."
./kernel_options6.sh
echo -n "Flushing and deleting all chains.."
${IPTABLE6} -F >> /dev/null 2>&1
${IPTABLE6} -X >> /dev/null 2>&1
# default policy
echo -n "Setting default policy DROP.."
${IPTABLE6} -P INPUT DROP
${IPTABLE6} -P OUTPUT DROP
${IPTABLE6} -P FORWARD DROP
# ?????????????
#${IPTABLE} -F -t mangle
#${IPTABLE} -t mangle -X
echo -e "Loading chains.."
# create chain blacklist
${IPTABLE6} --new blacklist
#And drop the evil ones
for i in $BLACKLIST6;do
${IPTABLE6} -A blacklist --src $i -j DROP
done
#icmp chain
${IPTABLE6} --new icmprules
${IPTABLE6} -A icmprules -p icmpv6 -j ACCEPT
# create out chain
${IPTABLE6} --new out
#localhost to localhost
${IPTABLE6} -A out --src $LOCALHOST6 --dst $LOCALHOST6 -j ACCEPT
# for now accept all outgoing IPv6 traffic
${IPTABLE6} -A out --src $SIXXS --dst $ANY6 -j ACCEPT
# create in chain
${IPTABLE6} --new in
#localhost to localhost
${IPTABLE6} -A in --src $LOCALHOST6 --dst $LOCALHOST6 -j ACCEPT
# for now accept all incomming IPv6 traffic
${IPTABLE6} -A in --dst $SIXXS --src $ANY6 -j ACCEPT
#All that are in trusted may ssh
for i in $THRUSTED6;do
${IPTABLE6} -A in -p tcp --dst $SIXXS --dport 22 --src $i -j ACCEPT
done
# jump to all ipv6 chains
${IPTABLE6} -A INPUT -j blacklist
${IPTABLE6} -A OUTPUT -j blacklist
${IPTABLE6} -A FORWARD -j blacklist
${IPTABLE6} -A INPUT -j icmprules
${IPTABLE6} -A OUTPUT -j icmprules
${IPTABLE6} -A INPUT -j in
${IPTABLE6} -A OUTPUT -j out
;;
show)
echo -e "Rules in the firewall: ${CHAIN} n"
${IPTABLE6} -L -n
;;
*)
echo -e "Usage: ${SCRIPT} {flush|start|reload|show} n"
exit 1
;;
esac
exit 0
config6 12 lines
export IPTABLE6=/sbin/ip6tables
export SCRIPTSDIR=/opt/scripts/firewall
export EXT="eth0" # device
export SIXXS="3ffe:8114:1000::50f/127" # extern
export ANY6="::/0"
export LOCALHOST6="::1/128"
export THRUSTED6=""
export BLACKLIST6="3ffe:8114:2fff:1391::1"
kernel_options6.sh 7 lines
#!/bin/bash
# forwarding on
#echo "1" > /proc/sys/net/ipv6 blablabla
# Set some other IPv6 proc settings
#echo "1" > /proc/sys/net/ipv6 blablabla
<<lessfirewall6.sh 122 lines
#!/bin/bash
# Basic IPv6 FireWall script by Dennis Kruyt (dennis@klingon.nl)
#
# Sun Jan 5 18:26:28 2003 - DK
#debug
#set -x
cd /opt/scripts/firewall
source ./config6
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
# change to script directory
cd ${SCRIPTSDIR}
SCRIPT=${SCRIPTSDIR}/firewall6.sh
case "$1" in
flush)
echo -e "Starting Firewall:"
${IPTABLE6} -F >> /dev/null 2>&1
${IPTABLE6} -X >> /dev/null 2>&1
echo -e "Setting defaults op ACCEPT!"
echo -e "ALERT: no firewall rules active"
#
${IPTABLE6} -P INPUT ACCEPT
${IPTABLE6} -P OUTPUT ACCEPT
${IPTABLE6} -P FORWARD ACCEPT
;;
start|reload)
echo -n "Starting Firewall: "
# paging!
#
# create a backup
TIME=`date +%s`
tar -czf /opt/backups/firewall/firewall.${TIME}.tar.gz /opt/scripts/firewall
# sending mail
mail email@address.com -s "Firewall - (re)started" < $0
# wait
sleep 1
# kerneloptions
echo -n "Loading Kernel options.."
./kernel_options6.sh
echo -n "Flushing and deleting all chains.."
${IPTABLE6} -F >> /dev/null 2>&1
${IPTABLE6} -X >> /dev/null 2>&1
# default policy
echo -n "Setting default policy DROP.."
${IPTABLE6} -P INPUT DROP
${IPTABLE6} -P OUTPUT DROP
${IPTABLE6} -P FORWARD DROP
# ?????????????
#${IPTABLE} -F -t mangle
#${IPTABLE} -t mangle -X
echo -e "Loading chains.."
# create chain blacklist
${IPTABLE6} --new blacklist
#And drop the evil ones
for i in $BLACKLIST6;do
${IPTABLE6} -A blacklist --src $i -j DROP
done
#icmp chain
${IPTABLE6} --new icmprules
${IPTABLE6} -A icmprules -p icmpv6 -j ACCEPT
# create out chain
${IPTABLE6} --new out
#localhost to localhost
${IPTABLE6} -A out --src $LOCALHOST6 --dst $LOCALHOST6 -j ACCEPT
# for now accept all outgoing IPv6 traffic
${IPTABLE6} -A out --src $SIXXS --dst $ANY6 -j ACCEPT
# create in chain
${IPTABLE6} --new in
#localhost to localhost
${IPTABLE6} -A in --src $LOCALHOST6 --dst $LOCALHOST6 -j ACCEPT
# for now accept all incomming IPv6 traffic
${IPTABLE6} -A in --dst $SIXXS --src $ANY6 -j ACCEPT
#All that are in trusted may ssh
for i in $THRUSTED6;do
${IPTABLE6} -A in -p tcp --dst $SIXXS --dport 22 --src $i -j ACCEPT
done
# jump to all ipv6 chains
${IPTABLE6} -A INPUT -j blacklist
${IPTABLE6} -A OUTPUT -j blacklist
${IPTABLE6} -A FORWARD -j blacklist
${IPTABLE6} -A INPUT -j icmprules
${IPTABLE6} -A OUTPUT -j icmprules
${IPTABLE6} -A INPUT -j in
${IPTABLE6} -A OUTPUT -j out
;;
show)
echo -e "Rules in the firewall: ${CHAIN} n"
${IPTABLE6} -L -n
;;
*)
echo -e "Usage: ${SCRIPT} {flush|start|reload|show} n"
exit 1
;;
esac
exit 0
config6 12 lines
export IPTABLE6=/sbin/ip6tables
export SCRIPTSDIR=/opt/scripts/firewall
export EXT="eth0" # device
export SIXXS="3ffe:8114:1000::50f/127" # extern
export ANY6="::/0"
export LOCALHOST6="::1/128"
export THRUSTED6=""
export BLACKLIST6="3ffe:8114:2fff:1391::1"
kernel_options6.sh 7 lines
#!/bin/bash
# forwarding on
#echo "1" > /proc/sys/net/ipv6 blablabla
# Set some other IPv6 proc settings
#echo "1" > /proc/sys/net/ipv6 blablabla
Download (0.002MB)
Added: 2007-02-13 License: GPL (GNU General Public License) Price:
994 downloads
Intro to Bash Programming HOWTO 0.8
Intro to Bash Programming HOWTO is a bash programming tutorial. more>>
Intro to Bash Programming HOWTO is a bash programming tutorial.
The Intro to Bash Programming HOWTO is meant for newbies who wish to learn how to write shell scripts for bash, the GNU Boure-Again shell.
It contains several samples. It is very early in its development, but it is hoped that some people might find it useful.
Enhancements:
- New translations included and minor correcitons.
<<lessThe Intro to Bash Programming HOWTO is meant for newbies who wish to learn how to write shell scripts for bash, the GNU Boure-Again shell.
It contains several samples. It is very early in its development, but it is hoped that some people might find it useful.
Enhancements:
- New translations included and minor correcitons.
Download (MB)
Added: 2006-10-03 License: (FDL) GNU Free Documentation License Price:
1123 downloads
Archive sort 0.1
Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs. more>>
Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs.
It is useful if you have several tens or hundreds of GBs of data to archive. It can also be configured to sort into 700MB directories for archiving onto CDs.
Usage: ./archive-sort [-h] [-s SIZE] [-t] [-v] SOURCE DEST
Archive files from directory DEST to new directory SOURCE in 4.4GB chunks,
or any SIZE specified by the user.
This script has not been tested extensively, so it is recommended that you make a copy of the directory you want to archive, then run the script on that directory. Always use the -t (test) option first and carefully read the output before using the script.
Optional arguments.
-h Print this help message.
-s Size of the archive media (default 4.4 GB)
-t Test run with verbose messages.
-v Verbose
Examples:
First cd to directory containing directories to be archived:
cd /home/user/archive
archive-sort . ../disc01
This is useful if you have several large directories under /home/user/archive, but no files. The archive directory will not be included in disc01.
If you have a directory full of lots of files, then cd to the parent directory of the directory that needs to be archived:
cd /home/user
archive-sort archive disc01
<<lessIt is useful if you have several tens or hundreds of GBs of data to archive. It can also be configured to sort into 700MB directories for archiving onto CDs.
Usage: ./archive-sort [-h] [-s SIZE] [-t] [-v] SOURCE DEST
Archive files from directory DEST to new directory SOURCE in 4.4GB chunks,
or any SIZE specified by the user.
This script has not been tested extensively, so it is recommended that you make a copy of the directory you want to archive, then run the script on that directory. Always use the -t (test) option first and carefully read the output before using the script.
Optional arguments.
-h Print this help message.
-s Size of the archive media (default 4.4 GB)
-t Test run with verbose messages.
-v Verbose
Examples:
First cd to directory containing directories to be archived:
cd /home/user/archive
archive-sort . ../disc01
This is useful if you have several large directories under /home/user/archive, but no files. The archive directory will not be included in disc01.
If you have a directory full of lots of files, then cd to the parent directory of the directory that needs to be archived:
cd /home/user
archive-sort archive disc01
Download (0.006MB)
Added: 2006-07-24 License: GPL (GNU General Public License) Price:
1188 downloads
Online Money Guide 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-24 License: Freeware Price: Free
184 downloads
Bash Blogger 0.3.6
Bash Blogger is a shell script that generates CSS styled XHTML 1.1 static Web pages. more>>
Bash Blogger is a shell script that generates CSS styled XHTML 1.1 static Web pages.
Keeping up a website is basically just adding new content and a bunch of small repetitive tasks, e.g. updating the archives, updating the front page, etc. Bash scripting is good for automating repetitive tasks, so this works out pretty well.
Why program in the shell instead of (Perl, Python, etc)?
You may not have Perl, PHP or any number of the other scripting languages available on your hosting provider. Its a fairly safe bet that if you have shell access to your account, you can use Bash Blogger.
Enhancements:
- This release adds pingservices to notify technorati, blo.gs, etc. when a site is updated.
- It adds pingback support (autodiscovery and XML-RPC posting of pingback).
- User templates are now fully exposed.
- The default templates have been changed from XHTML 1.1 to HTML5 as per WHATWG recommendations.
- An ispell/aspell spellcheck menu option has been added.
- The welcome message code has been replaced with functions to make articles "sticky".
<<lessKeeping up a website is basically just adding new content and a bunch of small repetitive tasks, e.g. updating the archives, updating the front page, etc. Bash scripting is good for automating repetitive tasks, so this works out pretty well.
Why program in the shell instead of (Perl, Python, etc)?
You may not have Perl, PHP or any number of the other scripting languages available on your hosting provider. Its a fairly safe bet that if you have shell access to your account, you can use Bash Blogger.
Enhancements:
- This release adds pingservices to notify technorati, blo.gs, etc. when a site is updated.
- It adds pingback support (autodiscovery and XML-RPC posting of pingback).
- User templates are now fully exposed.
- The default templates have been changed from XHTML 1.1 to HTML5 as per WHATWG recommendations.
- An ispell/aspell spellcheck menu option has been added.
- The welcome message code has been replaced with functions to make articles "sticky".
Download (0.032MB)
Added: 2007-07-28 License: GPL (GNU General Public License) Price:
822 downloads
homeLANsecurity 1.6.0
homeLANsecurity was written for Netfilters IPtables, homeLANsecurity (HLS) is a Bash shell scripted firewall. more>>
It was born out of the desire for an easy to configure, well documented, robust IPtables firewall. It has been made with the individual user or small business in mind. With that said, Ive had plenty of e-mails from administrators that are using HLS in a large corporate environment. It was just not initially designed for such.
There is some limited error checking built into HLS. This will not prevent horrible choices when selecting which setting to enable or disable. Since the script can be used for gateway systems and internal LAN systems, many options are listed. Not every option is wise to enable for gateway system. In general, the default settings is the best way to go for the majority of gateway systems.
I dont feel the need to write a large volume of documentation as the HLS script and related files are well documented internally. Then again I am probably too close to the project to make that judgment.
For version 1.6.0 of HLS, I am going to add documentation to this page as the need for it arises. If you find something to be unclear in this documentation or inside one of the files, drop me a short e-mail stating what is unclear and why it is unclear (if possible). Ill make every effort to update the documentation to correct this.
<<lessThere is some limited error checking built into HLS. This will not prevent horrible choices when selecting which setting to enable or disable. Since the script can be used for gateway systems and internal LAN systems, many options are listed. Not every option is wise to enable for gateway system. In general, the default settings is the best way to go for the majority of gateway systems.
I dont feel the need to write a large volume of documentation as the HLS script and related files are well documented internally. Then again I am probably too close to the project to make that judgment.
For version 1.6.0 of HLS, I am going to add documentation to this page as the need for it arises. If you find something to be unclear in this documentation or inside one of the files, drop me a short e-mail stating what is unclear and why it is unclear (if possible). Ill make every effort to update the documentation to correct this.
Download (0.020MB)
Added: 2006-01-30 License: GPL (GNU General Public License) Price:
1363 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above advanced bash scripting guide search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed