subject

In this lab you will learn to write and execute a shell script that includes comments. you will use chmod to make the file that holds the script executable and include a line that starts with #! in the script to make sure bash executes it. this lab also provides an introduction to positional parameters.

reading read "writing and executing a simple shell script" on pages 294–299 of sobell. procedure
1. use vim or cat (see page 20 of this lab manual for instructions) to create a file named short with the following line in it:
echo 'hi there'

2. use cat to verify the contents of short and then try to execute it. use ls –l to display the permissions for short. read the tip on sobell, page 296.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:00, michael3592
When is an original work considered public domain? a. when posted via social media b. when it is posted on the internet c. when a copyright symbol is not included with the piece of work d. when explicit permission is given by the author / owner
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, bre563
Research data that is presented using descriptive language is said to be
Answers: 2
image
Computers and Technology, 24.06.2019 10:10, juliana0122
Scanning the road can be thought of as a
Answers: 2
image
Computers and Technology, 24.06.2019 21:30, erickamiles1797
How do i copy and paste equations and pictures like math graphs, to post on this site to get my questions answered?
Answers: 2
You know the right answer?
In this lab you will learn to write and execute a shell script that includes comments. you will use...

Questions in other subjects:

Konu
English, 23.08.2019 01:40