![]() |
![]() ![]() ![]() ![]() ![]() |
Notes:
Shell scripts - great way to automate repeating tasks Once you know shell commands, there's no scripting language to learn
Shell Scripts
- Automate steps with a shell script
> cat > hwcgi.sh #!/bin/sh c89 -c helloworld.c ar -rv libhw.a helloworld.o c89 -c hwcgimain.c c89 -o hwcgi hwcgimain.o -L. -lhwExecute permission required to execute > chmod u+x hwcgi.sh > hwcgi.shSpecial scripts: /etc/profile and .profile