Professional Documents
Culture Documents
Q1)
a) File and directory Organization
Ans) We ca create a file or Directory by using the following commands.
From one directory to another we have to came back to home by entering “..” this
we can come back to home now cd <name>
In order to check the directories created or not we use the command “ls-l”
So we can remove the these empty files as its storage is zero and there is no
data in it
Use the cd command and ls command to navigate to the directory containing the
file you want to password-protect.
Once inside the directory, run the following command to encrypt your file:
“gpg -c filename”.
We can also change the permissions for the files by using the command
chmod [options] [mode] [File_name]
Read and write for Owner, and Read-only for the group and other:
Value Permission
4 Read Permission
2 Write Permission
1 Execute Permission
this will give permissions for read, write and execute for all three user , owner, group