cancel
Showing results for 
Search instead for 
Did you mean: 
Chetan_Tiwary_
Community Manager
Community Manager
  • 137 Views

Red Hat Linux Interview Series 29

Q.) One RHEL 8.8 VM is unable to boot and it is unable to find any root filesystem :

mount: special device /dev/mapper/vg1/data does not exist.

On rescue mode prompt, it is showing this :

#lvs
-bash: lvs: command not found
# lvdisplay
-bash: lvdisplay: command not found

How will you tackle this situation ?

 

Q.) Suppose somebody has removed the package responsible for /bin/cat and you are unable to use the cat command - how will you figure out which package provides the cat utility and install it ?

 

Q.)  Below is the output of "yum history" command :

[root@workstation ~]$ yum history
Loaded plugins: fastestmirror, priorities, universal-hooks
ID | Command line       | Date and time   | Action(s)   | Altered
----------------------------------------------------------------------
17 | install vim-go 	| 2024-10-23 04:18 	| Install 	| 5
16 | install vim 	| 2024-10-23 04:16 	| Install 	| 1
15 | --assumeyes --config /et | 2024-10-22 14:09  | I, U 	| 84

 What will happen if I run “ yum history rollback 15 ”  ?

 

Bonus Q.) What will happen in the above scenario if I run “ yum history undo 16

 

Level L2 and above

 

I'll be posting a series of Linux-related questions covering various skill levels. Feel free to share your insights and expertise. Your contributions will benefit learners at all stages, from those in current roles to those preparing for Linux interviews.

0 Replies
Join the discussion
You must log in to join this conversation.