This video tutorial show you how to create a simple unix/linux terminal command in C. The command called myEcho, it is similar to the echo command in linux. It prints the command name and any other argument you pass.
This entry was posted
on Saturday, January 7th, 2012 at 11:37 am and is filed under Linux Commands.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
6 Responses to “Create your own Unix/Linux terminal commands”
A coding tutorial in which the code is so small, it is barely readable is useless.
Echo in perl:
foreach(@ARGV){print “$_ “}
print “n”
@SIFILISNALISICA
Fuego by the string quartet Bond
Can you tell me the name of song in background ?
@DemonCullen
here is the script, i’ll try to upload it with a better resolution.
//script starts here
#include
int main(int argc, char *argv[]){
for( ; *argv; ++argv)
printf(“%s “, *argv);
printf(“n”);
return 0;
}
May you post what the script was in your description? It’s somewhat hard to read in the video, even with fullscreen at 480p. Thank you in advance.