Category: Unix / Linux

Unix / Linux Technical Interview Questions

Important Operating System Interview Questions

Important Operating System Interview Questions

What is MUTEX ? ANS: Mutex is a program object that allows multiple program threads to share the same resource, such as file access, but not simultaneously. When a program is started a mutex is created with a unique name. After this stage, any thread that needs the resource must lock...

Important Unix Shell Questions

Important Unix Shell Questions

Some Important Unix Shell Questions for Recent Graduates to help them in their Interview Preparations. There can be multiple Kernels and shells running on your system. True or False? Why shell is called Command Interpreter? Two UNIX systems may or may not use the same system calls. True or False? To...

Php and MySQL Important Questions

Php and MySQL Important Questions

Which will be faster out of these two queries – one with OR or one with IN? Where does MyISAM cache table records? Which will be faster out of queries with explicit INNER JOIN and implicit one? Is InnoDB faster/better than MyISAM? Is CHAR faster than VARCHAR? Is VARCHAR(80) faster than...

Nix Application Programming

Nix Application Programming

Explain the difference between a static library and a dynamic library? – Static library is linked into the executable, while a dynamic library (or shared object) is loaded while the executable has started. How do you create a static library? – If you have a collection of object (.o) files, you...

C Interview Questions

C Interview Questions

C Interview Questions For Recent graduates and Experienced professionals to gain the knowledge for the C Interview. 1: swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are the values x&y?

Some Shell Related Interview Questions

Some Shell Related Interview Questions

Some Shell Related Basic Things that you must know if you are attending unix administration / linux administration or shell script writing interviews or something similar to it. All the best Read below:

How to tar and Untar files in unix

How to tar and Untar files in unix

To Tar Files of a directory and sub directories recursively: tar cvzf foo.tgz freshershome Will tar the directory freshershome (and its files/subdirectories) into a tar file named foo.tgz. To extract gzip-1.2.4.tar and compile the sources on Unix systems, do: tar xvf freshershome.tar Or tar -xzvf freshershome.tar.gz Above will extract freshershome.tar.gz: Will...

UNIX and OS X Commands Reference

UNIX and OS X Commands Reference

Some Very Cool Unix Commands that might be real helpful for an interview or for anything while working with Unix or OS X. cd (change directory) cd myfolder Changes the current working directory to “myfolder” cd .. Go up one level to the current working directory. cd ../.. Go up two...