|
301. How Do You See The Command Line History In UNIX?
Date Posted: 07/01/2012
Ans: This feature is very useful; one should use history command with grep command available in UNIX. The purpose of asking this question in the interview is to know about the familiarity of the candidate with the tools and specs in the UNIX operating system.
|
|
|
302. How Do You Find How Many CPUs Are In Your System And Their Details?
Date Posted: 07/01/2012
Ans: One can easily check this by looking into the filt/etc/cpuinfo. For example, you can use the command below-
Cat /proc/cpuinfo.
|
|
|
303. How Can You Count The Number Of Times The Word UNIX Is Appearing?
Date Posted: 07/01/2012
Ans: Here’s the command you should use to know that- grep –c “Unix” filename.
|
|
|
304. How Can You Set An Environment Variable Which Will Be Accessible From Sub Shell?
Date Posted: 07/01/2012
Ans: One can do that by using export. For example – 1 will be available on all sub shells.
|
|
|
You can know this either by using this command “uname -a” or “arch” command.
|
|
|
306. What Is The Ephemeral Port In Unix?
Date Posted: 07/01/2012
Ans: It is a port used by operating system for the client sockets. The OS can open any port specified by the ephemeral range.
|
|
|
307. How Could We Know The Number Of Days Your Server Is Up?
Date Posted: 07/01/2012
Ans: You can use the uptime command in UNIX.
|
|
|
Ans: When a programmer writes a program, he begins...
|
|
|
Ans: .so files contain object code like .a and .o files. However, these libraries are not linked in when the programmer creates the executable. Instead, they are loaded in when the program runs. This allows the library to be shared amon...
|
|
|
Ans: The preferred way to tell whether an object was built with HP-UX 10.20 or HP-UX 11.0 is use the odump command.
Odump -comp
The -comp switch will give you the flags with which the object was compiled as well...
|
|