리눅스 환경에서

#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main(int argc, char *argv[])
{
 char alias_command[23]="alias test1=\'./test1\'";

 system(alias_command);

 }

이런식으로

자신이 만든 실행 파일을 ./ (경로)없이 쓸려고 합니다.



그냥 command 창에서

alias test1='./test1'

는 먹히는데 위처럼 코딩으로 입력 하면 안되네요...

해결 방법이 있을까요??/

도와주세요 ㅋㅋ