Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

mvdir — Move a Directory

Synopsis

/usr/sbin/mvdir dirname
						name
					

Description

Use the mvdir command to move directories within a file system. dirname must be a directory. If name does not exist, it is created as a directory. If name does exist and is a directory, dirname is created as name/dirname. dirname and name cannot be on the same path; that is, one can not be subordinate to the other. For example, the following command is legal.

castle% mvdir x/y x/z
					

The following command is not legal.

castle% mvdir x/y x/y/z
					

Operands

dirname The name of the directory that is to be moved to another directory in the file system.
name The name of the directory into which dirname is to be moved. If name does not exist, create it. name cannot be on the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book