ງ Aa 8-B 8 July 21, 2023 at 4:38 PM ou are currently in the /home directory of your file system. 1. What is the Linux command to print the path of the directory you are currently working in? 2. What is the Linux command to make a new directory called newDirectory? 3. What is the Linux command to list all of the contents of the directory you are currently working in? 4. What is the Linux command to change from the directory you are currently working in to newDirectory? 5. Say you want to change the name of the file "helloworld.cpp" in your working directory to "hello.cpp", what is the exact Linux command you would use to accomplish this? 6. Say you want to display the entire contents of "hello.cpp" in your terminal window, what is the exact Linux command you would use to accomplish this? 7.Say you want to remove "hello.cpp" from your current working directory, what is the exact Linux command you would use to accomplish this? 8.Say you want to switch from your current directory back one directory, what is the exact Linux command you would use to accomplish this? 9.Say your current working directory has a directory that is not empty (directory tree) called newDirectory in it and you want to delete it, what is the exact Linux command you would use to accomplish this?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
3
Aa 8=E
Y
July 21, 2023 at 4:38 PM
You are currently in the /home directory of your file system.
1. What is the Linux command to print the path of the directory you are currently
working in?
2. What is the Linux command to make a new directory called newDirectory?
3. What is the Linux command to list all of the contents of the directory you are
currently working in?
4. What is the Linux command to change from the directory you are currently
working in to newDirectory?
5.Say you want to change the name of the file "helloworld.cpp" in your working
directory to "hello.cpp", what is the exact Linux command you would use to
accomplish this?
6. Say you want to display the entire contents of "hello.cpp" in your terminal
window, what is the exact Linux command you would use to accomplish this?
7. say you want to remove "hello.cpp" from your current working directory, what is
the exact Linux command you would use to accomplish this?
8. Say you want to switch from your current directory back one directory, what is
the exact Linux command you would use to accomplish this?
9.Say your current working directory has a directory that is not empty (directory
tree) called newDirectory in it and you want to delete it, what is the exact Linux
command you would use to accomplish this?
Transcribed Image Text:3 Aa 8=E Y July 21, 2023 at 4:38 PM You are currently in the /home directory of your file system. 1. What is the Linux command to print the path of the directory you are currently working in? 2. What is the Linux command to make a new directory called newDirectory? 3. What is the Linux command to list all of the contents of the directory you are currently working in? 4. What is the Linux command to change from the directory you are currently working in to newDirectory? 5.Say you want to change the name of the file "helloworld.cpp" in your working directory to "hello.cpp", what is the exact Linux command you would use to accomplish this? 6. Say you want to display the entire contents of "hello.cpp" in your terminal window, what is the exact Linux command you would use to accomplish this? 7. say you want to remove "hello.cpp" from your current working directory, what is the exact Linux command you would use to accomplish this? 8. Say you want to switch from your current directory back one directory, what is the exact Linux command you would use to accomplish this? 9.Say your current working directory has a directory that is not empty (directory tree) called newDirectory in it and you want to delete it, what is the exact Linux command you would use to accomplish this?
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education