CPlusOOP
SiteMap
Reusable Software
Structured Programming
Structured Programming
«Prev
Next»
Programming Fundamentals
Computer Algorithms
Computer Programs Defined
Computer Components
Operating System Role
Running Computer Program
Machine Language
Compilers Interpreters
Computer Program Conclusion
Storing Numbers Text
Binary Number Explanation
Convert Binary to Decimal
Convert Decimal Binary
Convert Binary Hexadecimal
Twos Complement Representation
Floating Point Numbers
ASCII Unicode System
Number Text Storage
Structured Programming
Unstructured Programs
Sequence Statements
Decision Construct
Repetition Iteration
Subprogram Definition
Structured Programming Summary
Writing Programs
Create Unix Directory - Exercise
Working from the Command Prompt
Objective:
Create a directory for your programs.
Scoring
This exercise is not scored. It is an opportunity for you to check your understanding of the material covered in the preceding lesson. When you are finished, click the
Submit
button to receive credit for having completed it.
Background/overview
Before you begin writing programs you need a place to keep your work. In this exercise you will create a directory on your file system for just that purpose.
Instructions
Open a shell window.
Create a directory named
progfun in your home directory
. Here is how you would use the
cd
and
mkdir
commands to do this:
cd mkdir progfun
Use the
cd
command to change your current directory to the
progfun
directory created in the previous step. Here is an example:
cd progfun
Use the
ls
command to display the contents of
progfun
.
Submit