SlideShare a Scribd company logo
1 of 1
Download to read offline
You have a script called ~/hello.sh in your home directory. Write a command to give yourself the
permissions to execute the file ~/hello.sh, without changing the existing permissions of ‘others’
Solution
in unix
use the below command
you can also use commands with some variation i am including them in a table below
The first and probably easiest way is the relative (or symbolic) method, which lets you specify
access classes and types with single letter abbreviations. A chmod command with this form of
syntax consists of at least three parts from the following lists:Access ClassOperatorAccess
Typeu (user)+ (add access)r (read)g (group)- (remove access)w (write)o (other)= (set exact
access)

More Related Content

More from vikasbajajhissar

Why did eagle populations decline in the 1960s Why do eagles cong.pdf
Why did eagle populations decline in the 1960s  Why do eagles cong.pdfWhy did eagle populations decline in the 1960s  Why do eagles cong.pdf
Why did eagle populations decline in the 1960s Why do eagles cong.pdf
vikasbajajhissar
 
What does it mean for something to be a dynamical system What is .pdf
What does it mean for something to be a dynamical system What is .pdfWhat does it mean for something to be a dynamical system What is .pdf
What does it mean for something to be a dynamical system What is .pdf
vikasbajajhissar
 
The origins of multiple sclerosis are not clear. What do scientist.pdf
The origins of multiple sclerosis are not clear. What do scientist.pdfThe origins of multiple sclerosis are not clear. What do scientist.pdf
The origins of multiple sclerosis are not clear. What do scientist.pdf
vikasbajajhissar
 
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdfThe multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
vikasbajajhissar
 
Please answer the followingDescribe the two functions of loading .pdf
Please answer the followingDescribe the two functions of loading .pdfPlease answer the followingDescribe the two functions of loading .pdf
Please answer the followingDescribe the two functions of loading .pdf
vikasbajajhissar
 

More from vikasbajajhissar (20)

A TATA box and a terminator sequence would apply to what part of the.pdf
A TATA box and a terminator sequence would apply to what part of the.pdfA TATA box and a terminator sequence would apply to what part of the.pdf
A TATA box and a terminator sequence would apply to what part of the.pdf
 
A typical American 15 year old boy weighed 135.5 in 1966 and 150 in .pdf
A typical American 15 year old boy weighed 135.5 in 1966 and 150 in .pdfA typical American 15 year old boy weighed 135.5 in 1966 and 150 in .pdf
A typical American 15 year old boy weighed 135.5 in 1966 and 150 in .pdf
 
A comb function x(t) = comb_2 (t) is the input to a lowpass filter wi.pdf
A comb function x(t) = comb_2 (t) is the input to a lowpass filter wi.pdfA comb function x(t) = comb_2 (t) is the input to a lowpass filter wi.pdf
A comb function x(t) = comb_2 (t) is the input to a lowpass filter wi.pdf
 
You are using the Recovery Console to repair a damaged Windows XP ma.pdf
You are using the Recovery Console to repair a damaged Windows XP ma.pdfYou are using the Recovery Console to repair a damaged Windows XP ma.pdf
You are using the Recovery Console to repair a damaged Windows XP ma.pdf
 
Which processes directly result in a gene being expressed as a prote.pdf
Which processes directly result in a gene being expressed as a prote.pdfWhich processes directly result in a gene being expressed as a prote.pdf
Which processes directly result in a gene being expressed as a prote.pdf
 
Which of the following statements would more likely be an ethical ego.pdf
Which of the following statements would more likely be an ethical ego.pdfWhich of the following statements would more likely be an ethical ego.pdf
Which of the following statements would more likely be an ethical ego.pdf
 
Why did eagle populations decline in the 1960s Why do eagles cong.pdf
Why did eagle populations decline in the 1960s  Why do eagles cong.pdfWhy did eagle populations decline in the 1960s  Why do eagles cong.pdf
Why did eagle populations decline in the 1960s Why do eagles cong.pdf
 
why can isolated colonies from a mixed culture be used to create a p.pdf
why can isolated colonies from a mixed culture be used to create a p.pdfwhy can isolated colonies from a mixed culture be used to create a p.pdf
why can isolated colonies from a mixed culture be used to create a p.pdf
 
Which of the following is an example of an intensive property Mass .pdf
Which of the following is an example of an intensive property  Mass .pdfWhich of the following is an example of an intensive property  Mass .pdf
Which of the following is an example of an intensive property Mass .pdf
 
What does it mean for something to be a dynamical system What is .pdf
What does it mean for something to be a dynamical system What is .pdfWhat does it mean for something to be a dynamical system What is .pdf
What does it mean for something to be a dynamical system What is .pdf
 
What role does the Sarbanes Oxley Act of 2002 play in the financial .pdf
What role does the Sarbanes Oxley Act of 2002 play in the financial .pdfWhat role does the Sarbanes Oxley Act of 2002 play in the financial .pdf
What role does the Sarbanes Oxley Act of 2002 play in the financial .pdf
 
What is a prime polynomial Give an example.SolutionPrime poly.pdf
What is a prime polynomial Give an example.SolutionPrime poly.pdfWhat is a prime polynomial Give an example.SolutionPrime poly.pdf
What is a prime polynomial Give an example.SolutionPrime poly.pdf
 
What is the shell called that interacts to form chemical bonds What .pdf
What is the shell called that interacts to form chemical bonds What .pdfWhat is the shell called that interacts to form chemical bonds What .pdf
What is the shell called that interacts to form chemical bonds What .pdf
 
What do you see as a problem with classifying an object as the earl.pdf
What do you see as a problem with classifying an object as the earl.pdfWhat do you see as a problem with classifying an object as the earl.pdf
What do you see as a problem with classifying an object as the earl.pdf
 
To find the polynomial function, assume that the constant is 1. Multi.pdf
To find the polynomial function, assume that the constant is 1. Multi.pdfTo find the polynomial function, assume that the constant is 1. Multi.pdf
To find the polynomial function, assume that the constant is 1. Multi.pdf
 
The origins of multiple sclerosis are not clear. What do scientist.pdf
The origins of multiple sclerosis are not clear. What do scientist.pdfThe origins of multiple sclerosis are not clear. What do scientist.pdf
The origins of multiple sclerosis are not clear. What do scientist.pdf
 
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdfThe multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
The multicellular gametophytes of mosses are haploid.TrueFalse2.Whic.pdf
 
Residual properties are also known asExtensive propertiesSolutio.pdf
Residual properties are also known asExtensive propertiesSolutio.pdfResidual properties are also known asExtensive propertiesSolutio.pdf
Residual properties are also known asExtensive propertiesSolutio.pdf
 
pathology!@ which of the following is among the risk factors (contri.pdf
pathology!@ which of the following is among the risk factors (contri.pdfpathology!@ which of the following is among the risk factors (contri.pdf
pathology!@ which of the following is among the risk factors (contri.pdf
 
Please answer the followingDescribe the two functions of loading .pdf
Please answer the followingDescribe the two functions of loading .pdfPlease answer the followingDescribe the two functions of loading .pdf
Please answer the followingDescribe the two functions of loading .pdf
 

Recently uploaded

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 

You have a script called ~hello.sh in your home directory. Write a .pdf

  • 1. You have a script called ~/hello.sh in your home directory. Write a command to give yourself the permissions to execute the file ~/hello.sh, without changing the existing permissions of ‘others’ Solution in unix use the below command you can also use commands with some variation i am including them in a table below The first and probably easiest way is the relative (or symbolic) method, which lets you specify access classes and types with single letter abbreviations. A chmod command with this form of syntax consists of at least three parts from the following lists:Access ClassOperatorAccess Typeu (user)+ (add access)r (read)g (group)- (remove access)w (write)o (other)= (set exact access)