Name the commands to display: (i) Filenames (ii) Processes (iii) Users How do yo
ID: 3864063 • Letter: N
Question
Name the commands to display: (i) Filenames (ii) Processes (iii) UsersHow do you ensure that that all ordinary files created by you have rw - - - - r - - as the default permission?
Name the commands to display: (i) Filenames (ii) Processes (iii) Users
How do you ensure that that all ordinary files created by you have rw - - - - r - - as the default permission?
Name the commands to display: (i) Filenames (ii) Processes (iii) Users
How do you ensure that that all ordinary files created by you have rw - - - - r - - as the default permission?
Explanation / Answer
Unix is what you should have mentioned earlier :
1. Filenames :
ls - command to list the files in any directory to which you have access.
2. Processes :
ps - displays information about the active processes.
3. Users :
A. Unix has many commands to list users who are logged in.
These commands include ‘w,’ ‘who,’ and ‘users:’
To just see the Unix user names, use the command $ cat /etc/passwd | cut -d: -f1
chmod 604 some_document.html
This sets it to rw----r--.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.