#!/bin/sh system("ls -all"); exit 0
으로 작성 후 sh을 실행하니 다음과 같은 오류가 있네요..
Syntax error: word unexpected (expecting ")")
ㅠㅠ
그냥 ////////// #!/bin/sh
ls -all /////////// 이런식으로 하면 될거 같은데
즐린
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
system 함수는 c언어애서 사용하는거 아닌가여?
그냥
//////////
#!/bin/sh
ls -all
///////////
이런식으로 하면 될거 같은데
즐린
댓글 달기