SlideShare a Scribd company logo
1. (1) Use the command to display the contents of a file one page at a time.
Solution
1.
The more command is a pager function used to view text in the visual display unit window one
page or screen at a time
Syntax : $ more file_name
For example:
If we want to see the content of syslog file located in log directory ie, /var/log/directory we use
$more /var/log/syslog
2.
Since ‘.’ Refers to the home directory the command used is
./hello.sh
Or
By giving the execute permissions to the script
chmod +x /path/to/hello.sh
and to run command is /path/to/hello.sh

More Related Content

More from alvisguyjhiy

Background(Need help with problem in photo)Methanol is produced.pdf
Background(Need help with problem in photo)Methanol is produced.pdfBackground(Need help with problem in photo)Methanol is produced.pdf
Background(Need help with problem in photo)Methanol is produced.pdf
alvisguyjhiy
 
write a task statement from the list below1. organise and maintain.pdf
write a task statement from the list below1. organise and maintain.pdfwrite a task statement from the list below1. organise and maintain.pdf
write a task statement from the list below1. organise and maintain.pdf
alvisguyjhiy
 
Why is it so important that the CPU be allowed to do other tasks whil.pdf
Why is it so important that the CPU be allowed to do other tasks whil.pdfWhy is it so important that the CPU be allowed to do other tasks whil.pdf
Why is it so important that the CPU be allowed to do other tasks whil.pdf
alvisguyjhiy
 
What test do I use when checking for significance between two variab.pdf
What test do I use when checking for significance between two variab.pdfWhat test do I use when checking for significance between two variab.pdf
What test do I use when checking for significance between two variab.pdf
alvisguyjhiy
 
What is the very beginning of an frame called Header Data Tr.pdf
What is the very beginning of an  frame called  Header  Data  Tr.pdfWhat is the very beginning of an  frame called  Header  Data  Tr.pdf
What is the very beginning of an frame called Header Data Tr.pdf
alvisguyjhiy
 
6. What types of epithelia would be suited for the following functio.pdf
6. What types of epithelia would be suited for the following functio.pdf6. What types of epithelia would be suited for the following functio.pdf
6. What types of epithelia would be suited for the following functio.pdf
alvisguyjhiy
 
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdfWhat is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
alvisguyjhiy
 
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
alvisguyjhiy
 
Short questions The access time of memory is the time required for p.pdf
Short questions The access time of memory is the time required for p.pdfShort questions The access time of memory is the time required for p.pdf
Short questions The access time of memory is the time required for p.pdf
alvisguyjhiy
 
Red-green color blindness is a human X-linked recessive disorder. A y.pdf
Red-green color blindness is a human X-linked recessive disorder. A y.pdfRed-green color blindness is a human X-linked recessive disorder. A y.pdf
Red-green color blindness is a human X-linked recessive disorder. A y.pdf
alvisguyjhiy
 
Question 1- what secondary storage devices are appropriate ... Save.pdf
Question 1- what secondary storage devices are appropriate ... Save.pdfQuestion 1- what secondary storage devices are appropriate ... Save.pdf
Question 1- what secondary storage devices are appropriate ... Save.pdf
alvisguyjhiy
 
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdf
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdfMnemonics are useful memory aids. Construct a mnemonic for the five .pdf
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdf
alvisguyjhiy
 
Internet sites often vanish or move, so that references to them can.pdf
Internet sites often vanish or move, so that references to them can.pdfInternet sites often vanish or move, so that references to them can.pdf
Internet sites often vanish or move, so that references to them can.pdf
alvisguyjhiy
 
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdfKing Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
alvisguyjhiy
 
LIST the the advantages and disadvantages of using zebrafish to iden.pdf
LIST the the advantages and disadvantages of using zebrafish to iden.pdfLIST the the advantages and disadvantages of using zebrafish to iden.pdf
LIST the the advantages and disadvantages of using zebrafish to iden.pdf
alvisguyjhiy
 
In C please! Struct node {int value; struct node next;}; Write the.pdf
In C please! Struct node {int value; struct node next;};  Write the.pdfIn C please! Struct node {int value; struct node next;};  Write the.pdf
In C please! Struct node {int value; struct node next;}; Write the.pdf
alvisguyjhiy
 
1 What is Software Development Life Cycle2 What is the role of QA.pdf
1 What is Software Development Life Cycle2 What is the role of QA.pdf1 What is Software Development Life Cycle2 What is the role of QA.pdf
1 What is Software Development Life Cycle2 What is the role of QA.pdf
alvisguyjhiy
 

More from alvisguyjhiy (17)

Background(Need help with problem in photo)Methanol is produced.pdf
Background(Need help with problem in photo)Methanol is produced.pdfBackground(Need help with problem in photo)Methanol is produced.pdf
Background(Need help with problem in photo)Methanol is produced.pdf
 
write a task statement from the list below1. organise and maintain.pdf
write a task statement from the list below1. organise and maintain.pdfwrite a task statement from the list below1. organise and maintain.pdf
write a task statement from the list below1. organise and maintain.pdf
 
Why is it so important that the CPU be allowed to do other tasks whil.pdf
Why is it so important that the CPU be allowed to do other tasks whil.pdfWhy is it so important that the CPU be allowed to do other tasks whil.pdf
Why is it so important that the CPU be allowed to do other tasks whil.pdf
 
What test do I use when checking for significance between two variab.pdf
What test do I use when checking for significance between two variab.pdfWhat test do I use when checking for significance between two variab.pdf
What test do I use when checking for significance between two variab.pdf
 
What is the very beginning of an frame called Header Data Tr.pdf
What is the very beginning of an  frame called  Header  Data  Tr.pdfWhat is the very beginning of an  frame called  Header  Data  Tr.pdf
What is the very beginning of an frame called Header Data Tr.pdf
 
6. What types of epithelia would be suited for the following functio.pdf
6. What types of epithelia would be suited for the following functio.pdf6. What types of epithelia would be suited for the following functio.pdf
6. What types of epithelia would be suited for the following functio.pdf
 
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdfWhat is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
What is an autotrophic bacteriumSolutionAutotrophic Bacteria.pdf
 
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
1. mtDNA-associated Leigh syndrome affects the brain of afflicted in.pdf
 
Short questions The access time of memory is the time required for p.pdf
Short questions The access time of memory is the time required for p.pdfShort questions The access time of memory is the time required for p.pdf
Short questions The access time of memory is the time required for p.pdf
 
Red-green color blindness is a human X-linked recessive disorder. A y.pdf
Red-green color blindness is a human X-linked recessive disorder. A y.pdfRed-green color blindness is a human X-linked recessive disorder. A y.pdf
Red-green color blindness is a human X-linked recessive disorder. A y.pdf
 
Question 1- what secondary storage devices are appropriate ... Save.pdf
Question 1- what secondary storage devices are appropriate ... Save.pdfQuestion 1- what secondary storage devices are appropriate ... Save.pdf
Question 1- what secondary storage devices are appropriate ... Save.pdf
 
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdf
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdfMnemonics are useful memory aids. Construct a mnemonic for the five .pdf
Mnemonics are useful memory aids. Construct a mnemonic for the five .pdf
 
Internet sites often vanish or move, so that references to them can.pdf
Internet sites often vanish or move, so that references to them can.pdfInternet sites often vanish or move, so that references to them can.pdf
Internet sites often vanish or move, so that references to them can.pdf
 
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdfKing Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
King Charles II of Spain (he was part of the Hapsburg Dynasty; pictu.pdf
 
LIST the the advantages and disadvantages of using zebrafish to iden.pdf
LIST the the advantages and disadvantages of using zebrafish to iden.pdfLIST the the advantages and disadvantages of using zebrafish to iden.pdf
LIST the the advantages and disadvantages of using zebrafish to iden.pdf
 
In C please! Struct node {int value; struct node next;}; Write the.pdf
In C please! Struct node {int value; struct node next;};  Write the.pdfIn C please! Struct node {int value; struct node next;};  Write the.pdf
In C please! Struct node {int value; struct node next;}; Write the.pdf
 
1 What is Software Development Life Cycle2 What is the role of QA.pdf
1 What is Software Development Life Cycle2 What is the role of QA.pdf1 What is Software Development Life Cycle2 What is the role of QA.pdf
1 What is Software Development Life Cycle2 What is the role of QA.pdf
 

Recently uploaded

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

1. (1) Use the command to display the contents of a file one page at.pdf

  • 1. 1. (1) Use the command to display the contents of a file one page at a time. Solution 1. The more command is a pager function used to view text in the visual display unit window one page or screen at a time Syntax : $ more file_name For example: If we want to see the content of syslog file located in log directory ie, /var/log/directory we use $more /var/log/syslog 2. Since ‘.’ Refers to the home directory the command used is ./hello.sh Or By giving the execute permissions to the script chmod +x /path/to/hello.sh and to run command is /path/to/hello.sh