Skip to content

mariem-BM/Shell_Scripting_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Shell_Scripting_Project

A shell application allowing to: • Display the hardware characteristics of your machine via the Pydf and fdisk commands ◦ the -p option to run the Pydf command ◦ the -d option to run the fdisk command ◦ The -h or -help option to display help from a text file containing the description of the application and its options (the file must be in / etc directory)

4

◦ the -g option to display a graphic menu (example via YAD) ◦ the -m option to display a text menu (loop menu) ◦ the -s FILE option to save the most relevant (by filtering) in a file passed as an argument ◦ the -v option displays the verion and the names of the authors ◦ the -o FILE option to display the most relevant information in a file passed as an argument (if the file does not exist a error message should be displayed) ◦ the option -f KEYWORD to display the lines containing the KEYWORD to from a file. This option must be used with the -o option

• Display an error message if no argument is passed to the script • ’application must be installed in the / usr / bin directory • Display the most relevant information curves / pie charts via curves the option -plot or -gnuplot


1111111111111111111