B
bashcommando
Guest
I created my own Shell Script Prompt. Its called PCSH(Pretty Cool SHell). Here is the code:
To compile/install it use in your current prompt:
Have fun using PCSH V1. You can modify it if you want!
Code:
#include <stdio.h>
int main(void)
{
char* cmd;
while (1)
{
printf( "PCSH:" );
scanf( "%d", &cmd );
system( cmd );
}
}
Code:
su - root
gcc -o pcsh pcsh.c
chmod 755 pcsh
cp pcsh /bin/
pcsh