Which command can be used to change the owner of a particular file?
(A) chuser
(B) chgrp
(C) chmod
(D) chown
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.
Which command can be used to change the owner of a particular file? (A) chuser (B)...
A file named "homework" had the following permissions: -rw-r--r-- Which command could have been typed to change the permissions to this: -r--r----- chmod 440 homework chmod a-r homework chomd g-r homework chmod 465 homework
Hi im trying too do my Linux homework and I'm stuck on some questions 1. Using the utility chmod, permissions can be set on the owner, group, or others (aka "the world" or "everyone else"). True or False 2. Changing the permissions on the script file someScriptFile.sh to be write and read only will allow you to execute it (if it is a valid shell script with no errors) using ./someScriptFile.sh True or False 3. To set the permissions for...
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 of the following command will allow your group members have "write" permission on Assign1.c? chmod 700 Assign1.c chmod 555 Assign2.c chmod 654 Assign1.c chmod 764 Assign1.c
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
1. We can "download" a Unix command and the results from that command into a file on our local computer using copy and paste using a word processor such as Word, and then open the Unix Window using the download command 2. When a user is logged on to their account on hills on more than one computer at the same time, which command can display a list of these sessions? whoami kill history ps 3. When your session on...
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...
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...
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 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...