리눅스 환경에서
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main(int argc, char *argv[])
{
char alias_command[23]="alias test3=\'./test3\'";
system(alias_command);
}
이런식으로
자신이 만든 실행 파일을 ./ 없이 쓸려고 하는데
그냥 command 창에서
alias test3='./test3'
는 먹히는데 위처럼 코딩으로 입력 하면 안되네요...
해결 방법이 있을까요??/
도와주세요 ㅋㅋ
http://forum.falinux.com/zbxe/?document_srl=408554
난빨라는 빠릅니다 fzo
난빨라는 빠릅니다. auj