Script exercise
Exercise 1: Write a script to determine whether the current user is root. If it is root, output "the user is root"; if not, output "the user is not root"
Exercise 2: Write a script to determine whether the ip entered after the script can be pinged
Exercise 3: Write a script to determine whether the process entered after the script exists
Exercise 4: Write a script to determine whether the software entered after the script is installed, if not installed, install it.
Exercise 5: Determine whether the current release version number is 6, and whether the minor version number is greater than or equal to 2