O'Reilly logo

Mastering VMware vSphere™ 4 by Scott Lowe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B.2. Managing Directories, Files, and Disks in the Service Console

Without a graphical interface available, you will have to use the ESX CLI to create, manage, and delete files and directories. The following commands provide basic instructions for moving, copying, creating, and deleting files and directories. In all these examples, the hash sign (#) represents the shell prompt.

mv

Used to move or rename files. By default, mv defaults to an interactive setting (equal to mv -i), which confirms each operation.

Example 1: # mv oldfile newfile

Example 2: # mv file1 /newfolder/file1

cp

Used to copy directories or files. You can rename a file during the copy process. Use the -f parameter to force the copy, the -p parameter to preserve the permissions, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required