shell script

How do I find duplicate files in a given set of directories and delete them using a shell script or a command line options? How do I get rid of double duplicates files stored in ~/foo and /u2/foo directory?

{ 14 comments }

How do I continue in a for or while loop in Bash under UNIX or Linux operating systems?

{ 0 comments }

I’ve root ssh access and need to add / delete a few IP address on fly using the IPtables command via local shell script. How do I add or delete an IP address remotely over the SSH session under CentOS / Redhat / RHEL / Debian / Ubuntu Linux?

{ 4 comments }

How do I use awk pattern scanning and processing language under bash scripts? Can you provide a few examples?

{ 29 comments }

I want to get an alert when my disk is full under UNIX and Mac OS X? How do I set a a specified threshold and run the script via cron?

{ 27 comments }

Can you provide me a while loop control flow statement shell script syntax and example that allows code to be executed repeatedly based on a given boolean condition?

{ 21 comments }

How do I use ksh for loop to iterate thought array values under UNIX / Linux / BSD operating systems?

{ 4 comments }