Operating system answers
OS Interview Question and Answers
MAC OS Answer(s)
Write down the command to remove proxy for npm at mac?
Below is the command to remove proxy for npm at mac. remove proxy by npm config rm below is the code.
npm config rm proxy
npm config rm https-proxy
Windows OS ANSWERS
Shortcut to split your task in two part so that work can be done easily?
Let suppose you are working on two screen and doing work from two windows side by side. To do this we use below code or shortcut:-
Windows Key + left arrow Key
Above shortcut will place your screen on lefthand side of screen.
Windows Key + Right arrow Key
Above shortcut will place our screen on righthand side of screen.
Shortcut to View Desktop and come back in another seconds on current task?
There are many condition when we have to view desktop for some confirmation for example to check file is there or not on desktop. To view desktop for a second and comeback to task by using below windows shortcut key:-
Windows Key + , Key
Shortcut to minimize all windows and task that are currently opened?
Shortcut key to minimize all the windows task and files are given below
Windows Key + m Key
Shortcut to create a Virtual Desktop in windows and benefits of it?
There are many situation where we are working on multiple windows and number of files are open in it. Mean while you need to open a another task in some separate machine we can use shortcut for this.
(1)Windows Key + CTRL + D
once you press above keys a new virtual desktop is created and on every click a new virtual desktop is created. Here desktop is similar to previous desktop but all files and browser are closed.
(2)Windows Key + CTRL + Arrow key (left or Right)
We will use this to move in different virtual desktop that we have created
(3)Windows Key + CTRL + F4 Key
We will use F4 to close the current virtual desktop.
SOLARIS OS INTERVIEW QUESTIONS
Why we use Piping in Solaris? Piping in Solaris is one of the process which is used to pair files between two processes with a call to the pipe(). And this call will returns an array which is mainly used by the pair of processes to read and write. Why we use command df k in Solaris? We use command df-k in Solaris to mainly display amount of space available on every disk mounted on the system. And this will display the amount of space available in % form. Command to find the size of RAM in Solaris Server? Below is the command to find the size of RAM in Solaris Server:- psrinfo | grep memconf Tell something about the Solaris? Solaris is developed by the company Sun Microsystems in 1992. It is a Unix base operating system. It is written in C and C++ language. Later-on Solaris is owned by Oracle after its acquisition of Sun Microsystems. Solaris is one of the proprietary software that is now developed by the Oracle. We use Solaris because of its reliability, performance, scalability, and high-security. And one of the another feature of Solaris is that Oracle Solaris also has support for x86-64 workstations.
What do you mean by Hard Links in Linux? When we say about Hard Links in Linux it is a another name for any already exist file. For every file we can create an unlimited number of hard links. They have the ability to generate links for other hard connections. To get total number of hard links in a file we use command "ls -l". And to create Hard links we use below commands:- $ ln [original filename] [link name]
What is the length of Filename in Linux? In Linux maximum length of a filename is 255 bytes. And the maximum combined length of both the file name and path name is 4096 bytes. Name the two of different kinds of Linux User Modes? Below are the two different kinds of Linux user modes:- (1)Command Line (2)GUI What is LILO and different tasks handle by LILO? LILO is one of the boot loader for Linux. Its full form is Linux Loader. We used LILO to load Linux into memory and helps in starting the operating system. LILO is customizable and we can configure it to boot other operating systems as well from LILO. If the default configuration in LILO is not correct we can changed in it. The file used for config in LILO is lilo.conf. LILO other features is that it is also a code snippet that loads PC BIOS into the main memory at the time starting the computer system. Below are the different tasks handle by LILO:- (1)It helps in starting the kernal (2)It helps in locating Linux kernel (3)It helsp in identifying other supporting programs and loading them in memory LILO is also knows as "boot manager" because of selection of various Kernel images and boot routines is supported by LILO. Explain Zombie Process in Linux? Zombie Process is one of the process whose execution is done or completed but it entry is still exists in process table. Just like zombie died but there presence is still there. Another defination is Zombie processes are the processes which are died but exit status is not picked by the parent process. Usually Zombie processes occur for child processes as we know parent process still needs to read its child exit status. Parent process will use wait system call to eliminate the zombie process from process table. And this is also known as reaping of Zombie process. Below is the diagram which will helps you to understand some facts about Zombie process. |
No comments