kolibrios-fun/programs/system/shell/cmd/cmd_history.c
Albom a2ca7586dc Shell 0.5.4: changes in console apps; history cmd added; ccpuid, free, killall cmds came back.
git-svn-id: svn://kolibrios.org@2735 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-06-04 12:54:51 +00:00

14 lines
151 B
C

int cmd_history(char arg[])
{
int i;
for (i = 0; i < CMD_HISTORY_NUM_REAL; i++)
{
printf("%s\n", CMD_HISTORY[i]);
}
return TRUE;
}