Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (22.75 KB, 3 trang )
1 - 3 IT Essentials II v2.0 - Lab 10.3.1 Copyright 2002, Cisco Systems, Inc.
Lab 10.3.1: Creating Directories in Linux
Estimated Time: 15 minutes
Objective
In this lab, the student will learn how to create files and directories with the Linux
operating system.
Equipment
The following equipment is required for this exercise:
• A computer system with Linux Red Hat 7.2 operating system installed.
Scenario
The IT department in a small company has purchased some new computer systems.
They want some new directories and files created on the server for the people that are
going to be receiving these new computers.
Procedures
In the first step of this lab, the student will create a directory or folder. In the second step
of the lab, the student will create a file and save it inside the directory.
Step 1: Login
Login using a student account for this lab.
For example, at the terminal window type:
studentA1
Then, type the password for student A1.
Step 2: The mkdir Command
The mkdir command is used to create directories and subdirectories. Run the following
command:
man mkdir
What does the –p switch do when it is run in conjunction with the mkdir command?
__________________________________________________________________
2 - 3 IT Essentials II v2.0 - Lab 10.3.1 Copyright 2002, Cisco Systems, Inc.
Step 3: Creating Directories