shell script

I need to call the function called foo() using echo command in the same statement. How do I all or invoke the function using the echo statement?

{ 3 comments }

How do I read a list of ip address (subnets) using a text file and block all of them using Linux iptables command?

{ 10 comments }

How do I send e-mails from a shell script including file attachments?

{ 5 comments }

What is the use of UNIX source command under bash or any other shell? How do I use source command under UNIX / OS X / Linux operating systems?

{ 3 comments }

I‘m using a Cisco Linksys WAG320N Router to connect my OS X UNIX and Linux systems to the Web. How do I reboot my Linksys WAG series router / gateway (modem) from UNIX / Linux / OS X bash command prompt or using a shell script?

{ 12 comments }

How do I create or generate random numbers (sequence of numbers that lack any pattern), under Bash shell?

{ 15 comments }

How do I restrict the number of connections used by a single IP address to my server for port 80 and 25 using iptables?

{ 35 comments }