Hạnh Nguyễn
Member
How do you write a script to automate a task in Linux?
Answer
Shell scripts are designed to be run on the
command line on UNIX based systems.
…
Customising shell scripts
Answer
Shell scripts are designed to be run on the
command line on UNIX based systems.
…
Customising shell scripts
- To hold a text program, we need to create a text file.
- Choose a shell to write the script.
- Add the necessary commands to the file.
- Save the file.
- Change its permissions to make the file executable.
- Run the shell program.