Subversion Repositories Kolibri OS

Rev

Rev 2735 | Rev 3247 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2735 Rev 3245
Line 1... Line 1...
1
const command_t COMMANDS[]=
1
const command_t COMMANDS[]=
2
{
2
{
3
	{"about",   "  Displays information about Shell\n\r", &cmd_about},
3
	{"about",   "  Displays information about Shell\n\r", &cmd_about},
4
	{"alias",   "  Allows the user view the current aliases\n\r", &cmd_alias},
4
	{"alias",   "  Allows the user view the current aliases\n\r", &cmd_alias},
5
	{"ccpuid",  "  Displays CPU information\n\r", &cmd_ccpuid},
-
 
6
	{"cd",      "  Changes current directory. Usage:\n\r    cd \n\r", &cmd_cd},
5
	{"cd",      "  Changes current directory. Usage:\n\r    cd \n\r", &cmd_cd},
7
	{"clear",   "  Clears the screen\n\r", &cmd_clear},
6
	{"clear",   "  Clears the screen\n\r", &cmd_clear},
-
 
7
	{"cp",      "  Copies file\n\r", &cmd_cp},
8
	{"date",    "  Returns the current date and time\n\r", &cmd_date},
8
	{"date",    "  Returns the current date and time\n\r", &cmd_date},
9
	{"echo",    "  Echoes the data to the screen. Usage:\n\r    echo \n\r", &cmd_echo},
9
	{"echo",    "  Echoes the data to the screen. Usage:\n\r    echo \n\r", &cmd_echo},
10
	{"exit",    "  Exits from Shell\n\r", &cmd_exit},
10
	{"exit",    "  Exits from Shell\n\r", &cmd_exit},
11
	{"free",    "  Displays total, free and used memory\n\r", &cmd_memory},
11
	{"free",    "  Displays total, free and used memory\n\r", &cmd_memory},
12
	{"help",    "  Gives help on commands. Usage:\n\r    help ;it lists all builtins\n\r    help  ;help on command\n\r", &cmd_help},
12
	{"help",    "  Gives help on commands. Usage:\n\r    help ;it lists all builtins\n\r    help  ;help on command\n\r", &cmd_help},
Line 24... Line 24...
24
	{"shutdown","  Turns off the computer\n\r", &cmd_shutdown},
24
	{"shutdown","  Turns off the computer\n\r", &cmd_shutdown},
25
	{"sleep",   "  Stops the shell for the desired period. Usage:\n\r    sleep 
25
	{"sleep",   "  Stops the shell for the desired period. Usage:\n\r    sleep 
26
	{"touch",   "  Creates an empty file or updates the time/date stamp on a file. Usage:\n\r    touch \n\r", &cmd_touch},
26
	{"touch",   "  Creates an empty file or updates the time/date stamp on a file. Usage:\n\r    touch \n\r", &cmd_touch},
27
	{"uptime",  "  Displays the uptime\n\r", &cmd_uptime},
27
	{"uptime",  "  Displays the uptime\n\r", &cmd_uptime},
28
	{"ver",     "  Displays version. Usage:\n\r    ver ;Shell version\n\r    ver kernel ;version of KolibriOS kernel\n\r", &cmd_ver},
28
	{"ver",     "  Displays version. Usage:\n\r    ver ;Shell version\n\r    ver kernel ;version of KolibriOS kernel\n\r    ver cpu ;information about CPU\n\r", &cmd_ver},
29
};
29
};
30
30