SlideShare a Scribd company logo
1 of 1
Unix
a. Use a pipe and the grep command to show only the files in the /bin directory that begin with
mk
b. modify the command below so that the error message will be suppressed (i.e. have the
command display the files that exist, but not the error message for the non-existent file)
ls /bin/true /bin/false /bin/maybe
Explaination of b: Running the command displays following message: "ls: cannot access
/bin/maybe: No such file or directory". Modify it to make it supress that message.

More Related Content

More from JamesZ96Nashl

True or False- Based on the shapes of the graphs below- there is varia.docx
True or False- Based on the shapes of the graphs below- there is varia.docxTrue or False- Based on the shapes of the graphs below- there is varia.docx
True or False- Based on the shapes of the graphs below- there is varia.docx
JamesZ96Nashl
 
Transitioning to land included what modifications to gills- Enlarging.docx
Transitioning to land included what modifications to gills- Enlarging.docxTransitioning to land included what modifications to gills- Enlarging.docx
Transitioning to land included what modifications to gills- Enlarging.docx
JamesZ96Nashl
 

More from JamesZ96Nashl (20)

Use induction to show that- for any integer n1 - i-1nii!-(n+1)!1.docx
Use induction to show that- for any integer n1 - i-1nii!-(n+1)!1.docxUse induction to show that- for any integer n1 - i-1nii!-(n+1)!1.docx
Use induction to show that- for any integer n1 - i-1nii!-(n+1)!1.docx
 
Use induction to show that n!-2n for all integers n4-.docx
Use induction to show that n!-2n for all integers n4-.docxUse induction to show that n!-2n for all integers n4-.docx
Use induction to show that n!-2n for all integers n4-.docx
 
Use Figure 2a to answer questions 69- Assume Stars A and B are the sam.docx
Use Figure 2a to answer questions 69- Assume Stars A and B are the sam.docxUse Figure 2a to answer questions 69- Assume Stars A and B are the sam.docx
Use Figure 2a to answer questions 69- Assume Stars A and B are the sam.docx
 
Use appropriate SFR and a Modifier to configure bits 2 and 12 of port.docx
Use appropriate SFR and a Modifier to configure bits 2 and 12 of port.docxUse appropriate SFR and a Modifier to configure bits 2 and 12 of port.docx
Use appropriate SFR and a Modifier to configure bits 2 and 12 of port.docx
 
urrent Attempt in Progress Companies that use GAAP do not have any gui.docx
urrent Attempt in Progress Companies that use GAAP do not have any gui.docxurrent Attempt in Progress Companies that use GAAP do not have any gui.docx
urrent Attempt in Progress Companies that use GAAP do not have any gui.docx
 
Unilever's branding of Dove (with Dove Facewash- Dove Bodywash- Dove e.docx
Unilever's branding of Dove (with Dove Facewash- Dove Bodywash- Dove e.docxUnilever's branding of Dove (with Dove Facewash- Dove Bodywash- Dove e.docx
Unilever's branding of Dove (with Dove Facewash- Dove Bodywash- Dove e.docx
 
uestion 2 Audrey woked a part time iot during colege to help pay lor v.docx
uestion 2 Audrey woked a part time iot during colege to help pay lor v.docxuestion 2 Audrey woked a part time iot during colege to help pay lor v.docx
uestion 2 Audrey woked a part time iot during colege to help pay lor v.docx
 
Types of Audit Evidence Auditors must gather a combination of many typ.docx
Types of Audit Evidence Auditors must gather a combination of many typ.docxTypes of Audit Evidence Auditors must gather a combination of many typ.docx
Types of Audit Evidence Auditors must gather a combination of many typ.docx
 
Type of disability which is AUTISM SPECTRUM DISORDER (ASD) and describ.docx
Type of disability which is AUTISM SPECTRUM DISORDER (ASD) and describ.docxType of disability which is AUTISM SPECTRUM DISORDER (ASD) and describ.docx
Type of disability which is AUTISM SPECTRUM DISORDER (ASD) and describ.docx
 
Tutorial Questions- Week 3 1- Explain what is meant by the term organi.docx
Tutorial Questions- Week 3 1- Explain what is meant by the term organi.docxTutorial Questions- Week 3 1- Explain what is meant by the term organi.docx
Tutorial Questions- Week 3 1- Explain what is meant by the term organi.docx
 
True or False- Based on the shapes of the graphs below- there is varia.docx
True or False- Based on the shapes of the graphs below- there is varia.docxTrue or False- Based on the shapes of the graphs below- there is varia.docx
True or False- Based on the shapes of the graphs below- there is varia.docx
 
To which of the following investments MUST equity accounting be applie.docx
To which of the following investments MUST equity accounting be applie.docxTo which of the following investments MUST equity accounting be applie.docx
To which of the following investments MUST equity accounting be applie.docx
 
True of False- all SCIS are created equally- Question 11 options- Ques.docx
True of False- all SCIS are created equally- Question 11 options- Ques.docxTrue of False- all SCIS are created equally- Question 11 options- Ques.docx
True of False- all SCIS are created equally- Question 11 options- Ques.docx
 
Time reversal- Let (Bt-t0) be a Brownian motion- Show that the process.docx
Time reversal- Let (Bt-t0) be a Brownian motion- Show that the process.docxTime reversal- Let (Bt-t0) be a Brownian motion- Show that the process.docx
Time reversal- Let (Bt-t0) be a Brownian motion- Show that the process.docx
 
Transitioning to land included what modifications to gills- Enlarging.docx
Transitioning to land included what modifications to gills- Enlarging.docxTransitioning to land included what modifications to gills- Enlarging.docx
Transitioning to land included what modifications to gills- Enlarging.docx
 
Three fair dice are rolled- Let the random variable X represent the su.docx
Three fair dice are rolled- Let the random variable X represent the su.docxThree fair dice are rolled- Let the random variable X represent the su.docx
Three fair dice are rolled- Let the random variable X represent the su.docx
 
Tnix Company's ledger on July 31- its fiscal year-end- includes the fo.docx
Tnix Company's ledger on July 31- its fiscal year-end- includes the fo.docxTnix Company's ledger on July 31- its fiscal year-end- includes the fo.docx
Tnix Company's ledger on July 31- its fiscal year-end- includes the fo.docx
 
This week- share with us important or interesting art where you live--.docx
This week- share with us important or interesting art where you live--.docxThis week- share with us important or interesting art where you live--.docx
This week- share with us important or interesting art where you live--.docx
 
Three different methods of teaching English are used on three group of (1).docx
Three different methods of teaching English are used on three group of (1).docxThree different methods of teaching English are used on three group of (1).docx
Three different methods of teaching English are used on three group of (1).docx
 
This week- we discuss Spotted Fevers and Typhus (Rickettsia) What are.docx
This week- we discuss Spotted Fevers and Typhus (Rickettsia)  What are.docxThis week- we discuss Spotted Fevers and Typhus (Rickettsia)  What are.docx
This week- we discuss Spotted Fevers and Typhus (Rickettsia) What are.docx
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Unix a- Use a pipe and the grep command to show only the files in the.docx

  • 1. Unix a. Use a pipe and the grep command to show only the files in the /bin directory that begin with mk b. modify the command below so that the error message will be suppressed (i.e. have the command display the files that exist, but not the error message for the non-existent file) ls /bin/true /bin/false /bin/maybe Explaination of b: Running the command displays following message: "ls: cannot access /bin/maybe: No such file or directory". Modify it to make it supress that message.