Day 5 | Linux 50+ Shell Script Realtime Scenario Based Interview Questions | Watch Now 🔥
HTML-код
- Опубликовано: 27 авг 2024
- #engrabhishekroshan
Support My Own Courses Website : www.abhishekro...
Support My blogging Website : freshertube.com
In this video I have explained below Linux Shell Script Realtime Scenario Based Interview Questions and Answers In Detail.
Q21: How do you concatenate strings in shell scripting .
Q22: What is the purpose of the dirname command in shell scripting.
Q23: How do you perform arithmetic operations in shell scripting.
Q24: What is the purpose of the set command in shell scripting.
Q25: How do you check if a directory exists in shell scripting .
Click the below link and Join the membership
Join this channel to get access to perks:
/ @engrabhishekroshan
Watch Hindi Playlist of Linux 100+ Realtime Scenario based interview Questions and Answers
अब हिंदी में
Part 1 • Linux 100 + Realtime S...
Part 2 • Linux 100 + Realtime S...
AWS 300 + Realtime Scenario based Interview questions and answers explained in detail
Part 1 : • AWS 300 + Realtime sce...
Part 2 : • AWS 300 + Realtime sce...
Part 3 : • AWS 300 + Realtime Sce...
Part 4 : • AWS 300 + Realtime Sce...
Watch English Playlist of Linux 100 + Realtime Scenario Based Interview Questions and Answers Explained in Detail
Part 1 • Linux 100 + Realtime S... ( In this video I covered 8 Q&A)
Part 2 • Linux 100 + Realtime S... ( In this video I covered 10 Q&A)
Part 3 • Linux 100 + Realtime S... ( In this video I covered 10 Q&A)
Part 4 • Linux 100 + Realtime S... ( In this video I covered 12 Q&A)
Part 5 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 6 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 7 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 8 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 9 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 10 • Linux 100 + Realtime S... (In this video I covered 12 Q&A)
Part 11 • Linux 100 + Realtime S... (In this video I covered 10 Q&A)
Part 12 • Linux 100 + Realtime S... (In this video I have covered 10 Q&A)
Part 13 • Linux 100 + Realtime S... (In This Video I have covered 1 Scenario based Interview Q&A )
/ abhishek-roshan-424591112
/ abhishek88roshan
/ engr.abhishekroshan
#linux #shellscripting #interviewquestions #realtimescenarios #linuxcommands #bashscripting #technicalinterviews #scriptingchallenges #itinterviews #programming #linuxinterview #shellscriptexamples #jobpreparation #codinginterviews #automationscripts
Disclaimer: Copying, reproducing, or distributing this video content without permission is forbidden. Uploading, sharing, or using this content for any purpose, whether commercial or non-commercial, without the owner's explicit consent, will result in legal consequences. All rights reserved.
Hi Sir, When you will upload the rest of the videos for this series?
Will upload soon
Hi sir can you suggest me joboffer as fresher in linux administrator
Any reference sir
Here's the link to connect with me
ruclips.net/channel/UCn2ZGN0TEGhgoDDiT8S3m4wjoin
Sir Today I had an interview they asked questions if the user was not able to login with the correct credentials the user would have full permission what will be the reason
If a user is unable to log in with the correct credentials but still has full permissions, there are a few potential reasons for this. Here are some common scenarios to consider:
1.Password Expiry
The user's password might have expired. Even though the credentials are correct, an expired password can prevent login.
Check: Use the chage command to see the password expiry information
sudo chage -l username
2. Account Lockout
The user's account might be locked. This can happen due to too many failed login attempts.
Check: Look at the /etc/shadow file for the account status or use the passwd command
sudo passwd -S username
If the account is locked, it will show as "L" (Locked).
3. SSH Configuration Issues
If logging in via SSH, there might be issues in the SSH configuration such as restrictions on certain users or incorrect permissions on .ssh directory or files.
Check: Inspect the SSH configuration files and ensure correct permissions.
sudo nano /etc/ssh/sshd_config
ls -ld /home/username/.ssh
ls -l /home/username/.ssh
4. Home Directory or Shell Issues
The user's home directory might be missing or there might be issues with the default shell specified for the user.
Check: Ensure the home directory exists and is accessible.
ls -ld /home/username
Also, check the default shell.
grep username /etc/passwd
5. PAM (Pluggable Authentication Modules) Configuration Issues
There might be issues with the PAM configuration, which can prevent login even with correct credentials.
Check: Inspect the PAM configuration files, typically found in /etc/pam.d/
6. Network Issues or Service Misconfiguration
Network issues or misconfiguration of the login service (like SSH, GDM, etc.) might be causing login problems.
Check: Ensure network connectivity and that the login service is running correctly
6. Network Issues or Service Misconfiguration
Network issues or misconfiguration of the login service (like SSH, GDM, etc.) might be causing login problems.
Check: Ensure network connectivity and that the login service is running correctly
7. Filesystem Issues
Filesystem issues, such as disk full or corruption, might prevent proper login even with correct credentials.
Check: Check disk space and filesystem integrity.
df -h
sudo fsck /dev/sda1