https://uconnstamfordslp.blogspot.com/p/linux-explained.html
Create a linux shell program to state
Name
Major
Graduation Year
What you want to do?
High school you went to?
Town you live in
Favorite subject growing up?
What i am passionate about?
What company or organization would you like to for for?
Send both code and output attachment via email
Attach the my_info.txt file to your email
List all lines of code
Program
#!/bin/bash
# My First scripts
echo "Enter your full name : "
read my_name
echo "Enter your major : "
read my_major
echo "Enter the year you will graduate : "
read my_graduation
echo "My Name is : " $my_name
echo "My major is : " $my_major
echo "I will graduate in the year : " $my_graduation
Output
output
john_iacovacci1@cloudshell:~/scripts (uconn-engr)$ ./my_profile
Enter your full name :
John Iacovacci
Enter your major :
Computer Science
Enter the year you will graduate :
2026
My Name is : John Iacovacci
My major is : Computer Science
I will graduate in the year : 2026
No comments:
Post a Comment