3. How to read a user input inside a file in shell scripting.

shell scripting

How to read a user input inside a file in shell scripting.

Read will help you to read a value you give as an input

root@devops:/script/script# cat 2read.sh

#! /bin/bash

echo " this is for showing read"

echo " enter your value"

read num

echo " you insert number is $num"

root@devops:/script/script#

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

Copyright © 2014-2018 Thearticlenow | All Rights Reserved.