shell - Does bash supports "system" command -


i know c , python , perl languages support "system" system call. not sure bash shell supports or not? can 1 let me know supported in bash or not ? if not there alternate way achieve this?

thanks in advance,

sudhir

executing command "ps" in shell.

c:

system( "ps" ); 

perl:

system ps 

bash:

ps 

there are. ;-)


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -