Question

In: Computer Science

What are the permissions for your home directory set by your system administrator? What command did...

What are the permissions for your home directory set by your system administrator? What command did you use to answer the question? Show your session.

Solutions

Expert Solution

What is a home directory?

A home directory is a directory given to a user on a Linux operating system.

Commands:

To know which is the home directory:

$ pwd

To know what are the permissions:

$ ls -l

Session output:

Explanation:

The very first character on the line indicates the file type. A dash (-) is an ordinary file. A (d) indicates a directory, and other characters can indicate other special file types.

The next nine characters indicate the permissions for the file or directory. The nine characters consist of three groups of three, showing the permissions for the

1) owner,

2) the owner's group, and

3) the world, respectively.

'r' denotes read.

'w' denotes write.

'x' denotes execute.


Related Solutions

What chmod command would you use to impose the following permissions? 1. on a directory(called dir1)...
What chmod command would you use to impose the following permissions? 1. on a directory(called dir1) and all its subdirectories such that: the owner would have read, write, and execute; the group would have read and execute; and others would have read(write the command in two ways: using rwx and using numeric value) 2. on file (called file1)such that: the owner would have read and write; the group would have no permissions; and others would have write (write the command...
You are the senior system administrator in your company and are known for your Active Directory...
You are the senior system administrator in your company and are known for your Active Directory expertise. Your specialty is Group Policy Objects (GPO) and tracking changes. Your boss tells everyone about a tool developed by Microsoft called “Policy Analyzer” for tracking changes and troubleshooting GPO. He would like you to conduct a “lunch and learn” about Policy Analyzer for your Windows Administration Team. You realize that the product’s name has been changed to “Microsoft Security Configuration Toolkit”. Diplomatically conduct...
1. What command is used to change the current working directory at the command line?
1. What command is used to change the current working directory at the command line?
Unix command lines. A) Assume that your current working directory is NOT the same as your...
Unix command lines. A) Assume that your current working directory is NOT the same as your home directory. Print all file and subdirectory names of your home directory into a file named file2. B) Copy the text from line 11 to line 20 of a given file input.txt and append the copied text at the end of the file output.txt. (Assume that the file input.txt contains more than 20 lines of text contents) C) Count and display the total number...
Using one Unix command, how to go to my home directory using tilde, ~. Using one...
Using one Unix command, how to go to my home directory using tilde, ~. Using one Unix command, how to go to your home directory using tilde, ~. Make sure you are in your home directory. Using one Unix command, how to go to your hw4 directory inside your hw directory, inside your it244directory using a relative pathname. Using one Unix command, how to go to my home directory using an absolute pathname. Using one Unix command, how to go...
Given the directory /home/Kitty which contains the files timer.exe and bags.txt. Set the protection but such...
Given the directory /home/Kitty which contains the files timer.exe and bags.txt. Set the protection but such that; Give the commands that would change the permissions. It will be a Linux system Only the owner Kitty can execute timer.exe. Kitty’s default group can write to the directory, but no one can delete or move any file except Kitty.
What are System calls. Provide 6 file and directory system calls
What are System calls. Provide 6 file and directory system calls
1.What is the role of an administrator at the home healthcare facility 2. What are the...
1.What is the role of an administrator at the home healthcare facility 2. What are the cheapest ways to advertise healthcare services in marketing? 3. How can a home healthcare facility gain more employees 4. How can healthcare facility gain private pay clients? 5.
Please create (if not already in your linux home directory) files of any type. Once these...
Please create (if not already in your linux home directory) files of any type. Once these files are created, archive them, compress the archive and move these files to the thrash directory. This could be a script to be run from the shell or the script to be run from an executable file. Submit your code and clearly explain all steps of your script.
1. When a file is created on Linux Operating System, What are the default permissions of...
1. When a file is created on Linux Operating System, What are the default permissions of the file? 2. Write a command to find the total disk space used by a specific user on linux system? 3. What is "s" permission bit in a file? 4. Explain the difference between grep and egrep? 5. Write a command to list files where third letter is x or y? 6. Write command to remove array element with id 5? 7. Write a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT