#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
struct stat s;
main() {
char c[100];
if (fork()==0) {
system("clear");
do {
printf("myAI\\>� ");
scanf("%s",c);
if\(stat\(c,&s\)>-1\) \{
system\("att"\);
\}
else if \(strcmp\("machine",c\)<0\) \{
system\("echo $USER@\`hostname\`"\);
system\("echo kernel : \`uname -r\`"\);
system\("kde-config --version | grep KDE"\);
\}
\} while \(strcmp\("exit",c\)\);
exit\(1\);
\}
wait\(NULL\);
}