Concept explainers
The “Persmission” defines what a user or group can do to an object such as a file or folder.
Explanation of Solution
Permission:
Computer holds many files and folders. Each file and folder has an authorized creator and user. Not all users are allowed to access files, folders, and contents in files and folders. For every object in files and folders, there are different properties.
Permission is one of the properties of object. Only the users who have privilege can use and perform some actions. If read only permission is given to user, then user is allowed only to read the contents of file but would not allowed to edit or change contents of file or folder.
File creator or network administrator or system admin defines the file and folder permissions. If a word file is given (read/write) permission, then user can read and update contents of file and save the file.
Want to see more full solutions like this?
Chapter 2 Solutions
SURVEY OF OPERATING SYSTEMS
- (Linux) Your task is to write a script called process_files that will accept from the user as command line arguments a series of 3 strings representing file types. You must then create 4 directories – one for each file type and one for any files that do not match any of the file types - and separate the files into these new directories then return some information about these files to the user. For example if the user types process_files jpg gif docx Your script will sort the jpg/jpeg, gif and doc/docx files into their appropriate directoriesarrow_forwardMatch each of the following terms to its meaning:I. HFS+II. FATIII. NTFSIV. APIV. GUIA. file system used by older versions of WindowsB. file system used on new Windows hard disksC. operating system component with which users interactD. allows an application to request a service from the operating systemE. file system used by OS Xarrow_forwardPresnt a makefile to build an exceuetable myProg from the source files myProg.c func1.c, func2.c, func3.c func4.c and a libary functions located at /usr/proj/lib/crtn.a. present special characters used by theri names( Example write TAB where tab is used in the script)arrow_forward
- Simple SHELL (.sh) script Write a SHELL script (minExF.sh) that takes a csv file ("Comma Separated Values", a text file that can be manipulated by Excel) as an argument containing the grades of the mid-term (called intra) exams with the passing thresholds and calculates the minimum grades that must be obtained in the Final exam by adding them as a column to the initial information in the output file. Note: To manipulate large integers and real numbers use the Unix command bc . Here is an example of how to use of this command to add two non-integer numbers stored in the variables VAR1 and VAR2 : VAR1=5.5VAR2=3.14159RESULT='echo $VAR1+$VAR2 | bc'echo $RESULT The result displayed on the screen will be 8.64159. The first line contains titles (mid-terms, weight mid-term, weight final, treshold). The following lines contain information about the Intra (mid-term) exam scores, exam weights and weighting of the exams and the cut-off points for the two exams, Intra (mid-term) and Final.arrow_forwardLinux Homework Please show console output 1: Please create a script that prints “Hello, your name.” 2: Please create a directory call it yourname_bin, and add it to PATH. Then move the script “Hello, your name” to yourname_bin. Then run it from your root directory. 3: Add a new command called ‘a’ which will perform exact same as ‘ls -a’. 4: Create a function call it yournamesortFile, which will sort all filenames of current directory. 5: Please make your own page using shell script, print following as your page. <html> <head> <title> YourName System Information </title> </head> <body> <h1>YourNameSystem Information</h1> </body> </html> 6: Add one variable in the example, name the variable as greeting, which displays “Hello, my name is your name” in the body using variable greeting. 7: Add one…arrow_forwardWhat is the function of a file extension? Determine three file extensions and the programme that developed them for three files in a random folder on your computer. After right-clicking and choosing properties on a file (in the Microsoft Windows environment), most file extensions should be accessible.arrow_forward
- Computer Science Create a user named new-user. Ensure this user has a home directory at the default location of /home/new-user and uses the default shell /bin/bash in linx mintarrow_forwardWhat is a computer file? What it means by file format? What is the file extension used for? Given the following files, what each file extension means? a) Game1.exe b) Accounting.hlp c) Resume.doc d) Mypage.htmlarrow_forwardYou will be asked to create a script that either take input directly from the user or have it passed into the program. The program will consist of a case statement that will accomplish the following: 1) Start an application. a. This app simply needs to a running loop until some event has occurred. Meaning that the program will merely sit there waiting to be stopped. b. You must create a file that contains the application name (file name) and the PID (inside of the text file) 2) Stop an application a. This will effectively terminate the application that you created. This must be done by finding the PID from the processes that are still running. 3) Status of the application a. This portion will need check for the existence of the application if it is running. You must give a status by statement indicating if it up or down along with: i. The PID ii. The PPID iii. How long the application has been running 4) Exit a. Program must remove the PID file…arrow_forward
- Dont use answers from other websites please! MIPS source programs and the screenshots of your MARS execution windows. Name: .asciiz "James Bond!"Age: .byte 24Numbers: .word 11, 22, 33Letter1: .asciiz 'M' 2. Create the data declaration part of the above by creating a file with MARS and assemble it to show the memory contents. You don't have to have .text part since this is just data declaration only. Capture your screen of MARS execution window by checking "ASCII" option of Data Segment part.arrow_forwardPlease use JAVA Create a menu-driven script that will let your user choose among the following: A: List the files in your current working directoryB: Display the calendar this monthC: Display the date todayD: Display the current working directoryE: Exit The script will not stop asking the user to choose [A-D] not unless the user decided to exit [E].arrow_forwardUnix Question: Only some of the EMACS code is complete. Observe the comments to complete the EMACS code. The program enables you to document payroll information: Surname Forename Sector How many hours worked The code writes the information into a file named “measurecard” The user is asked to attach another “s” (for sure) or “l” to leave Please see the EMACS code below: # ================================================================== # Script Name: Measurecard # By: Anonymous # Date: April 26, 2022 # # Command Line: measurecard # ==================================================================measurefile=measurefilebendtrial="s"attachanother = “s”while [ $bendtrial = s ]do###### empty the mesh### tput cup 1 4; echo "Workers' Worktime" tput cup 2 4; echo "==============================" tput cup 4 4; echo "Type l to leave or s to attach: " tput cup 5 4; echo "Surname : "###### tput cup Forename: ### tput cup "Sector Number: "### tput cup "Hours…arrow_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,