CyberSecurity part 12

So we are on part 12, well done and thank you to everyone who has stuck with this so far. Today I am linking to s shell scripting crass course.

Joe Collins who presented the bash videos earlier also has a series of videos on shell scripting

Useful stuff

If you write a bash script, that needs the user to run as with elevated privileges this code may be handy.

if [ "$EUID" -ne 0 ]
  then echo "Please run as root / sudo"
exit

  else

Links

Tags

#CyberSecurity,#Shell,#Scripting


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay