Question: unix 1. Write the command to remove execute rights from the others on a file called chapter2. You can assume the file is in the

unix 1. Write the command to remove execute rights from the others on a file called chapter2. You can assume the file is in the current directory.
For this questions you can't use the octal approach.
Note: Only leave one space between the command, switches and parameters.
2. Write the command to give read, write and execute rights to the group, owner and others to a file called chapter2. You can assume the file is in the current directory.
For this questions you must use the octal approach with one command.
Note: Only leave one space between the command, switches and parameters.
3. Write the one command to list detailed information about the files in the /etc directory that have exactly three positions to the left of the . and end with the .conf extension. Do not include hidden files.
For example you are looking for files that have thee position as the base name such as yum.conf or blc.conf.
Here is a hint that is not the answer but gives you a sample to use as a basis to tweak to make it work: ls -l /bin/a*.*
Note: Only leave one space between the command, switches and parameters.
4. Write the command to list detailed information about the files in the /etc directory that end with the .conf extension. Do not include hidden files. Stay in your current home directory when issuing the command.
Here is a hint that is not the answer but gives you a sample to use as a basis to tweak to make it work: ls -l /bin/a*.*
Note: Only leave one space between the command, switches and parameters.
5. Write the command to list detailed information about the files and directories in the /etc directory. You must also include hidden files and stay in your current home directory when issuing the command.
Note: Only leave one space between the command, switches and parameters
6. Write the command to create a hidden directory called secret. You can place in the current directory.
Note: Only leave one space between the command, switches and parameters. !

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!