Hi I am new to Linux and I need to learn how to perform these 3 tasks
-rw-r--r--@ 1 user1 staff 108 Oct 17 21:28 coolstuff.o
- Change permissions so that user can read/write/execute, group can read/execute and other can execute. Assume you are not logged in as the
root
superuser and you are not useruser1
. - Change ownership from
user1
touser2
. Assume you are not logged in as theroot
superuser and you are notuser1
oruser2
. - List all the
.o
files (and no other files) in this directory (assuming you are currently in the directory), making sure that the permission information for them is shown (as in the example above). This is useful when making sure that the file permission and ownership changes occurred as expected and that other files are unchanged.