Writing programs or coding is a fun activity that I enjoy. I recommend my students to learn two languages before they graduate. They are Python and Java. I love those two languages. Can you get what language is the following?
#!/bin/bash # read the name of the user and print hello echo "Hello! What is your name" read name echo "Welcome, $name" # single quotes prevent the expansion of the variable echo 'Your name was stored in $name' #to take input in silent mode like password #type string will notbe visible read -s password echo"password set to $password" # exercise: write a script that asks the user for a # filename and create an empty file named after it
That's right. It's a Bash script.