| -
Write a script that will do the following: -
Set a variable called mypath to your home directory. -
Print the value of mypath . -
Print just the last element of the path in mypath . -
Print the first element of the path in mypath . -
Print all but the last element of the variable mypath . |