which command is used in vi to quit without saving changes? What do the 1 and s
ID: 3868421 • Letter: W
Question
which command is used in vi to quit without saving changes?
What do the 1 and s stand for in the following permission indicators?
1rwxrw-rw-
srwxrwxrwx
What permissions are applied in the following permission indicator?
-rwxrw-r--
What permissions would be granted to file after running the following?
chmod 631 file
Starting with permissions--------,write two different commands (one based on numbers, and one based on letters)to give permissions rw-r--r-x.
what would you expect to find in the exports configuration file?
write a command that will find all filenames that begin with file in the current user's home folder,and ask the user to display the contents to the screen?
which command is used to change the ownership of a file to another user, and who has the rights to do this?
write the command to copy a file to the parent directory of the current folder?
which key is used to return to the command mode from input mode in vi?
write two commands to find files in any user's home directory that includes the word"scrap" (even as part of another word ,for example"scrap", or with uppercase characters,for example "scrap") in the filename.
Explanation / Answer
which command is used in vi to quit without saving changes?
What do the 1 and s stand for in the following permission indicators?
1rwxrw-rw- sticky bit
srwxrwxrwx- Here 's' represents "setuid" bit, and it instructs OS to execute that program with the userid of its original owner.
What permissions are applied in the following permission indicator?
-rwxrw-r--
For the given permissions -rwxrw-r--
The first bit '-' representing it's a file. The next three bits 'rwx' reprents owner having all read,write and execute permissions. The next three bits'rw-' reprents groups having only read and write permissions.The next three bits'r--' reprents groups having only read permissions.
What permissions would be granted to file after running the following?
chmod 631 file
The file can get permissions as per 631 for owners it is 6 that means owners can read and write, for groups it is 3 that means groups can write and execute and for others it is '1' means they can execute.
Starting with permissions--------,write two different commands (one based on numbers, and one based on letters)to give permissions rw-r--r-x.?
Based on numbers: chmod 645 file.
what would you expect to find in the exports configuration file?
The exports file /etc/exports controls exported file systems to remote hosts and some perticular specified ways.
which command is used to change the ownership of a file to another user, and who has the rights to do this?
chown user:group file
which key is used to return to the command mode from input mode in vi?
Key : ESC
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.