ADVERTISEMENT
ADVERTISEMENT

Linux Shell Script Programs / Examples

Shell Scripting is an open-source computer program that can be executed/ run on the Unix/Linux shell. Shell Scripting is a set of instructions to write a set of commands for the shell to execute.

A shell script is a set of instructions / commands (program) designed to be run by the Unix/Linux shell. It is a command-line interpreter and typical operations performed by shell scripts include printing text & values, file manipulation, program execution, and printing text, etc.

This section contains the various examples (programs) of Shell Scripting to learn the basic & advanced concepts of Linux/Unix shell scripting. These Shell Script Examples are helpful for beginners and professionals who want to learn about Shell Scripting, how it works?

Linux Shell Script Programs

  1. Linux shell script program to create and print the value of variables
  2. Linux shell script program to add two numbers
  3. Linux shell script program to swap two numbers
  4. Linux shell script program to read two integer numbers and print the subtraction of both variables
  5. Linux shell script program to multiply two numbers
  6. Linux shell script program to print program name using command line argument
  7. Linux shell script program to add two numbers using command line arguments
  8. Linux shell script program to execute 'ls' command
  9. Linux shell script program to demonstrate the '$#' variable
  10. Linux shell script program to print the current process id
ADVERTISEMENT




ADVERTISEMENT



Comments and Discussions!

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.