Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Task:

Create script which accepts name of package, and if this package installed in the system - shows its version. If not installed - corresponding message. Script should be able to work in deb and rpm-based systems.

Solution:

This script accepts name of package, and if this package installed in the system - shows its version. If not installed - corresponding message. Script able to work in deb and rpm-based systems. This script run without argument.

./task9.sh

After starting script we need to enter name of package.