1.) What command would you enter to move the file eakins, which is in your current directory, so it's listed in your home directory?
You would enter: mv eakins ..
2.) What is the difference between the commands rmdir and rm -r?
rmdir will only remove a directory if it is empty while rm -r will remove a directory and everything that is in it.
3.) Assume you are in the Projects directory, which has the subdirectories Old-projects, and New-projects. What is the command to move the Bookproject from New-projects to Old-projects?
You would enter: mv New-projects/Bookproject Old-projects
4.) You are in your home directory, where there is a file named users-on. What command will list the file in both your home directory and in the subdirectory Projects?
You would enter: ln users_on Projects
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment