Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdlib.h>
- #include<unistd.h>
- #include<stdio.h>
- int main(){
- char cmd[100];
- sprintf(cmd,"ls -lha");
- printf("%s\n",cmd);
- system(cmd);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement