I wrote a simple c application and test on centos 6.5, the code as below
int main(int argc, char *argv[]) {
fprintf(stderr, "%s\n", argv[1]);
return 0;
}
when I run the app with ./test $
, then the print value is $
, but if I run with ./test $$
, the print value changed to 119688
, is any special meaning of $
in linux
, I found it works correctly on windows.