
TCS


10+ TCS Linux Administrator Interview Questions and Answers
Q1. What is lvm, repo, softlink hardlink, NTP, nfs, apache, and linux task related question.
This question covers various topics related to Linux administration.
LVM (Logical Volume Manager) is a tool used for managing disk space in Linux systems.
Repo (Repository) is a collection of software packages that can be installed on a Linux system.
Softlink and hardlink are types of links used in Linux file systems to create shortcuts to files or directories.
NTP (Network Time Protocol) is used to synchronize the system clock of a Linux machine with a time server.
NFS (Network F...read more
Q2. what is nfs?
NFS (Network File System) is a distributed file system protocol that allows a user on a client computer to access files over a network.
NFS enables sharing of files and directories between multiple computers in a network.
It provides transparent access to remote files as if they were local.
NFS uses a client-server architecture where the server exports directories that can be mounted on client machines.
It supports both read and write operations on shared files.
NFS is commonly us...read more
Q3. What is LVM, DHCP, how to set ip address in nic
LVM is Logical Volume Manager used for managing disk storage, DHCP is Dynamic Host Configuration Protocol for assigning IP addresses, setting IP address in NIC involves configuring network settings.
LVM allows for dynamic resizing of logical volumes
DHCP automatically assigns IP addresses to devices on a network
To set IP address in NIC, use commands like ifconfig or ip addr
Example: sudo ifconfig eth0 192.168.1.100 netmask 255.255.255.0
Q4. How to check running process, disk space
To check running processes and disk space, use commands like ps, top, df, and du.
Use 'ps' command to display currently running processes
Use 'top' command to display real-time system information, including processes
Use 'df' command to check disk space usage on filesystems
Use 'du' command to check disk usage of directories
Q5. what is lvm how it is work?
LVM stands for Logical Volume Manager, a tool used to manage disk storage in Linux systems.
LVM allows for dynamic resizing of logical volumes without downtime.
It consists of physical volumes, volume groups, and logical volumes.
Commands like pvcreate, vgcreate, lvcreate are used to create and manage LVM.
LVM provides flexibility in managing storage space by allowing logical volumes to span multiple physical disks.
Q6. What is Port number of dhcp
The port number for DHCP is 67 (server) and 68 (client).
DHCP server uses port 67 for incoming requests from clients
DHCP client uses port 68 for outgoing requests to servers
Q7. What Is LVM How To Divide
LVM (Logical Volume Manager) is a tool used in Linux to manage disk storage by creating logical volumes from physical volumes.
LVM allows for dynamic resizing of logical volumes without the need to unmount the filesystem.
To divide storage using LVM, first create physical volumes from disk partitions, then create volume groups from physical volumes, and finally create logical volumes from volume groups.
Commands like pvcreate, vgcreate, lvcreate, lvextend, and lvresize are used ...read more
Q8. how to rollback package
To rollback a package, use package manager to uninstall current version and install previous version.
Use package manager to uninstall current version of the package
Install the previous version of the package using package manager
Check for any dependencies that may need to be rolled back as well
Q9. how to remove older kernel
To remove older kernels in Linux, use package management tools like apt or yum.
Use 'apt autoremove' command in Debian-based systems to remove old kernels
Use 'yum remove
' command in Red Hat-based systems to remove old kernels Check available kernels with 'uname -r' command before removing
Q10. how to mount nfs?
To mount NFS, use the 'mount' command with the NFS server IP address and the mount point on the local machine.
Use the 'mount' command followed by the NFS server IP address and the mount point on the local machine
For example: sudo mount 192.168.1.100:/shared_folder /mnt/nfs_share
Ensure that the NFS server is properly configured and accessible from the local machine
Q11. how to do patching.
Patching involves applying updates to software to fix vulnerabilities and improve performance.
Identify the software that needs to be patched
Download the appropriate patches from the vendor's website
Test the patches in a non-production environment before applying them to production systems
Schedule downtime for applying patches to minimize disruption
Document the patching process for future reference
Q12. any location preferences
I am open to any location for the Linux Administrator position.
I am willing to relocate for the right opportunity
I have experience working in various locations and adapting to new environments
I am open to remote work options as well
More about working at TCS







Interview Process at TCS Linux Administrator

Top Linux Administrator Interview Questions from Similar Companies



Reviews
Interviews
Salaries
Users/Month

