Question

Which command can be used to change the owner of a particular file? (A) chuser (B)...

Which command can be used to change the owner of a particular file?

(A) chuser

(B) chgrp

(C) chmod

(D) chown

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Which command can be used to change the owner of a particular file?

ANSWER: (D) chown

chown is used to change the owner of a file.

command : sudo chown [new_owner name] [file/dir name]

we want see the owner name :

command: ls -l [file/dir name]

Remaining options:

chusr command is used to change the user name.

chgrp command is used to change the group name

chmod command is used to change the operations(read,write and execute) on files/directories.

Add a comment
Know the answer?
Add Answer to:
Which command can be used to change the owner of a particular file? (A) chuser (B)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • If possible, please answer all 4 questions. Thanks! :) 24. What command can be used to...

    If possible, please answer all 4 questions. Thanks! :) 24. What command can be used to show disk usage by file system? a. du b. df c. mount d. repquota 26. What command can you use to modify the grace period for quota soft limits? 27. What command would you use to check a ReiserFS file system for errors? a. fsckreiser b. reiserfsck c. reiserfs -check d. reiserfs --check 28. You cannot unmount a filesystem that you had previously mounted...

  • Which command used to verify port security can be used to determine if the port has...

    Which command used to verify port security can be used to determine if the port has been disabled by a port security violation? A. show running-config B. show port-security violations C. show port-security interface interface# D. debug mac-address table

  • Open Command Prompt typing CMD command in your Search window. Change the directory from current to...

    Open Command Prompt typing CMD command in your Search window. Change the directory from current to root (C:). Make a new directory called CIS165_Your Last Name (example: CIS165_Nossa). Within this directory, make subdirectories called Can1 and Can2. Verify the created directory and subdirectories using particular command. Under Can1 subdirectory creates three files called Jam.txt, Milk.txt and Juice.txt. Verify that you created these files using particular command. Move Jam.txt file from the Can1 subdirectory to the Can2 folder. Compare using special...

  • used Linss file systems d FAT nd NTFS NTFS and est3 h ReiserFS and ext3 15....

    used Linss file systems d FAT nd NTFS NTFS and est3 h ReiserFS and ext3 15. A fie a hem ppicaly you might possibly sreae entries for all the ie than enongheir that file sy stemtains ore than enough 16. To create a syesbolic link, use the a. In command h In command with the -s optiorn d. symlink command You can learn numerous details about any file using the 17 s brip2 and buenion etitities in Linux? d. gzip...

  • Which command(s) can be used to view VLAN membership for all VLANs on the switch? A....

    Which command(s) can be used to view VLAN membership for all VLANs on the switch? A. show vlan brief B. show membership vlan C. show running-config D. None of the above

  • Unix and C 1) Which of the following command(s) can be used to check if the...

    Unix and C 1) Which of the following command(s) can be used to check if the string "aabbcc" matches a pattern described by regex "aa.*" or not? (a) expr "aabbcc": 'aa.*" (b) echo "aabbccegrep 'aa.*' (c) expr match "aabbcc" 'aa.*" (d) egrep 'aa.*"< END aabbcc END 2) Which of the following is legal directives in C? (a) #include<stdio.h> (b) #include <stdio.h> (c) #include stdio.h (d) include stdio.h 3) If c is a variable of type char and i is a...

  • Part 3. Self Test 3 from the textbook 1) When you enter following command, what happens...

    Part 3. Self Test 3 from the textbook 1) When you enter following command, what happens and why? S catdog 2) What results from the following commands? A) S who | grep SUSER B) 5 grep \SHOME filel C) $ echo >> filel D) S echo '* >> filel E) S ps F) S. files G) S set noclobber H) S set -o 1) $ chmod +x file2 3) How can we change the prompt to be Next? in both...

  • 2. Write the command that can be used to perform the following: a. Compress the symbolic...

    2. Write the command that can be used to perform the following: a. Compress the symbolic link /root/sfile using the compress utility and display the compression ratio. b. Compress the contents of the directory /root/dir1 using the gzip utility and display the compression ratio. c. Decompress the file /root/letter.bz2. d. Compress the file /root/letter using gzip fast compression. Find the compression ratio of the file /root/letter.gz. f. Perform a test compression of the file /root/sample using the bzip2 utility. g....

  • 20. Write the DOS command to erase a file named FILEBILL which is stored in the...

    20. Write the DOS command to erase a file named FILEBILL which is stored in the sub-directory named MYFILES located at the root of drive C. 21. Write the DOS command to return you to the root of drive C if your current directory is C:\TEACHING OPSYS\SUMM 22. Write the DOS command to erase all the files on drive A. 23. Write the DOS command to delete a subdirectory named DIRFRED which is located at the root of drive C....

  • The current permissions for a file called SHARE are as follows: -rwx---r--     What are the...

    The current permissions for a file called SHARE are as follows: -rwx---r--     What are the resulting permissions after this command is entered? chmod og+x SHARE (A) –--x--xr-- (B) –rwx--xr-x (C) –rwx---r-- (D) –rwx—-x--x

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT