Linux Interview Questions:
===========================
Linux Interview questions :
=============================
1).how much u can rate of yourself into linux os?
2). How to search error into multiple sub directories?
grep -r "ERROR" /path/to/logs/
3).if you want to search the multiple pattern .just error logs .
And failed logs and critical logs also and multiple pattern u can use it ? So how u are goig to do it ?
egrep -“E ERROR|FAILED|CRITICAL" /var/log/syslog
4).if you want to career the partition even u don’t’ have any space iisue and permiosnisuse and disks space suite ? So how do to it ?
5).what is the inode into linux os ?
6).what is the softlink and hardlink into linux os ?
7).how would different from the cp and hardlink command into linux os ?
8).find the logs for 3 days back . Want to list out the files and delete those file into linux os >
So how to do it ?
9).what is the called as the Curley brasis>
And semicolon?
This is the placeholder
You worked with lvm >
How to extend the lvm into linux os >
For extending the lvm do u need downtime ?
For rescuing the lvm we need a downtime
Logical extend into lvm ?
Check the volume group ? So how to check vis ?
If you want to extend the volume group ? Then what else u have to do ?
Can we extend the volume group with out using the physical volume group into linux os ?
How to reduce the logical volume into linux os ?
Have you mount any directory >
Target busy error > what could be the reason into it ?
Ueser is not able to login ? So how to do truobelshoting into it >
/bin/bash
/sbin/nologin = what does it mean>
“/bin/bash allows login, /sbin/nologin prevents login.” ✅
========
User is not bale to sudo ? She w do the troubleshoot into it ?
Wheel command where its located
What is wheel?
* wheel is a special user group on Linux/Unix systems.
* Users in the wheel group can use sudo to execute administrative commands.
* Mainly used to control who can become root.
2️⃣ Where is it located?
* Group definition file:
/etc/group
User not bale to login in your server ? So how to do the trolls
How to check list of avilible interfaces
Connection show:
Linux interview Questions :
1).How to recover accidently deleted /etc/fstab into linux os ? anyone deleted this /etc/fstab .after this we can' boot ur os. boot into recovery mode . then go to the linux terminal page . here we have to execute the blkid command here it will list out the avilble partions and attached filesystems . if your deleting the /etc/fatab.that time root parttion won't be work now we can mount the root parttion in rw mode mount -t ext4 -0 rw,remount dev/sda1 / 2).VMSTAT command into linux ? 3).iostat and dstat command into linux os ? 4).LInux free command into linux os ? in this way we can check it our the memeory usage and swap memeory as well. then it will display out the , used,space avilble ,total ,buffer/catche abd shared what is free space we can execute the command like as the, free -b command : we will get the particular output for the bits so if you want to getto int the outpit in kilobytes : so we can execut ethe comamnd like as the, free -k free -g: it will sh...
Comments
Post a Comment