Assume your current directory is installers. Provide a command that will create
ID: 3837482 • Letter: A
Question
Assume your current directory is installers. Provide a command that will create a symlink to the compilers directory, in the installers directory. (That means, the symlink will be inside installers, and will point to the compilers directory.) Suppose your current directory is the editors directory. Provide a command that will change your directory to the pdf directory Assume your current directory is myfiles. Provide a single command that will ensure that nobody other than you can list the contents of any of the directories contained under tools (including tools) Assume your current directory is myfiles. Provide a single command that will ensure that anyone (that means, you, your group and any other user) can execute files in any of the directories contained inside tools, except tools. Consider the following structure (both files named original.txt are regular files) Provide a command that will make a copy of original.txt to the backups directory. You only want to maintain one copy in backups, so no additional files should be created. Assume your current directory is files.Explanation / Answer
a)
$ ln -s /compilers /installers
b)
first you need to go to editors directory to root diectory
The command cd .. tells your system to go up to the directory immediately above the one in which you are currently working. To go up two directories, use the cd ../..
then to go to pdf directory from your root directory, type the relative path (i.e. home/users/etc/X11).You need to execute cd ../../pdf
c)
$ chmod 700 /tools
Here 700 means giving read,write and execution permissions only to the owner
d)
$ chmod 777 /tools
Here 777 means giving read,write and execution permissions for all users and groups and others
0)
cat original.txt>>/backups/original.txt
This command will copy all contents to original.txt in backups directory.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.