Skip to content

nixCraft

Linux and Unix tutorials for new and seasoned sysadmin

  • Home
  • About
  • Linux Shell Scripting TutoriaL
  • RSS/Feed
  • Donations
Search

nixCraft

Linux and Unix tutorials for new and seasoned sysadmin

nixCraft

Tag: while loop

Bash Infinite Loop Examples

in Categories BASH Shell last updated January 20, 2011

How do I write an infinite loop in Bash script under Linux or UNIX like operating systems?

14 Comments

iptables: Read a List of IP Address From File And Block

in Categories Iptables last updated October 26, 2010

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

12 Comments

UNIX: Loop Through Files In A Directory

in Categories UNIX last updated July 1, 2010

How do I loop through files in a directory under UNIX like operating systems?

3 Comments

Bash: Continue In a For / While Loop

in Categories BASH Shell last updated January 29, 2011

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

Bash Script: Read One Character At A Time

in Categories BASH Shell, CentOS, Debian / Ubuntu, FAQ, FreeBSD, Linux, RedHat and Friends, Suse, Ubuntu Linux, UNIX last updated September 30, 2009

I need to count one character at a time from input.txt. How do I read one character at a time under Linux / UNIX bash shell script?

9 Comments

Shell Script While Loop Examples

in Categories BASH Shell, CentOS, csh, Debian / Ubuntu, Fedora Linux, FreeBSD, HP-UX Unix, KSH Shell, Linux, Mac OS X, OpenBSD, UNIX last updated July 16, 2009

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?

27 Comments

Featured Articles:

  • 30 Cool Open Source Software I Discovered in 2013
  • 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
  • Top 30 Nmap Command Examples For Sys/Network Admins
  • 25 PHP Security Best Practices For Sys Admins
  • 20 Linux System Monitoring Tools Every SysAdmin Should Know
  • 20 Linux Server Hardening Security Tips
  • Linux: 20 Iptables Examples For New SysAdmins
  • Top 20 OpenSSH Server Best Security Practices
  • Top 20 Nginx WebServer Best Security Practices
  • 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
  • 15 Greatest Open Source Terminal Applications Of 2012
  • My 10 UNIX Command Line Mistakes
  • Top 10 Open Source Web-Based Project Management Software
  • Top 5 Email Client For Linux, Mac OS X, and Windows Users
  • The Novice Guide To Buying A Linux Laptop

Sign up for my newsletter

Sign up for my newsletter

Follow us

TwitterFacebookGoogle+



RSS Recently updated

  • How To Use Bash Parameter Substitution Like A Pro
  • How To Run Multiple SSH Command On Remote Machine And Exit Safely
  • Delete all root mail / inbox on Linux / Unix from a shell prompt
  • How to use lftp to accelerate ftp/https download speed on Linux/UNIX
  • How To Recover Linux Grub Boot Loader Password
  • OpenBSD install or add binary software package using pkg_add
  • How to use yum-cron to automatically update RHEL/CentOS Linux
  • Download Tux Paint Program For Young Children (Linux/macOS/Windows)
  • Linux Find Out Last System Reboot Time and Date Command
  • Linux wget: Your Ultimate Command Line Downloader
nixCraft @2000-2018 nixCraft. All rights reserved.
  • PRIVACY
  • TERM OF SERVICE
  • CONTACT/EMAIL
  • DONATIONS
Hosted by Linode
DNS & CDN by Cloudflare
Designed and Developed by Prospect One