SHELL(Builder)

From CoffeeMud Wiki
Jump to navigation Jump to search
CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===SHELL===
Usage: SHELL [COMMAND] [PARAMETERS]
Examples: shell

shell ?

shell directory

shell cd /resources/text

shell copy thisfile.txt ::

shell del ::thisfile.txt

shell edit thisfile.txt

Shorts:
Description: This command allows the archon, and users with appropriate FS: and/or VFS: security flags to access the file system and/or the virtual file system. See help on CMFS or VFS for the difference between the two.

The commands are case-insensitive, except where dealing with the local file system, where it may be case-sensitive depending upon the host system. As mentioned in the CMFS docs, filenames and paths may be preceded by a :: string to denote forced VFS access, or // to denote forced local file-system access. When neither is specified for a given shell command, the VFS file is always preferred. The / character is always used to separate directory paths and folders, such as /resources/text/down.txt would refer to the file down.txt in the text folder, which in turn is in the resources folder, which in turn is located in the root directory.

The shell command may be entered with no parameter to see the players current directory. When viewing directories, a "-" character will precede a file which exists only in the VFS system. A "+" character will precede a file which exists in both the local file system and the VFS system. Since folders always exist in the VFS, they will always be seen with the "+" character preceding them.

The shell command can be used to create directories, delete files or directories, copy files, search for files with given names, search inside text files for a text string, display a text file, or edit a text file. Many commands support a mask to limit the files displayed. The mask may include "*" characters anywhere in the string to match 0 or more unknown characters in the filenames. A "?" character always matches a single unknown character in a filename.

See HELP CMFS for more information on CoffeeMuds file system.

Notes

.