Interview :: Shell Script
Yes.
The while loop is used to repeat its block of commands a number of times. It is different from for loop, it iterates until the while condition is no longer true.
Inode: Each file contains an index number known as "inode" which is comprised of metadata about the associated file.
Hard Link: is the mirror of original linked file. In such case, hard link and original file contains same inode. Hard link remains linked whether original file is removed.
Soft Link: is like shortcut feature of Windows OS. In such case, hard link and original file contains different inode. Soft link will not work correctly if original file is removed.
The $# shows total number of arguments passed to the script.
Zombie processes are the processes which are died but exit status is not picked by the parent process.
0 - Standard Input
1 - Standard Output
2 - Standard Error