Question
Using PuTTY: Q: Use the whereis command to locate the date binary(i.e., executable file). What directory is it located in, what is the size in
Using PuTTY:
Q: Use the whereis command to locate the date binary(i.e., executable file). What directory is it located in, what is the size in bytes of the date file, and when was the file last modified? Q: Who owns the date file (both user-owner and group-owner)? Q: Others have r-x privileges on the directory where date is located. Suppose the permission attributes on the file date were -rwxrwxrw-. Suppose your current directory is the directory where date is located. For each of the following commands, describe if the command would succeed or fail, and if so what permission attribute(s) cause the command to succeed or fail: ls -l date; cat date; vi date (edit and save); cp date ~; rm date; cd date; and ./date? Q: What are the actual permission attributes of the date binary? Answer the previous question using the actual permission attributes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started