News for hackers. Stuff that matters.
Re:Ask HN: How to see commands used by Linux GUI software by madhouse on Thursday December 16, 2010 @07:50AM (#2011836)
Most of the time, no, it's not possible, since said GUI programs do not call the command-line programs.

Instead, they use the same system calls the command-line tools do: stuff provided by the C library. When you right click and say "make shortcut", it calls the link(2) function deep down, just like 'ln' does. It doesn't call the 'ln' program at all.

The best way to learn the command line is to start using it, and looking at various shell scripts, in my opinion.

Re:Ask HN: How to see commands used by Linux GUI software by retroafroman on Thursday December 16, 2010 @09:34AM (#2012125)
This is good advice. Also, if the OP interested in seeing the system calls that the different programs do, they should look up the strace command.
Re:Ask HN: How to see commands used by Linux GUI software by Enideo on Thursday December 16, 2010 @11:56AM (#2012648)
Thanks to both of you for your expertise, had a feeling it might not be possible but worth a shot..