Simple commands

I know that these are dumb questions but please bear with me.
I need the exact synatax or keystrokes to do the following:
To save a file in vi ?
To change directory from c: drive to A: drive ?
From a sub-directory on A: drive, how do I create a sub-directory in another directory on A: drive.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

save a file in VI:
(escape) :w (enter)

In unix there are no drives. you need to mount your floppy drive, A to the file system and then access it with the `cd` command.

create directory:

kenny1Author Commented:
I do not totally reject this answer but you said there are no drives. and that I need to mount the floppy drive, A to the file system and then access it with the `cd` command.
How would I do this ?
Please bear in mind that I do not have access to a UNIX machine, and that this is a research exercise for college work.
eplain the question better then...
I  seem to misunderstood the part about the drives.

See, in unix there is no seperation between disk drives in the same manner as in DOS/Win...
there is no A, B, C... there is a directory tree which starts from the root `/`.
In UNIX, everything is treated as a file (or directory). What you need to know is that everything can be accessed through a pathname. The standard path for the floppy drive is "/floppy", just like for the CD-ROM it's "/cdrom", etc...

 Also, in UNIX you always have to "mount" filesystems before you can use them. Just like you also have to "unmount" them if you're going to remove them (like opening the CD drive).

 To "mount" and "umount" a filesystem you'd do something like:

mount -t ext2 /dev/fd0 /floppy

then to unmount:

umount /floppy

Explanation of parameters:

-t (type) where ext2 is the ext2 filesystem. (Linux)

/dev/fd0 is the floppy disk drive 0, or "A" in DOS.

/floppy is the mount point. An empty directory that you create with the sole purpose of mounting another filesystem over it.

 You know, it's not like piece of cake to understand all this if you've been used to the MS world for your whole life but you get the point after some time and you'll also start thinking that the DOS way of working is retro.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
. or simply use mtools, like:
   mdir a:
   mcd a:/subdir
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.