Thursday, February 4, 2010

Linux Commands Interview Questions

zcat- The zcat utility allows you to examine the contents of a compressed file much the same way that cat displays a file.

top-The top utility shows a listing of all running processes that is dynamically updated.

How do you find out what’s your shell? - echo $SHELL

How do you write a for loop in shell? -

for {variable name} in {list} do {statement} done