An user not being able to ssh into a server, first I check whether it is an isolated case. If it is, the most likely cause in a prod environment is either he has forgotten his password or he has not bothered to change his password before expiry or he probably doesn't have account on the server itself. If the login is key-based, then I go into permission of the private key, or check if user's public key is present in remote server etc. But that is super rare. :D
@saumiyasomanathan5840 Жыл бұрын
This was so interesting. Its very boring to always watch something in a traditional way of basics to advance. This was nice with miced up all level of questions and with scenario based .❤plus, this is so deep.So many new things fr me.
@ServerGyan Жыл бұрын
Glad you enjoyed it!
@yashkumar00424 жыл бұрын
i was searching this type of videos from long time. Finally got it Server Gyan ! Thanks
@karamjeetdalal30244 жыл бұрын
Thanks for your outstanding contribution in terms of sharing knowledge for the welfare of society.
@ServerGyan4 жыл бұрын
Thank you dear for your words Happy learning
@leelakrishnan20204 жыл бұрын
Hi Lokendra, Thanks for your outstanding contribution in terms of sharing knowledge to the entire society,I'm requesting you to share some videos related with Magento,Apache & Nginx administration,Nagios & Zabbix network monitoring,solr search,God bless you for all your continuous efforts.
@ServerGyan4 жыл бұрын
Thank you dear, I will surely try for topic as per your suggestions
@MurangShaBu_MahalNaBiGas2 жыл бұрын
You earn a sub brother, I love Linux your videos helps me a lot.
@sriramketha76622 жыл бұрын
Thank you for detail explanation.
@yashthaker67264 жыл бұрын
Always Informative. Thankyou sir
@SandeepSingh-hn6it3 жыл бұрын
Beautiful. Thank you for sharing this! Much Appreciated! I have some query could you help us. 1. what is the command of clear the disk space in Linux/CentOs 2.if CPU goes above of set threshold, what could be the reason and what should be the troubleshoot action ? 3.How to check Disk read and write bytes what is the command ?
@SandeepSingh-hn6it3 жыл бұрын
Sir Dil to mere hai.. app ne Comment ka Jabab nahi diya gol kar diya..hahaa Can you please
@ServerGyan3 жыл бұрын
Hi You need to analyse data which can be deleted on server, then you can remove unwanted data. Use du -sh command do analyse You top command to check cpu usage SAR, or iostat, iotop or dstat command to check disk io
@SandeepSingh-hn6it3 жыл бұрын
@@ServerGyan Great Sir. Thanks, please make shell scripting for this is very imp for who will be try to Cloud as my undersetting.
@Ather1783 жыл бұрын
Beautiful. Thank you for sharing this! Much Appreciated!
@emmittkyrie29653 жыл бұрын
you prolly dont give a damn but does someone know a method to get back into an Instagram account? I somehow lost the login password. I love any assistance you can offer me
@westleytitan46403 жыл бұрын
@Emmitt Kyrie Instablaster =)
@emmittkyrie29653 жыл бұрын
@Westley Titan thanks so much for your reply. I got to the site thru google and im in the hacking process atm. I see it takes quite some time so I will get back to you later with my results.
@emmittkyrie29653 жыл бұрын
@Westley Titan It worked and I now got access to my account again. I'm so happy! Thanks so much you saved my account :D
@westleytitan46403 жыл бұрын
@Emmitt Kyrie glad I could help :)
@yashsinha56693 жыл бұрын
Thanks very much for such informative videos sir...
@naveenkadari16983 жыл бұрын
It was nice and please add more realtime scenario in linux
@ServerGyan3 жыл бұрын
Sure dear, I will keep on adding new videos Thanks for suggestion Happy learning
@saimurthy36803 жыл бұрын
Good explanation👍
@saumiyasomanathan5840 Жыл бұрын
Isn't that listening port and ipv4 ipv6 are in comment form .. are they still active with that hash ( comment) ? A genuine doubt , sir since I am a student. My question is about first question sshd file.
@harispalegar68063 жыл бұрын
Thanks for the sharing
@ServerGyan3 жыл бұрын
Happy learning dear
@sharma20294 жыл бұрын
Thank you 😇... Like this make video of aws
@ServerGyan4 жыл бұрын
Sure dear...
@sriramketha76622 жыл бұрын
I have a doubt, i shared a file and in a group vfx, suppose 50 users added, i want only 4 members specially in a group can have access to delete or edit that file?
@ServerGyan2 жыл бұрын
Sure, you can set ACL for those users on files
@abhinavpaul59604 жыл бұрын
can you please explain in short how load average is calculated in linux ?
@moizshaikh4480 Жыл бұрын
Run Que length is formula of calculate load average
@moizshaikh4480 Жыл бұрын
Load average is Cumilative and Combined load of system. If u run command load average then u will get 3 diffrent load averages.1st one is Load average of last 1 min, 2nd is Load average of last 5 mins and 3rd one is load average of last 15 mins load of your system. I hope this was helpful.
@nitinrawat94774 жыл бұрын
I have been asking u this same question for 3 months.. what's the difference between permissions given by chmod and suid ....but despite saying you would include it in ur coming videos...u never answered it or included it in any of ur videos......... also tell me what will happen if we don't include #!/bin/bash in our script.....will it run or not...or will generate error.... also difference between authorized_keys and known_hosts files
@ServerGyan4 жыл бұрын
Dear Nitin, Sorry for the same, Let's start with chmod and suid chmod command is used to assign permission to a file or directory. It can assign permission to user, group or others only. but if you need to assign/revoke permission for a single user then you need to use setfacl command. SUID is used to assign special permission on any executable file, such as PING command. if you run ping command as non root user, it gets executed as root because of suid. if you remove suid, you won't be able to run ping command. In short, if you want a file to be executed as of its owner is executing it, we need to use SUID. Now let's talk about #!/bin/bash If you add this in script then you don't need to specify script file name ending with file.sh, your script will run without .sh ececution. but if you don't write #!/bin/bash then you need to mention. I hope this answers your question.
@nitinrawat94774 жыл бұрын
@@ServerGyan u left the 3rd question....
@prashantjaiswal14 жыл бұрын
@@@nitinrawat9477: when we try to connect any client through ssh, it sends its private key to client-server and it gets copied to the destination server and later it is used to authenticate that client knows the server. If your private key gets changed, your connection will get failed. This private key file resides in client known_hosts file and it used to identify the server identity through saved private key. known_hosts resides on the client."authorized_keys" resides on the server
@maimoonamirza56264 жыл бұрын
@@nitinrawat9477 are you paying him tuition fees. Have some courtesy and respect. U are asking him questions as if he owes something to u
@nitinrawat94774 жыл бұрын
@@maimoonamirza5626 dear friend it's not about money it's about courtesy and loyalty to his loyal subscribe.... Please first go and check how many times I have asked him those questions.... He also promised me to answer them in his next video but he didn't.... I waited to 2 months but when he didn't, I have just commented to make him remind of his promise.... If his subscriber can't even ask questions to him what's the point then..... I have not used bad or improper word for him..... Please have some common sense before judging someone....
@rahulmahure34 жыл бұрын
Hello Sir, I have few questions which was asked me recently 1. What details you give to Storage Team to Extend the Disk 2. What command you used to see which LUN is Assign with Which Disk 3. If 10GB is added by Storage team but you are not able to get that 10GB then how we troubleshoot it
@rejibs4 жыл бұрын
Have faced same questions..
@prashantjaiswal14 жыл бұрын
@Rahul: 1: we need to provide the WWN number to the storage team and they can assign a new LUN/storage based on the WWN number. 2:you have to first scan the newly assigned luns using the echo command echo "- - -" > /sys/class/scsi_host/host*/scan. then you can use multipath -ll command or you can use ls -la /dev/disk/by-id/. it will show the luns assigned. 3: as earlier said, you have to scan the disk and it will show newly added disks. Hope this answers your question
@rahulmahure34 жыл бұрын
@@prashantjaiswal1 Thank You Prashant We can also scan the newly assigned luns by using sg3 package but Need to install sg3 package on server and then just run the below Command:- # rescan-scsi-bus.sh OR # /usr/bin/rescan-scsi-bus.sh
@ServerGyan4 жыл бұрын
Thank you dear, I missed it somehow
@siyaramkumar99124 жыл бұрын
1. How can i check which process running on particular cpu. 2.in LVM my disk is corrupt how to find which disk is corrupt and hiw to recover that data. How to replace it . 3. What to do when try to up my system but its doesn't work, tell how to troubleshoot without my system running. Pls reply sir. If you have some real time interview questions than pls share with me. Because due to pandemic i lost my job so i really need these thing.😢😢
@ServerGyan4 жыл бұрын
Okay I will share answers
@SilentSolution3 жыл бұрын
Thanks for your information sir
@ServerGyan3 жыл бұрын
Thanks dear Happy learning
@santanushan4 жыл бұрын
Hi Sir, can you please make a video regarding converting a boot volume into LVM type
@ServerGyan4 жыл бұрын
Dear Santanu, If it's created on aws, by default it's lvm backed up.
@grvkmr14 жыл бұрын
fascinated session
@Mhmdd7864 жыл бұрын
Thankyou sir...
@akgollapalli2094 жыл бұрын
Can you explain how to calculate load average? Plz
@moizshaikh4480 Жыл бұрын
Run que lengh is formula of Calculate load average. In short Load average= Running Processes + Runable processes
@moizshaikh4480 Жыл бұрын
Hope u have got ur answer
@simplestuffsbyash47213 жыл бұрын
Hi ServerGyan, Could you please tell me the answer for the below question: 1. Write one "find" command sequence that search a file name "debug.log" under /var/log/debug and replace string "WARN" to "ERROR" 2. I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
@gauravmaurya20303 жыл бұрын
Set SUID bit on the user mode to accomplish the task.
@nandhinisakrapani33642 жыл бұрын
Use SUID , place value 4 before in the unmask value
@ashishgupta3788 Жыл бұрын
2. Sticky bit -----> chmod o+t filename or chmod 1777 filename.
@chaitanyakumar82134 жыл бұрын
Bro I have a question, I have 100MB files in my Linux server but I don't know in which directories are present. So I have to find all 100MB files in all directories and remove them. How we can solve this question?
@ServerGyan4 жыл бұрын
Please use find command for the same And use size parameter
@chaitanyakumar82134 жыл бұрын
@@ServerGyan can you provide the command for the same?
@ankitapalekar3566 Жыл бұрын
@@chaitanyakumar8213 Find / -type f -size 100M -exec rm -rf {}\;
@basavarajn9952 жыл бұрын
I am not able to login server I am getting sudo file error
@DesisettyRameshRam3 жыл бұрын
Hi brother How to allocate multiple particians Like 10 particians Can you explain one time please
@ServerGyan3 жыл бұрын
Can you please explain your question a little more
@DesisettyRameshRam3 жыл бұрын
Multiful pathing how to create. Is there any short cut method is there
@ServerGyan3 жыл бұрын
There is no shortcut method for configuring it
@amrutpatane74874 жыл бұрын
Hi Sir, Please bmake font bigger. Not able to see properly
@amrutpatane74874 жыл бұрын
* make
@ServerGyan4 жыл бұрын
Okay dear, will take care next time
@ramireddypoli88732 жыл бұрын
Accidently run chmod -R / abc:abc what will happen, what will the impact in o.s
@ServerGyan2 жыл бұрын
Multiple services will stop working
@kiranmahi1432 жыл бұрын
4years experience azuredevops scenario Based interview Question and Answer tell me bro 🙏🏻plz
@hamedhamed-ox9ty4 жыл бұрын
iam unable to find httpd.service file
@ServerGyan4 жыл бұрын
How did you install service
@hamedhamed-ox9ty4 жыл бұрын
Yum install httpd*
@ashishgupta3788 Жыл бұрын
@@hamedhamed-ox9ty did you press "y" after that??
@prabhakarant5424 жыл бұрын
Waiting
@sanjupdsah4 жыл бұрын
ssh -add ??
@abhinawsingh1 Жыл бұрын
Thanks
@shubhampansare-tm1bf Жыл бұрын
i got 3 questios from this vid. in interview
@ServerGyan Жыл бұрын
Wow, 😃 Happy learning
@visheshsingh32354 жыл бұрын
hi sir ! how we know that particular service is using some specific CPU . is there any command or we have to check CPUAffinity ?
@ServerGyan4 жыл бұрын
ps -o psr 27395. You can check with following command
@visheshsingh32354 жыл бұрын
@@ServerGyan thank you sir
@visheshsingh32354 жыл бұрын
@@ServerGyan your videos are very good . i had crack my Ericsson interview with the help of your tutorials Thank you