SlideShare a Scribd company logo
1 of 1
Download to read offline
Linux:
Create a menu driven interface using the cup and tput commands.
Use the code given in phoneapp (located under Week 6/ Lab Work) for the menu interface for the
Phone Directory application.
Create a new directory called source under your home directory. Create a file inside this source
directory called corp_phones. This corp_phones file will store the phone number records for your
phone application.
Create three shell scripts named phoneadd, phlist, phonefind inside the source directory
phoneadd script able to add a new phone number to the corp_phones file
phlist script should list all the phone numbers stored in the corp_phones file
phonefind script should accept a name as argument and show the phone number for that name.

More Related Content

More from aakarcreations1

Consider the following events X student gets an B+ on pap.pdf
Consider the following events X  student gets an B+ on pap.pdfConsider the following events X  student gets an B+ on pap.pdf
Consider the following events X student gets an B+ on pap.pdfaakarcreations1
 
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdf
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdfBir rnn hizmetin veya markann tketicilerin zihnindeki i.pdf
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdfaakarcreations1
 
Why am I getting an out of memory error and no window of my .pdf
Why am I getting an out of memory error and no window of my .pdfWhy am I getting an out of memory error and no window of my .pdf
Why am I getting an out of memory error and no window of my .pdfaakarcreations1
 
Using Table 111 calculate the compound amount and compound.pdf
Using Table 111 calculate the compound amount and compound.pdfUsing Table 111 calculate the compound amount and compound.pdf
Using Table 111 calculate the compound amount and compound.pdfaakarcreations1
 
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdf
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdfUzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdf
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdfaakarcreations1
 
New Archaeologists made great strides forward in their appro.pdf
New Archaeologists made great strides forward in their appro.pdfNew Archaeologists made great strides forward in their appro.pdf
New Archaeologists made great strides forward in their appro.pdfaakarcreations1
 
Un paciente VIH positivo ingres con lesiones cutneas en t.pdf
Un paciente VIH positivo ingres con lesiones cutneas en t.pdfUn paciente VIH positivo ingres con lesiones cutneas en t.pdf
Un paciente VIH positivo ingres con lesiones cutneas en t.pdfaakarcreations1
 
True or falseChina was struck with serious and significant .pdf
True or falseChina was struck with serious and significant .pdfTrue or falseChina was struck with serious and significant .pdf
True or falseChina was struck with serious and significant .pdfaakarcreations1
 
Tketim Biyografi Girii 2 Dikkat Her gn mesaj bombardmann.pdf
Tketim Biyografi Girii 2  Dikkat Her gn mesaj bombardmann.pdfTketim Biyografi Girii 2  Dikkat Her gn mesaj bombardmann.pdf
Tketim Biyografi Girii 2 Dikkat Her gn mesaj bombardmann.pdfaakarcreations1
 
The US bilateral real exchange rate with Mexico is define.pdf
The US bilateral real exchange rate with Mexico is define.pdfThe US bilateral real exchange rate with Mexico is define.pdf
The US bilateral real exchange rate with Mexico is define.pdfaakarcreations1
 
The comparative balance sheet of Whitman Co at December 31.pdf
The comparative balance sheet of Whitman Co at December 31.pdfThe comparative balance sheet of Whitman Co at December 31.pdf
The comparative balance sheet of Whitman Co at December 31.pdfaakarcreations1
 
The development of the FeedFish app will be done increment.pdf
The development of the FeedFish app will be done increment.pdfThe development of the FeedFish app will be done increment.pdf
The development of the FeedFish app will be done increment.pdfaakarcreations1
 
The adjusting entry to record accrued expenses aincludes a .pdf
The adjusting entry to record accrued expenses aincludes a .pdfThe adjusting entry to record accrued expenses aincludes a .pdf
The adjusting entry to record accrued expenses aincludes a .pdfaakarcreations1
 
A patient remains hypotensive after receiving epinephrine fo.pdf
A patient remains hypotensive after receiving epinephrine fo.pdfA patient remains hypotensive after receiving epinephrine fo.pdf
A patient remains hypotensive after receiving epinephrine fo.pdfaakarcreations1
 
Provide a brief explanation of the following project managem.pdf
Provide a brief explanation of the following project managem.pdfProvide a brief explanation of the following project managem.pdf
Provide a brief explanation of the following project managem.pdfaakarcreations1
 
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdf
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdfPregunta 22 Y Co us algunas pero no todas las NIIF en su.pdf
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdfaakarcreations1
 
1 The BackEnd application run as web server using express h.pdf
1 The BackEnd application run as web server using express h.pdf1 The BackEnd application run as web server using express h.pdf
1 The BackEnd application run as web server using express h.pdfaakarcreations1
 
Need a Response Please In responses to your peers prov.pdf
Need a Response Please In responses to your peers prov.pdfNeed a Response Please In responses to your peers prov.pdf
Need a Response Please In responses to your peers prov.pdfaakarcreations1
 
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdf
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdfNokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdf
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdfaakarcreations1
 
Los cuatro tipos de objetivos que se pueden configurar en an.pdf
Los cuatro tipos de objetivos que se pueden configurar en an.pdfLos cuatro tipos de objetivos que se pueden configurar en an.pdf
Los cuatro tipos de objetivos que se pueden configurar en an.pdfaakarcreations1
 

More from aakarcreations1 (20)

Consider the following events X student gets an B+ on pap.pdf
Consider the following events X  student gets an B+ on pap.pdfConsider the following events X  student gets an B+ on pap.pdf
Consider the following events X student gets an B+ on pap.pdf
 
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdf
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdfBir rnn hizmetin veya markann tketicilerin zihnindeki i.pdf
Bir rnn hizmetin veya markann tketicilerin zihnindeki i.pdf
 
Why am I getting an out of memory error and no window of my .pdf
Why am I getting an out of memory error and no window of my .pdfWhy am I getting an out of memory error and no window of my .pdf
Why am I getting an out of memory error and no window of my .pdf
 
Using Table 111 calculate the compound amount and compound.pdf
Using Table 111 calculate the compound amount and compound.pdfUsing Table 111 calculate the compound amount and compound.pdf
Using Table 111 calculate the compound amount and compound.pdf
 
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdf
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdfUzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdf
Uzun zaman nce ok ok uzak bir galakside Atba Bulutsus.pdf
 
New Archaeologists made great strides forward in their appro.pdf
New Archaeologists made great strides forward in their appro.pdfNew Archaeologists made great strides forward in their appro.pdf
New Archaeologists made great strides forward in their appro.pdf
 
Un paciente VIH positivo ingres con lesiones cutneas en t.pdf
Un paciente VIH positivo ingres con lesiones cutneas en t.pdfUn paciente VIH positivo ingres con lesiones cutneas en t.pdf
Un paciente VIH positivo ingres con lesiones cutneas en t.pdf
 
True or falseChina was struck with serious and significant .pdf
True or falseChina was struck with serious and significant .pdfTrue or falseChina was struck with serious and significant .pdf
True or falseChina was struck with serious and significant .pdf
 
Tketim Biyografi Girii 2 Dikkat Her gn mesaj bombardmann.pdf
Tketim Biyografi Girii 2  Dikkat Her gn mesaj bombardmann.pdfTketim Biyografi Girii 2  Dikkat Her gn mesaj bombardmann.pdf
Tketim Biyografi Girii 2 Dikkat Her gn mesaj bombardmann.pdf
 
The US bilateral real exchange rate with Mexico is define.pdf
The US bilateral real exchange rate with Mexico is define.pdfThe US bilateral real exchange rate with Mexico is define.pdf
The US bilateral real exchange rate with Mexico is define.pdf
 
The comparative balance sheet of Whitman Co at December 31.pdf
The comparative balance sheet of Whitman Co at December 31.pdfThe comparative balance sheet of Whitman Co at December 31.pdf
The comparative balance sheet of Whitman Co at December 31.pdf
 
The development of the FeedFish app will be done increment.pdf
The development of the FeedFish app will be done increment.pdfThe development of the FeedFish app will be done increment.pdf
The development of the FeedFish app will be done increment.pdf
 
The adjusting entry to record accrued expenses aincludes a .pdf
The adjusting entry to record accrued expenses aincludes a .pdfThe adjusting entry to record accrued expenses aincludes a .pdf
The adjusting entry to record accrued expenses aincludes a .pdf
 
A patient remains hypotensive after receiving epinephrine fo.pdf
A patient remains hypotensive after receiving epinephrine fo.pdfA patient remains hypotensive after receiving epinephrine fo.pdf
A patient remains hypotensive after receiving epinephrine fo.pdf
 
Provide a brief explanation of the following project managem.pdf
Provide a brief explanation of the following project managem.pdfProvide a brief explanation of the following project managem.pdf
Provide a brief explanation of the following project managem.pdf
 
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdf
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdfPregunta 22 Y Co us algunas pero no todas las NIIF en su.pdf
Pregunta 22 Y Co us algunas pero no todas las NIIF en su.pdf
 
1 The BackEnd application run as web server using express h.pdf
1 The BackEnd application run as web server using express h.pdf1 The BackEnd application run as web server using express h.pdf
1 The BackEnd application run as web server using express h.pdf
 
Need a Response Please In responses to your peers prov.pdf
Need a Response Please In responses to your peers prov.pdfNeed a Response Please In responses to your peers prov.pdf
Need a Response Please In responses to your peers prov.pdf
 
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdf
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdfNokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdf
Nokia Fortune Global 500 sralamasnda yer alan ve 19 yzyla.pdf
 
Los cuatro tipos de objetivos que se pueden configurar en an.pdf
Los cuatro tipos de objetivos que se pueden configurar en an.pdfLos cuatro tipos de objetivos que se pueden configurar en an.pdf
Los cuatro tipos de objetivos que se pueden configurar en an.pdf
 

Recently uploaded

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
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.pptxheathfieldcps1
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
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)Jisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
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.MaryamAhmad92
 
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.pdfDr Vijay Vishwakarma
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 

Recently uploaded (20)

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
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
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
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)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
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.
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 

Linux Create a menu driven interface using the cup and tput.pdf

  • 1. Linux: Create a menu driven interface using the cup and tput commands. Use the code given in phoneapp (located under Week 6/ Lab Work) for the menu interface for the Phone Directory application. Create a new directory called source under your home directory. Create a file inside this source directory called corp_phones. This corp_phones file will store the phone number records for your phone application. Create three shell scripts named phoneadd, phlist, phonefind inside the source directory phoneadd script able to add a new phone number to the corp_phones file phlist script should list all the phone numbers stored in the corp_phones file phonefind script should accept a name as argument and show the phone number for that name.