Linux Today: Linux News On Internet Time.

More on LinuxToday

Anatomy of command line arguments in Linux

Jan 08, 2013, 08:00 (0 Talkback[s])
(Other stories by Rupali)

In Linux, any command is actually an executable being triggered through shell. In code, the entry point to this executable (in ELF format) will be the main() method . The Linux shell communicates the command line arguments to the program by passing these parameters to the main() method. In this article, we shall go through the advanced concepts related to command line arguments in Linux using C programming examples.

Complete Story