| ![]() |
Consider the following directory hierarchy:

lab01?
/users/student/steve/lab01
steve directory and types pwd.
/users/student/steve
ls while in the root directory?
bin etc lib users usr
Suppose one is currently in the student directory.
lab03 in the jon directory, then create a new text file named greeting.java in this new directory and open it for editing? Finally, what additional command will rename greeting.java to HelloWorld.java?
mkdir ./jon/lab03 nano ./jon/lab03/greeting.java mv ./jon/lab03/greeting.java ./jon/lab03/HelloWorld.java
rm ./jon/lab03/greeting.java rmdir ./jon/lab03
lab01 directory contains a file named CoolTool.java. Give two commands for copying this file to the lab02 directory. The first should use only relative addressing, while the second should use absolute addressing, rename the file to Tool.java, and delete the original file, all at the same time.
cp CoolTool.java ../lab02 mv CoolTool.java /users/student/steve/lab02/Tool.java