In JSLinux ,which of the following UNIX command can be used in absolute mode that grant the following permissions to Read.txt file? Allow user to Read and Execute, Group and owner allow to Execute. O a. chmod 311 Read.txt O b. chmod 511 Read.txt O c. chmod 611 Read.txt O d. chmod 651 Read.txt
Q: Which of the following commandsshould be run following the installationof a shared library to update…
A: Please find the answer below :
Q: In this hands-on project, you create a basic shell script and execute it on the system.1. Switch to…
A: 4. After creating myscript file and then executing ls -l myscript gives the information about…
Q: You have modified the /etc/aliases file to include a new e-mail alias. However, when yousend e-mail…
A: Modifying the alias file After the modification to the file, then the command for new alterations…
Q: which of the following commands is used to run a following command as a privileged user ? a) runas…
A: To run a command as a privileged user means that a command that cannot be used by a normal user can…
Q: Which command is used for removing an empty directory? a) mkdir b) rmdir c) del d) remove
A: Given, Choices: mkdir rmdir del remove We have to find which command is used for removing…
Q: QUESTION 48 Which of the following umask settings will result in new files receiving the default…
A: Answer (a):- 0177
Q: Which of the following commands will change the user ownership and group ownershipof file1 to user1…
A: "chown" command: In Linux operating system, "chown" command is used to change the group ownership…
Q: Which command is used to display the top of the file? A. cat B. head C. more D. grep E. None of the…
A: As given in the above question it is the UNIX system.
Q: Which filenames would be a subsequent ls command display?$ lsabc abd abe abf abg abh$ rm abc ab*rm:…
A: To describe which filenames the subsequent ls command display.
Q: Which of the following commands displays user id in its output? A. Is B. help C. date D. Is- command…
A: I have provided the answers in the step 2. As per policy, I can provide answer to first question in…
Q: Which of the following sequence of commands are used to create Sub directory- Test inside a new…
A: The directory is a computer logical organisations of the files and other directories and…
Q: ich one of the following tool deletes your files/data permanently. a. Change Directory b. SDelete c.…
A: Given: Which one of the following tool deletes your files/data permanently.
Q: Which of the following commands will remove a file called myfile.c from the file system? O a.…
A: Answer: The commands that will remove a file called myfile.c from the file system is rm -f myfile.c.
Q: You are given the command with arguments provided below. After a shift command is executed in…
A: Shift is a built-in command in bash which after getting executed, shifts/move the command line…
Q: Which of the following is a valid XSLT iteration command? a. otherwise O b. for-each c. choose O d.…
A: Ans: The following that is a valid XSLT iteration command is: b) for - each
Q: You run snort, using the following command: snort -k none -I /snort/logs -c /etc/snort/snort.conf -r…
A: the answer is given below:-
Q: This is abput Linux Op Sys How can I create a link to the /etc/hosts file in home directory and…
A: Linux systems allow creating two categories of links to files or directories. Hard links (with the…
Q: SECTION B below. Write Linux commands to complete the actions below bin tmp usr var etc home opt bin…
A: Our bounded restrictions are to answer the first three subparts only. - The question is to…
Q: BELOW MCQ GIVEN ANSWER CAN BE MORE THAN ONE OPTION. PLEASE PROVIDE CORRECT ANSWERS.…
A: ANSWER C
Q: We issue the command WC zz to our mini-shell. What should your lab9 or lab10 code have printed?…
A: Answers The input is split with respect to space and added to argv[] array argc gives the number of…
Q: Iba is modifying the basic NTFS permissions for a folder. She wants to enable the permission that is…
A: This mcq is based on NTFS permissions.
Q: Linux 7. Use the "uniq -c" command to sort and summarize the total occurrences of sudo access by…
A: Here i write code for linux find the number of sudo access in the given datafile1(assume). i…
Q: Which of the following CLI command can also be used to rename files? a) rm b) mv c) rm -r d) none of…
A: Question. Which of the following CLI command can also be used to rename files? a) rm b) mv c) rm -r…
Q: 3. Which of the following UNIX command is used for create and use archives of files? a. cp b. mv c.…
A: Unix is an operating system which provides various commands to perform operations and few of them…
Q: n Linux Create a simple backup script to create a backup of the directory “Script2”. This script…
A: Shell script #!/bin/bash source=/home/script2dest=/home/backup echo "start copying files..." for…
Q: 13. Which of the following is default permission set for ordinary files? a) rw-rw-rw- b) rwxrwxrwx…
A: 13. Which of the following is default permission set for ordinary files? a) rw-rw-rw- b) rwxrwxrwx…
Q: Use the mkdir command to add a directory named test2 in your home directory. Use one command to…
A: Answer: The code line for this in UBUNTU are: # Create a new directory test2 in your home directory…
Q: What are the returned values of the following commands? >>rc_wait=wait(NULL); >getpid(); >…
A: As per our guidelines we are supposed to answer only three sub part of a question so post the other…
Q: Which command is used to feed the contents of a text file to the stdin of another command with a…
A: cat command can be used to concatenate files and redirect output in terminal or files.
Q: Which command entered without arguments is used to display a list of processes runningin the current…
A: Linux is a multitasking framework and a multi-user system, as we all know. So, by interacting with…
Q: Which cat command is used to create empty files? i. cp ii. cat iii. touch iv. create
A: Question. Which cat command is used to create empty files? i. cp ii. cat iii. touch iv. create
Q: Which command is used to display all files including hidden files? cat -al Is -r Is -a cat -a
A: ls -a
Q: Which of the following commands are used to create Sub directory- Mid inside parent…
A: Explanation: to do that we first need to create course directory then go to course and then create…
Q: From where does the following command get its input? tr 'a-z' 'A-Z' |tee file1 >file2 files a-z and…
A: The answer is given below.
Q: Which of the following is the default permission set for the /root directory? O a. drwxrwxrwx O b.…
A: The default permission for the root directory is as follows:
Q: which command is used to modify password of user الاجابات pwd passwd useradd userdel…
A: Please give positive ratings for my efforts. Thanks. ANSWER 1) passwd is used to modify the…
Q: Which of the following commands or sequences of commands will rename a file x to file y in a Unix…
A: As per guidelines I can answer first three sub-parts. I hope you will understand, Thank You.…
Q: Which of the following UNIX command can be used in symbolic mode to grant the following permissions…
A: r = read w =write x =executer - sign indicates that particular permission has been removed b…
Q: We can send output of a command to append a text file (keeping the old data in the file) with the…
A: The syntax for sending the output of a command to append a text file is: >> filename in…
Q: oduces an exhaustive list of all the files and their perm
A: Introduction: Below describe the command produces an exhaustive list of all the files and their…
Q: Which command will change working directory from /usr/users/joe to /usr Group of answer choices cd…
A: Command will change working directory from /usr/users/joe to /usr is cd directory. As cd command is…
Q: A file has the following permissions: r-- --x-w-. The command chmod 143 would havethe same effect as…
A: Permissions: In Linux operating system, the permissions are represented with the help of notions of…
Q: Which of the following commands can be used to start a UNIX SysV daemon called lalain runlevels 1,…
A: “chkconfig” command can be used to start a particular daemon in the required run levels. “chkconfig…
Q: Write the command that can be used to perform the following: Back up the contents of the /var…
A: Since there are multiple questions posted, we will answer for first “4” questions. If you want any…
Q: Which of the following Linux commands can you use to make the following script executable? Assume…
A: The chmod Command in Linux stands for Change Mode in LINUX, which is a function to change / modify /…
Q: [root@localhost ~]# mkdir .first [root@localhost ~]# cd .first [root@localhost .test]# mkdir .second…
A: 1) ls is linux command to see what are the files in a given directory 2) -R option will recursively…
Q: The command chmod 317 file1 would produce which of the following lines in thels command?a.…
A: Answer is given below,
Q: Unix MCQ: Q. Which of the following is used with access call for checking the owner’s…
A: Q. Which of the following is used with access call for checking the owner’s permissions? a) R_OK b)…
Q: Which command produces an exhaustive list of all the files in the current directory, along with…
A: Introduction: The ls command is used to display a directory listing. "ls" alone displays all files…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- When a user, Belinda Lim, signs in to Windows, she cannot see her Documents folder in File Explorer and some of her Windows user settings are lost. You suspect her user profile is corrupted. Which tool or method should you use first to investigate and/or solve the problem? Second? a. Check the C:\User\Belinda Lim\Documents folder. b. Check the C:\Users\Belinda Lim\Documents folder. c. Use the chkdsk command. d. Use the sfc command.BELOW MCQ GIVEN ANSWER CAN BE MORE THAN ONE OPTION. PLEASE PROVIDE CORRECT ANSWERS. ------------------- Which of the following statements correctly describe execution of the highlighted command? $qrep ^root /etc/passwd root:qqed262w7tvxq:0:0:0000~admin(0000), ,258, :/:/bin/tcsh $su A) the current directory will be changed to '/' B) the environment will be the same as though root (super user ) had logged onto the system. C) the user will be prompted for a password and then /bin/tcsh will be executed . D) the system will execute /bin/sh . the current directory will not be changed. E) the user will be prompted for a password and then /bin/sh will be executed.Write the command that can be used to perform the following: Back up the contents of the /var directory (which contains symbolically linked files) to the second nonrewinding SCSI tape device on the system using the tar utility. Append the file /etc/inittab to the archive created in Exercise 2a. Create a tarball called /stuff.tar.gz that contains all files in the /root/stuff directory. Use the cpio utility to back up all files in the /var directory (which contains symbolically linked files) to the first rewinding IDE tape device that has a block size of 5KB. Perform a full filesystem backup of the /var filesystem using the dump utility and record the event in the /etc/dumpdates file. Create an image of the /dev/sdb4 filesystem to the /sdb4.img file. View the contents of the archives created in Exercises 2a, 2c, 2d, and 2e. Extract the contents of the archives created in Exercises 2a and 2c to the /root directory. Extract the contents of the archives created in…
- Using the image below, complete the linux/unix exercise. a. What is the single Linux command to copy img1.png into the img directory and name it carousel_img1.png ? b. Assuming you are in the web/ directory, what is the Linux command to make index.html read/write/executable for the owner, read/write for the group, and read only for the world? c. Assuming you are in the web/ directory, what is the Linux command to remove write permissions for the world from about.html ?Which filenames would be a subsequent ls command display?$ lsabc abd abe abf abg abh$ rm abc ab*rm: cannot remove ‘abc’ : No such file or directoryWrite the command that can be used to perform the following:a. Back up the contents of the /var directory (which contains symbolically linked files)to the second nonrewinding SCSI tape device on the system using the tar utility.b. Append the file /etc/inittab to the archive created in Exercise 3a.c. Create a tarball called /stuff.tar.gz that contains all files in the /root/stuff directory. d.Use the cpio utility to back up all files in the /var directory (which contains symbolicallylinked files) to the first rewinding IDE tape device that has a block size of5KB.e. Perform a full filesystem backup of the /var filesystem using the dump utility andrecord the event in the /etc/dumpdates file.f. View the contents of the archives created in Exercises 3a, c, d, and e.g. Extract the contents of the archives created in Exercises 3a and c to the /rootdirectory.h. Extract the contents of the archives created in Exercises 3d and e to their originallocations.
- 30 which command is used to modify password of user الاجابات pwd passwd useradd userdel ================== السؤال A file has permissions as rwx r-x r-x. A user other than the owner can execute the file. الاجابات True False ========================= When a process is in the ready state, its PCB is in which of the following states? الاجابات Loaded Saved Open CloseThe command chmod 317 file1 would produce which of the following lines in thels command?a. --w-r--rwx 1 user1 root 0 Apr 29 15:40 file1b. --wx--xrwx 1 user1 root 0 Apr 29 15:40 file1c. -rwxrw-r-x 1 user1 root 0 Apr 29 15:40 file1d. --w-rw-r-e 1 user1 root 0 Apr 29 15:40 file1Which of the following commands will change the user ownership and group ownershipof file1 to user1 and root, respectively?a. chown user1:root file1b. chown user1 : root file1c. This cannot be done because user and group ownership properties of a file must bemodified separately.d. chown root:user1file1e. chown root : user1file1
- What is wrong with the following command string: ls /etc/hosts>listofhostfile ?a. Nothing is wrong with the command.b. The file descriptor was not declared; unless 1 for standard output or 2 for standarderror is indicated, the command will fail.c. The ls command is one of the commands that cannot be used with redirection.You must use | to pipe instead.d. The file listofhostfile will always only contain standard error because a file descriptorwas not declared.السؤال Which command is used for removing/deleting files in UNIX? الاجابات rmdir rm cd cpWhat is wrong with the following Linux chmod command, given that file.txt exists in the current directory and the user is user1? > ls -l file.txt-rw-r--r--1 user1 group1 325 Dec 8 11:49 file.txt> chmod 684 file.txt