Subversion Repositories Kolibri OS

Rev

Rev 1668 | Rev 1670 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1668 Nasarus 1
const command_t COMMANDS[]=
2
{
1669 Nasarus 3
	{"about",   "  Displays information about Shell\n\r", &cmd_about},
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},
7
	{"clear",   "  Clears the screen\n\r", &cmd_clear},
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},
10
	{"exit",    "  Exits from Shell\n\r", &cmd_exit},
11
	{"memory",  "  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},
13
	{"kill",    "  Stops a running process. Usage:\n\r    kill \n\r", &cmd_kill},
14
	{"ls",      "  Lists the files in a directory. Usage:\n\r    ls ;lists the files in current directory\n\r    ls  ;lists the files at specified folder\n\r", &cmd_ls},
15
	{"mkdir",   "  Makes directory. Usage:\n\r    mkdir  ;creates the folder in working directory\n\r    mkdir  ;create folder by specified path\n\r", &cmd_mkdir},
16
	{"more",    "  Displays a file data to the screen. Usage:\n\r    more \n\r", &cmd_more},
17
	{"ps",      "  Lists the current processes running\n\r", &cmd_ps},
18
	{"pwd",     "  Displays the name of the working directory\n\r", &cmd_pwd},
19
	{"reboot",  "  Reboots the computer or KoOS kernel. Usage:\n\r    reboot ;reboot a PC\n\r    reboot kernel ;reboot the KoOS kernel\n\r", &cmd_reboot},
20
	{"rm",      "  Removes a file. Usage:\n\r    rm file name>\n\r", &cmd_rm},
21
	{"rmdir",   "  Removes a folder. Usage:\n\r    rmdir \n\r", &cmd_rmdir},
22
	{"sleep",   "  Stops the shell for the desired period. Usage:\n\r    sleep 
23
	{"shutdown","  Turns off the computer\n\r", &cmd_shutdown},
24
	{"touch",   "  Creates an empty file or updates the time/date stamp on a file. Usage:\n\r    touch \n\r", &cmd_touch},
25
	{"uptime",  "  Displays the uptime", &cmd_uptime},
26
	{"ver",     "  Displays version. Usage:\n\r    ver ;Shell version\n\r    ver kernel ;version of KoOS kernel\n\r", &cmd_ver},
1668 Nasarus 27
};