MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When we create a file, we are the owner of a file.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -When we create a file, we are the owner of a file. Explanation: In most cases, the user which creates the file is regarded as owner of the file. The owner of the file can create, delete or edit the file or he can change the permissions associated with it.

Detailed explanation-2: -Every file in Unix is assigned a user. This user: is the owner of the file. has permission to change the group and mode of the file.

Detailed explanation-3: -Explanation: As cat command is also used to create files, so if we want to create a file with the same filename which already exists in the directory then the existing file will be overwritten. 6.

Detailed explanation-4: -Linux User A user is the default owner and creator of the file.

Detailed explanation-5: -File Permissions. All the three owners (user owner, group, others) in the Linux system have three types of permissions defined. Nine characters denotes the three types of permissions. Read (r) : The read permission allows you to open and read the content of a file.

There is 1 question to complete.