≡ Menu

for loop

HowTo: Skip Bash For Loop

How do I skip bash for loop if certain condition is satisfied under UNIX / Linux / BSD / OS X?
[click to continue…]

Bash Iterate Array Examples

How do I iterate through an array under Bash scripting?
[click to continue…]

Bash Shell Loop Over Set of Files

How do I run shell loop over set of files stored in a current directory or specified directory?
[click to continue…]

How do I use bash for loop to iterate thought array values under UNIX / Linux operating systems?
[click to continue…]

Q. How do I define array in a bash shell script? How do I find out bash array length (number of elements) while running a script using for shell loop?
[click to continue…]

Q. How do I find out if all host computers on the LAN are alive or dead from a Linux or Windows XP computer? My network subnet range is 192.168.1.0/24 and I'm using dual boot Debian Linux / XP SP2 computer.
[click to continue…]

How do I find the largest top files and directories on a Linux or Unix like operating systems?
[click to continue…]