Saturday, 5 February 2011

Command line for and while loop.. Shell Linux

Command line while loop:
$while [ 1 ]; do traceroute www.slac.stanford.edu; done;

Command line for loop:
$for x in 1 2 3; do ls -l; done

Enjoy :)

No comments:

Post a Comment

Using Handlebar Prompt in Semantic Kernal

> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...