Register | Login

Published Articles » Shell Scripting

In order to run a shell script we need to use the following command.

$ sh

sh will point the shell and execute the script called

Another method is to execute by changing the permission of the shell script

chmod 755


Note: In this method it is mandatory that you need to use she-bang code in the top of your script. A

/ - the root directory

/boot - keeps all information required for booting

/etc - keeps all configuration files

/bin - binaries required for the system to operate

/usr/bin - binaries of application for system to operate

/sbin - binaries  required for the system and only for root user

/usr/sbin - binaries of application for root user


Sort News


Remember:, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.