Shell Script program to to exchange/swap the contents of two variables

Опубликовано: 04 Октябрь 2024
на канале: Swetha Suresh
1,209
19

In this video we will learn two methods to solve swapping the contents of two variables
Method 1: Using Temporary variable
Method 2: Using Arithmetic Operation

Some shortcuts and keys used
Ctrl+Alt+T --- To open Terminal Window
i --- To Switch to Insert mode in Vi editor.
Esc ---Switch to Command mode.
:w -- Save and continue editing.
:wq or ZZ -- Save and quit/exit vi editor.

Can get the code from below link:
https://drive.google.com/file/d/1_28a...