How-to-Get-Started-with-Shell-Scripting-in-Linux

Symbol is called a bang. Where as /bin/sh & /bin/bash shows that commands to be executed either sh or bash shell. Below are the content of myscript.sh

2022-10-15



How-to-Execute-Shell-Commands-in-Python

we take another example in which we execute the cat shell command in Python using the subprocess module. import subprocessHow to execute shell command

2022-10-10


Shell-Script-to-Check-Github-Public-Repositories-And-Notify-–-TecAdmin

then echo -e "Dear Admin \n" > ${MAIL_LOG} echo -e "We found few public repositories in your GitHub account (${GITHUB_USER}) \n" >> ${MAIL_LOG} count=

2022-10-10



How-to-Disable-Shell-Access-to-User-Account-in-Linux

chsh -s /sbin/nologin {username} To change shell to nologin for the user named bobwe learn how to disable shell access for a user in Linux. This makes

2022-08-22






4-Ways-to-Check-Which-Shell-You-are-Using-on-Linux

we can clearly see that we are on the bash shell. $ lsof -p $$ How to check the valid login shells We have seen various ways that you can employ to ch

2022-07-29