Skip to content

jdnichollsc/Shell-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Programming

Shell Programming and Scripting

Unix Program:

menu

_________________________________________________________________________________________
|_______________________________________________________________________________________|
||_____________________________________________________________________________________||
|||                                                                                   |||
|||                                    SYSTEM MENU                                    |||
|||                                                                                   |||
|||      1. GENERAL COMMANDS                                                          |||
|||                                                                                   |||
|||      2. USERS                                                                     |||
|||                                                                                   |||
|||      3. FILE SYSTEM                                                               |||
|||                                                                                   |||
|||      9. FINISH                                                                    |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                        0000___000 |||
|||      Please select desired option index                                00000__000 |||
|||                                                                        000_000000 |||
|||                                                                        000__00000 |||
|||                                                                        000___0000 |||
|||___________________________________________________________________________________|||
||_____________________________________________________________________________________||
|_______________________________________________________________________________________|

commands

_________________________________________________________________________________________
|_______________________________________________________________________________________|
||_____________________________________________________________________________________||
|||                                                                                   |||
|||                                  GENERAL COMMANDS                                 |||
|||                                                                                   |||
|||      1. DISPLAY SYSTEM TIME                                                       |||
|||                                                                                   |||
|||      2. PATH OF THE CURRENT DIRECTORY                                             |||
|||                                                                                   |||
|||      3. CHANGE PASSWORD                                                           |||
|||                                                                                   |||
|||      9. RETURN                                                                    |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                        0000___000 |||
|||      Please select desired option index                                00000__000 |||
|||                                                                        000_000000 |||
|||                                                                        000__00000 |||
|||                                                                        000___0000 |||
|||___________________________________________________________________________________|||
||_____________________________________________________________________________________||
|_______________________________________________________________________________________|

users

_________________________________________________________________________________________
|_______________________________________________________________________________________|
||_____________________________________________________________________________________||
|||                                                                                   |||
|||                                       USERS                                       |||
|||                                                                                   |||
|||      1. SHOW CONNECTED USERS                                                      |||
|||                                                                                   |||
|||      2. SEND MESSSAGE TO AN USER                                                  |||
|||                                                                                   |||
|||      9. RETURN                                                                    |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                        0000___000 |||
|||      Please select desired option index                                00000__000 |||
|||                                                                        000_000000 |||
|||                                                                        000__00000 |||
|||                                                                        000___0000 |||
|||___________________________________________________________________________________|||
||_____________________________________________________________________________________||
|_______________________________________________________________________________________|

files

_________________________________________________________________________________________
|_______________________________________________________________________________________|
||_____________________________________________________________________________________||
|||                                                                                   |||
|||                                       FILES                                       |||
|||                                                                                   |||
|||      1. CREATE DIRECTORY                                                          |||
|||                                                                                   |||
|||      2. COPY FILES                                                                |||
|||                                                                                   |||
|||      3. MODIFY PERMITS TO A FILE                                                  |||
|||                                                                                   |||
|||      4. DISPLAY THE CONTENT OF A FILE                                             |||
|||                                                                                   |||
|||      5. DELETE A FILE                                                             |||
|||                                                                                   |||
|||      6. CHANGE THE FILE'S NAME                                                    |||
|||                                                                                   |||
|||      9. RETURN                                                                    |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                                   |||
|||                                                                        0000___000 |||
|||      Please select desired option index                                00000__000 |||
|||                                                                        000_000000 |||
|||                                                                        000__00000 |||
|||                                                                        000___0000 |||
|||___________________________________________________________________________________|||
||_____________________________________________________________________________________||
|_______________________________________________________________________________________|

permissions

_________________________________________
|                                       |
||       Manage User permissions       ||
||                                     ||
||  1. Only executable                 ||
||  2. Only writing                    ||
||  3. Writing and executable          ||
||  4. Only reading                    ||
||  5. Reading and executable          ||
||  6. Reading and writing             ||
||  7. Reading, writing and executable ||
||  8. Nothing                         ||
|_______________________________________|

Happy coding

Made with <3