This tutorial covers programming language features in
Dos has abbreviated as disk-based operation systems for windows OS.
It has different flavors MS-DOS IBM PC DOS
The current version is DOS 9 in Windows 12 Operating System
Linux and UNIX have different scripts like bash and Shell scripts
sh is a shell, command language used to execute code from a script file. It takes input from the keyboard and executes script files and does output.
To execute the sh files, Please follow the below steps
To get the current date and time in the terminal, please follow the below steps
date
Terminal also called command line in Most of the operating Systems.Terminal used to execute script files in OS.
Bash Shell scripting tutorials and programming examples
Posted January 1, 0001 by ‐ 1 min read
How to loop contents of a file in Bash Shell scripting tutorials and programming examples
Posted December 31, 2022 by ‐ 1 min read
In this tutorial, Learn variable declaration, types of global and local readonly variables accessing the variables with syntax, and examples in bash shell script programming
Posted December 31, 2022 by ‐ 3 min read
In this tutorial, Learned to insert single and multi-line comments syntax and examples in shell and bash script files
Posted December 31, 2022 by ‐ 2 min read
In this tutorial, How to create indexed and associated arrays add, remove get iterate loop first and last elements of array s syntax and examples and array cheat sheet shell examples
Posted December 31, 2022 by ‐ 4 min read
Bash scripting tutorial on programming examples for concatenating string variables using simple append and shorthand arithmetic operator
Posted December 31, 2022 by ‐ 2 min read
Bash scripting tutorials on programming examples for checking directory exists or not multiple directories check, files exist, the directory does not exist, create a directory ternary and if statements, directory write and executable permissions
Posted December 31, 2022 by ‐ 2 min read
Bash scripting tutorials on programming examples for if two numbers are equal or not
Posted December 31, 2022 by ‐ 1 min read
Bash or shell script example for an extract file name for complete path, filename only without extension and extract extension
Posted December 31, 2022 by ‐ 2 min read
Bash or shell script .bashrc reload and location example for Split string into multiple strings using awk and ifs examples
Posted December 31, 2022 by ‐ 2 min read
Bash or shell script example for Split string into multiple strings using awk and ifs examples
Posted December 31, 2022 by ‐ 1 min read
Bash or shell script example for Finding the length of a string with examples
Posted December 31, 2022 by ‐ 1 min read
Bash or shell script example for Ternary Operator expression with examples
Posted December 31, 2022 by ‐ 1 min read
In this tutorial, learn multiple ways to convert a string to lowercase in bash and shell programming.
Posted December 31, 2022 by ‐ 2 min read
Bash scripting tutorials on programming examples for checking directory exists or not multiple directories check, files exist, the directory does not exist, create a directory ternary and if statements, directory write and executable permissions
Posted December 31, 2022 by ‐ 1 min read
In this tutorial, learn multiple ways to convert a string to upper case in bash and shell programming.
Posted December 31, 2022 by ‐ 2 min read
In this tutorial Check variable is set or unset in bash and shell script files with code examples
Posted December 31, 2022 by ‐ 3 min read
In this tutorial Check variable is set or unset empty or non-empty with an empty string or not in bash and shell script files
Posted December 31, 2022 by ‐ 1 min read
How to use logical operators and or in DOs batch programming example.
Posted January 1, 0001 by ‐ 1 min read
How to do pause with enter key Batch file DOs batch programming example.
Posted January 1, 0001 by ‐ 1 min read
Step-by-step tutorial on How to add a comment in a cmd dos batch programming in dos batch programming.
Posted January 1, 0001 by ‐ 1 min read
Step-by-step tutorial on how to define local global variables environment variables and reference prompt to read value and store numeric values with examples setx,set command in dos batch programming.
Posted January 1, 0001 by ‐ 3 min read
Learn if blocks if else statements and nested if else examples in dos batch programming. Check variable is defined or not
Posted January 1, 0001 by ‐ 2 min read
Iteration in DOS using for loop An example to iterate files in a directory in dos batch programming.
Posted January 1, 0001 by ‐ 1 min read
How to create an empty file with the command line in windows for example.
Posted January 1, 0001 by ‐ 1 min read
How to echo new line break or blank line and write to file in DOS programming.
Posted January 1, 0001 by ‐ 1 min read
How to increment variable or counter in .bat files in For loop incremental variable in DOS programming.
Posted January 1, 0001 by ‐ 1 min read
How to run multiple .bat files in sequential and parallel order in DOS programming.
Posted January 1, 0001 by ‐ 2 min read
How to use the current directory in batch code. append the filename to the current directory Run another bat or exec file from the current working directory.
Posted January 1, 0001 by ‐ 2 min read
How to list directories and subdirectories in a folder command line in windows with example.
Posted January 1, 0001 by ‐ 2 min read
How to shutdown restart logoff stop a window machine using the batch program shutdown command in windows to reboot and hibernate forcibly
Posted January 1, 0001 by ‐ 2 min read
How to display a tree view of files and folders in Windows And DOS command tree with f and a options
Posted January 1, 0001 by ‐ 2 min read