Raspberry Pi 3 : Linux 1. What command would you use to read about the \"sync\"
ID: 3742168 • Letter: R
Question
Raspberry Pi 3 : Linux
1. What command would you use to read about the "sync" system call (not the sync command)? (Note: You can have both a system call and a command with the same name, but they are not the same.)
2. What are the commands to answer the following questions?: How many different instances of the "cat" command are installed on your linux machine, and what is/are the location(s) path i.e. what is the complete path for each? Hint: you may need to use one or more of the commands: "man", "whereis", "which" ... to help answer this question.
3. Which is a least limiting "su" or "sudo"?
4.The "find" utility command is helpful in system administration. Read the man page for "find". Then write a "find" command in a unix shell command that will locate ALL files with their setuid (suid) bit set on your linux OS installation.
Explanation / Answer
1. man man sync
2. There is only one instance and the path is "/bin/cat"
3. "su" is least limiting
4. find "$DIRECTORY" -perm /u=s
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.