I’m going through this book command line and shell scripting bible. Unfortunately I don’t really understand how it works.
In this examples I would make a file lets say ‘test’
In this file it would say
#This script displays the date and who’s logged in
then I would save the file and type in chmod u+x test
giving my user permission to execute the file.
./test in ubuntu it worked
I tried looking other peoples topics on here and on the web but I’m too much of a noob to understand what their talking about. Is there a simple solution for this? I do understand nixos is preinstalled with sh shouldn’t i be able to change the nixos/configuration with bash instead? sorry for such a basic question.
I appreciate any help I get.