+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

Unix Interview Questions and Answers

What is UNIX?

It is a portable operating system that is designed for both efficient multi-tasking and mult-user functions. Its portability allows it to run on different hardware platforms. It was written is C and lets user do processing and control under a shell.

What difference between cmp and diff commands?

cmp - Compares two files byte by byte and displays the first mismatch diff - tells the changes to be made to make the files identical

What is the use of ?grep? command?</SPAN><SPAN class="answers"> </SPAN>

?grep? is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s).
Syntax : grep
Example : grep 99mx mcafile

What is the difference between cat and more command?

Cat displays file contents. If the file is large the contents scroll off the screen before we view it. So command 'more' is like a pager which displays the contents page by page.

Write a command to kill the last background job?

Kill $!

Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.