L1 / L2 Linux System Admin Interview Questions
Ques 1. What is the difference between umask and ulimit ? umask stands for ‘User file creation mask’, which determines the settings of a mask that controls which file permissions are set for files and directories when they are created. While ulimit is a linux built in command which provides control over the resources available to the shell and/or to processes started by it. You can limit user to specific range by editing /etc/security/limits.conf at the same time system wide settings can be updated in /etc/sysctl.conf Ques 2. What are the run levels in linux and how to change them ? A run level is a state of init and the whole system that defines what system services are operating and they are identified by numbers.There are 7 different run levels present (run level 0-6) in Linux system for different purpose. The descriptions are given below. 0: Halt System (To shutdown the system) 1: Single user mode 2: Basic multi user mode without NFS 3: Full multi user mode (...