Peruttu

Bash shell script

Need some help with some very basic Bash shell scripts to get me going.

1: Write a script where the user can enter two numbers. Print if the numbers are equal, not equal, greater than or less than another.

2: Write a script that tries to open the file [url removed, login to view], check if the file exists, if it is readable or writeable.

3: Write a script that prompts the user for a number between 1 and 10, if the user enters a number outside this area shall have an fault comments of the script.

4: Make a review informs script! In one file is the score for each question, one point per line. The script will add up the points and return what grade to be added. G = 30, VG = 48

5: Experiment on your own and write one scripts based on these questions.

Taidot: Shell Script

Näytä lisää: shell bash, basic shell script, bash shell scripts, bash file, bash 0, vg, shell scripts, shell script, bash scripts, bash script, shell add file, write test script, test question script, script bash, user points script, bash shell , bash script grade, shell script grade, script shall, script user points, user review script, point file shell, bash add numbers, write shell, score scripts

About the Employer:
( 13 reviews ) London, United Kingdom

Projektin tunnus: #4234362