Add office photos
Employer?
Claim Account for FREE

Magnon Solutions

2.7
based on 20 Reviews
Filter interviews by

10+ Alok Vastralaya Interview Questions and Answers

Updated 5 Feb 2024

Q1. How to configure Apache server in red hat 7.9

Ans.

To configure Apache server in Red Hat 7.9, follow these steps:

  • Install Apache using yum package manager

  • Start Apache service and enable it to start at boot

  • Configure firewall to allow HTTP traffic

  • Create virtual hosts for multiple websites

  • Configure SSL/TLS encryption for secure connections

Add your answer

Q2. What is use for lsblk command in rhel

Ans.

lsblk command is used to list block devices in RHEL.

  • Displays information about all available or the specified block devices.

  • Shows the device name, size, mount point, and file system type.

  • Can be used to identify unmounted disks or partitions.

  • Can also be used to check the status of a disk or partition.

  • Example: lsblk -a -o NAME,SIZE,MOUNTPOINT,FSTYPE

Add your answer

Q3. How to create blank file in rhel

Ans.

To create a blank file in RHEL, you can use the 'touch' command.

  • Open the terminal in RHEL.

  • Use the 'touch' command followed by the desired file name to create a blank file.

  • For example, to create a file named 'example.txt', you would run: touch example.txt

  • The 'touch' command can also be used to update the timestamp of an existing file.

View 1 answer

Q4. How to kill process in rhel 7.2

Ans.

To kill a process in RHEL 7.2, use the 'kill' command followed by the process ID.

  • Identify the process ID using 'ps' command

  • Use 'kill' command followed by the process ID to terminate the process

  • Use 'kill -9' command to force kill the process if it doesn't respond to regular kill command

View 1 answer
Discover Alok Vastralaya interview dos and don'ts from real experiences

Q5. How to set permission in directly

Ans.

To set permissions in a directory, use the chmod command followed by the desired permission code.

  • Use the chmod command followed by the permission code (e.g. chmod 755 directory_name)

  • The permission code consists of three digits, each representing the permission for owner, group, and others respectively

  • The digits are calculated by adding the values of the desired permissions (read=4, write=2, execute=1)

  • For example, 755 means owner has read, write, and execute permission, while ...read more

Add your answer

Q6. What is cron tab & how to setup

Ans.

Cron tab is a time-based job scheduler in Linux used to automate repetitive tasks. It runs in the background and executes commands at specified intervals.

  • Cron tab is configured using the 'crontab' command

  • Each user has their own crontab file located in /var/spool/cron/crontabs/

  • The syntax for setting up a cron job is: * * * * * command-to-be-executed

  • The five asterisks represent the minute, hour, day of the month, month, and day of the week respectively

  • Examples: 0 0 * * * /path/...read more

Add your answer
Are these interview questions helpful?

Q7. How to install packages in rhel

Ans.

To install packages in RHEL, use the yum package manager.

  • Open the terminal and log in as root or use sudo

  • Use the command 'yum install package_name' to install a package

  • Use 'yum search keyword' to search for a package

  • Use 'yum update' to update all installed packages

  • Use 'yum remove package_name' to remove a package

Add your answer

Q8. Entry of local repo in rhel 7.2

Ans.

To add a local repo in RHEL 7.2, create a .repo file in /etc/yum.repos.d/ directory.

  • Create a .repo file in /etc/yum.repos.d/ directory

  • Add the necessary details like name, baseurl, enabled, gpgcheck, etc. in the .repo file

  • Save the file and run 'yum clean all' command to clear the cache

  • Run 'yum repolist' command to verify if the local repo is added successfully

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. How to create LVM partision

Ans.

To create LVM partition, first create physical volumes, then create volume group and finally create logical volumes.

  • Use pvcreate command to create physical volumes

  • Use vgcreate command to create volume group

  • Use lvcreate command to create logical volumes

  • Use mkfs command to create file system on logical volumes

Add your answer

Q10. Diffrence between rhel vs centos

Ans.

RHEL is a commercial distribution with paid support, while CentOS is a free, community-driven distribution.

  • RHEL is developed by Red Hat and requires a paid subscription for support and updates.

  • CentOS is a community-driven distribution that is free to use and receives updates from the community.

  • Both distributions are based on the same source code and are binary compatible.

  • CentOS is often used as a free alternative to RHEL for those who do not require paid support.

  • RHEL is often...read more

Add your answer

Q11. Diffrence between yum vs weget

Ans.

yum is a package manager for RPM-based Linux distributions, while wget is a command-line tool for downloading files from the internet.

  • yum is used for installing, updating, and removing packages on a system

  • wget is used for downloading files from the internet, including packages

  • yum uses repositories to manage packages, while wget can download files from any URL

  • yum can resolve dependencies automatically, while wget does not

  • yum is specific to RPM-based distributions like Red Hat ...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Linux System Administrator Interview Questions from Similar Companies

3.8
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter