Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

catch input bash

#!/bin/bash
# your code goes here
echo "if double helix, type - dh " 
echo "single strand, type - ss"
read htype # this is catching input
echo Structure is $htype ;
 
PREVIOUS NEXT
Tagged: #catch #input #bash
ADD COMMENT
Topic
Name
6+8 =