Skip to content

codeplusmath/shell-script-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Script Assignment

  1. Write a menu driven program for 1. Odd or Even Number 2. Find smallest number amongst three numbers

  2. Create a Bash script which will take two numbers as command line arguments. It will print to the screen the larger of the two numbers.

  3. Create a Bash script which will accept a file as a command line argument and analyse it in certain ways. eg. you could check if the file is executable or writable. You should print a certain message if true and another if false.

  4. Create a Bash script which will print a message based upon which day of the week it is (eg. 'Happy hump day' for Wednesday, 'TGIF' for Friday etc).

  5. Write a shell script to display files and folders from current directory.

Releases

No releases published

Packages

No packages published

Languages