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...
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. 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...
What is the result of the command ? $ who | grep $USER $ grep \$HOME...
What is the result of the command ? $ who | grep $USER $ grep \$HOME economics1 $ echo u*>> economics1 $ echo ‘u*’ >> economics1 $ . economicsA $ set noclobber $ set -o $ chmod +x economics2 $ spell < economics1 economic is file name linux command
A network administrator views the output from the “show ip route” command. What kinds of things...
A network administrator views the output from the “show ip route” command. What kinds of things do you think the administrator will see on the output? Based on your work this week, what do you think you can learn from such commands? Give an example of how you would improve your network using output from “show ip route”
At the command prompt: Change to your Downloads folder inside your home folder. Inside your Downloads...
At the command prompt: Change to your Downloads folder inside your home folder. Inside your Downloads folder, create a new folder named "IT1130". Inside the IT1130 folder, enter the following command: date /T > now.txt This last command creates a text file named now.txt containing the current date. Use the more command to display the contents of the now.txt file. Copy and paste the entire output of your more command into the space provided below. There should be one line...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT