Pick a Free OS

User login

Navigation

Linux Basics : First Steps Into Linux

The mkdir command

This command is used to create new a new directory. Its syntax is

mkdir

-optional_flag directory_name

The possible flags are

mkdir

-v directory_name


Tell what is going on.

mkdir

-p directory_with_path

This is

a cool command. Suppose you need a directory named SEIT within another

directory called PVPP in /usr/local and the parent directory PVPP

itself does not exist, then you can use :

mkdir -p /usr/local/PVPP/SEIT

This command creates the PVPP directory and the SEIT subdirectory in one

go.

The man command

For someone new to linux, the man command is one of the most important

commands. The syntax is:

man

command_name

Suppose you have not understood fully one of the above commands or want

to find out about a new command you have learnt , the man command

provides a manual for that command

Thus

man

cp

will show you a manual on the cp command and so on.

I think that is enough material to keep you busy for a few hours and get

you through some of the elementary tasks in Linux. So farewell friends,

until we meet again.


© Aarjav Trivedi

2001

The author grants you express permission to store, copy and

republish this article in electronic or hardcopy form

as long as its contents including this instruction are not

changed.

This document prepared in Linux using StarOffice 5.1

I would appreciate if some one using this article on their

site or somewhere else would drop me a mail.