unix.c

skylib_fluffos_v3/mudlib/d/learning/school/getting-started/unix_tutor/unix.c · 917 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

// May's School for Wizards
// brought to FF on 5 Feb 2001
// This section by Lancelot
// Converted to Riftwar on 08/02/2001 shaydz

#include "defs.h";
inherit ROOM_OBJ;

void setup(){
    set_light(60);
    set_short("Unix Commands");
    set_long("Basic Unix Commands (Write these down)\n"
      "cd - change directory\n"
      "ls - list the files in the current directory\n"
      "pwd - show (print) working directory\n"
      "more - view the specified file, with pauses\n"
      "cat - view the specified file, without pauses\n"
      "tail - view the last few lines of specified file\n"
      "ed - edit the specified file\n"
      "rm - removes file\n"
      "mv - move or rename\n"
      "mkdir - make directory\n"
      "rmdir - remove directory\n"
      "grep - search file(s) for specified text\n"
      "\nUse 'help <command>' for further details\n");

    add_exit("back", GETSTART "start", "path");
}

Site Stats

Snippets: 1791
Codebases: 571