Explain the read, write, and execute permissions on a UNIX
directory
Answers were Sorted based on User's Feedback
Answer / gokul pradeep
read 4
write 2
exec 1
totally it will be 7.
for ex: chmod 777 /loc
in this first 7 represent user.
second 7 represent group.
third 7 represent others.
chmod 744 means user have full permission but group and
others have only read permission.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / faiz_rg
rwx rwx rwx
user group others
Read - r
Write - w
Execute - x
e.g.: chmod 754 /home/abc/abc.txt
output will be : _rwxr_xr__ for /home/abc/abc.txt
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / venkat
read -4 (used to read a perticulat file)
write -2 (using this u can able to write)
execute -1( using this command u can able execute)...file(or) director
| Is This Answer Correct ? | 1 Yes | 0 No |
What is a profile file in linux?
Explain the working of dns?
Which shell do you assign to a pop3 mail-only account?
Why is it called arch linux?
Are linux and unix the same thing?
Does netflix work on linux?
Does free memory exist on linux?
You have a file called phonenos that is almost 4,000 lines long. What text filter can you use to split it into four pieces each 1,000 lines long?
Is mac a linux or darwin?
What is shell script?
how will you mount an ntfs partition in linux?
What is the role of kudzu?