Hello All
My script contains something like this
............lines of code....
....
....cp /users/home/junk.txt /users/home/abc.txt
...line of code...
In the above script I need the user to input the path of the junk.txt file.
I modified the code to
............lines of code....
....
echo " Enter the path to junk.txt file"
Now how do I get the input from user and pass it to the cp command.
Regards
MP
My script contains something like this
............lines of code....
....
....cp /users/home/junk.txt /users/home/abc.txt
...line of code...
In the above script I need the user to input the path of the junk.txt file.
I modified the code to
............lines of code....
....
echo " Enter the path to junk.txt file"
Now how do I get the input from user and pass it to the cp command.
Regards
MP