Main > Free Download Search >

Free bash script software for linux

bash script

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3933
Advanced Bash Scripting Guide 5.6

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
Advanced Bash Scripting Guide 5.4Complete ebook tutorial and reference on shell scripting with Bash in Linux/UNIX/BSD. This is ... Complete ebook tutorial and reference on shell scripting with Bash in Linux/UNIX/BSD. This is
Price: $0
License:Freeware
Download (2.85MB)
250 downloads
Added: 2009-04-03
Advanced Bash Scripting Guide 5.0is both a reference and a tutorial on shell scripting. Advanced Bash Scripting Guide 5.0 - M. Leo ... Advanced Bash Scripting Guide serves as a textbook, a manual for self-study, and a reference
License:(FDL) GNU Free Documentation License
Download (0.74MB)
892 downloads
Added: 2007-06-21
Bash 3.2

Bash 3.2


Bash is the shell, or command language interpreter, that will appear in the GNU operating system. more>>
Bash is the shell, or command language interpreter, that will appear in the GNU operating system.
Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). Bash is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.
Main features:
- Command line editing
- Unlimited size command history
- Job Control
- Shell Functions and Aliases
- Indexed arrays of unlimited size
- Integer arithmetic in any base from two to sixty-four
<<less
Download (2.3MB)
Added: 2006-10-12 License: GPL (GNU General Public License) Price:
650 downloads
IPv6 FireWall script

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
<<less
Download (0.002MB)
Added: 2007-02-13 License: GPL (GNU General Public License) Price:
994 downloads
Firebred iptables Script 0.9

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
<<less
Download (MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
984 downloads
Adams Ripsuite 0.2

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.

<<less
Download (0.050MB)
Added: 2007-04-11 License: GPL (GNU General Public License) Price:
927 downloads
Adam's Ripsuite 0.2

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

<<less
Added: 2007-04-11 License: GPL Price: FREE
1 downloads
Archive sort 0.1

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
<<less
Download (0.006MB)
Added: 2006-07-24 License: GPL (GNU General Public License) Price:
1188 downloads
lpr-bash 0.9a

lpr-bash 0.9a


lpr-bash is a replacement for the lpr command found in lpr(ng), CUPS, and other Unix printing systems. more>>
lpr-bash is a replacement for the "lpr" command found in lpr(ng), CUPS, and other Unix printing systems. lpr-bash is implemented as a shell script.
Originally designed to run on LinuxFromScratch, and later ported to gentoo, it should work with virtually any flavor of Linux or Unix, and maybe even Mac OS X.
The most common Linux Printing Systems consists of a daemon that needs to run in the background, in most cases listening on a port (ipp://, TCP port 631) for data, in the case of CUPS even as a webserver.
The advantage of this overdone functionality is that you can print from another PC in the network using the IPP protocol, while lpr-bash needs to resort to the print server functionality of samba for network printing.
If you only want local printing or have samba already started, lpr-bash is the smaller, less complex Printing System for you.
Enhancements:
- Two nasty bugs were fixed in local printing, ebuild, printcap-convert, and unwanted output to stdout.
- The print group was changed to lp for gentoo conformity. (un)lockprinter commands were added.
- The install script was changed to use portage on gentoo systems.
- A Web page was added to the standard documentation.
- The package now unpacks into a subdirectory.
<<less
Download (0.069MB)
Added: 2005-11-30 License: GPL (GNU General Public License) Price:
1425 downloads
Bash Blogger 0.3.6

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".
<<less
Download (0.032MB)
Added: 2007-07-28 License: GPL (GNU General Public License) Price:
822 downloads
BashBurn 2.1.1

BashBurn 2.1.1


BashBurn is a bash script designed to make CD burning at the console easier. more>>
BashBurn (Previously Magma) is a bash script designed to make CD burning at the console easier. BashBurn project supports burning normal data CDs, audio CDs, blanking CD-RWs, multisession, and more.

Installation:

1. First, download the latest version. Usually the development versions are pretty stable and should not cause any problems for you, but if you want to be on the safe side, get the latest stable version.
2. Second, unpack the downloaded tar.gz file with the command tar zxvf BashBurn-xyz.tar.gz (Where xyz is the version number). This will create a directory and unpack all files into that. Enter that directory and as root, run the install script as ./Install.sh or sh Install.sh. This will start the installation. Just answer the questions asked and in a matter of seconds the installation is done.
3. You can now delete the folder you unpacked BashBurn in, and as your regular user just type bashburn in a console and the program will start. Remember to first configure BashBurn to suit your system, and then its ready to burn away!
If you have problems or things just dont work right, dont be afraid to send me an emailand ask/complain about it.
<<less
Download (0.17MB)
Added: 2007-07-18 License: LGPL (GNU Lesser General Public License) Price:
830 downloads
Bash Port Knocking 0.0.1

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.
<<less
Download (0.003MB)
Added: 2006-07-10 License: GPL (GNU General Public License) Price:
1208 downloads
Env::Bash 0.04

Env::Bash 0.04


Env::Bash is a Perl extension for accessing _all_ bash environment variables. more>>
Env::Bash is a Perl extension for accessing _all_ bash environment variables.

SYNOPSIS

use Env::Bash;

Standard interface:

my @var = get_env_var( "SORCERER_MIRRORS",
Source => "/etc/sorcery/config", );
print "SORCERER_MIRRORS via get_env_var:n",
join( "n", @var ), "ncount = ", scalar @var, "n";

@var = Env::Bash::SORCERER_MIRRORS
( Source => "/etc/sorcery/config", );
print "SORCERER_MIRRORS via name:n",
join( "n", @var ), "ncount = ", scalar @var, "n";

my @keys = get_env_keys( Source => "/etc/sorcery/config",
SourceOnly => 1, );
print "first 10 keys:n", map { " $_n" } @keys[0..9];
Object oriented interface:
my $be = Env::Bash->new( Source => "/etc/sorcery/config",
Keys => 1, );
my @var = $be->get( "SORCERER_MIRRORS" );
print "SORCERER_MIRRORS via get:n",
join( "n", @var ), "ncount = ", scalar @var, "n";

@var = $be->SORCERER_MIRRORS;
print "SORCERER_MIRRORS via name:n",
join( "n", @var ), "ncount = ", scalar @var, "n";

$be = Env::Bash->new( Keys => 1,);
@var = $be->HOSTTYPE;
print "HOSTTYPE via name:n",
join( "n", @var ), "ncount = ", scalar @var, "n";

if( $be->exists( BASH_VERSINFO ) ) {
print "BASH_VERSINFO =>n ",
join( "n ", $be->BASH_VERSINFO ), "n";
}

my %options = $be->options( [], Keys => 1 );
Tie HASH interface:
my %env = ();
tie %env, "Env::Bash", Source => "/etc/sorcery/config", ForceArray => 1;

my $var = $env{SORCERER_MIRRORS};
print "SORCERER_MIRRORS via tied hash:n",
join( "n", @$var ), "ncount = ", scalar @$var, "n";

$var = $env{HOSTTYPE};
print "HOSTTYPE via tied hash:n",
join( "n", @$var ), "ncount = ", scalar @$var, "n";

while( my( $key, $value ) = each %env ) {
print "$key =>n ", join( "n ", @$value ), "n";
}

<<less
Download (0.014MB)
Added: 2007-04-13 License: Perl Artistic License Price:
926 downloads
libbash 0.9.10a

libbash 0.9.10a


libbash is a tool that enables bash dynamic-like shared libraries. more>>
libbash is a tool that enables bash dynamic-like shared libraries.
libbash library does this by managing bash scripts that contain functions you may want to use in various scripts.
Enhancements:
- getopts.sh: The last getopts change seem to disable the ability to use `-e, `-n and `-E, being valid `echo parameters. Fixed.
<<less
Download (0.042MB)
Added: 2006-05-10 License: GPL (GNU General Public License) Price:
1267 downloads
BASH Debugger 3.1-0.08

BASH Debugger 3.1-0.08


BASH Debugger is a patched BASH with a full-fledged debugger. more>>
Bash Debugger project contains patched sources to BASH that enable better debugging support as well as improved error reporting.
In addition, this project contains the most comprehensive source-code debugger for bash that has been written.
Since this project maintains as an open CVS development and encourages developers and ideas, the space could be also be used springboard for other experiments and additions to BASH.
Enhancements:
- This release adds a gdb-like "load" command to force reading in a file.
- Files coming from function line-specifications are now read in (Debian Bug #40336).
- Negative numbers are now allowed in "frame" (and "up" and "down") commands.
- Help, manual page, and documentation fixes have been made, including suggested use of $PS4.
<<less
Download (0.65MB)
Added: 2007-01-21 License: GPL (GNU General Public License) Price:
1010 downloads
Bashblogger 0.3.5

Bashblogger 0.3.5


Bash Blogger is a small, bash-powered, weblog engine. more>>
Bash Blogger is a small, bash-powered, weblog engine. Bashblogger generates valid, semantic, XHTML 1.1 webpages styled with a single CSS for layout and appearance without relying on popular, server-side scripting languages (i.e. Perl, Python, PHP, ASP, SSI, etc.).
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:
- When I change the name of an article and rebuild the site the name change only changes in the bash blogger menu. The index/article etc ... still list the original title. FIXED
- If you attempt to delete an article and fail to confirm with Y/n (just press enter) bblog exits instead of returning to previous menu. FIXED
<<less
Download (0.024MB)
Added: 2006-10-04 License: GPL (GNU General Public License) Price:
1115 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5