Write a shell script to calculate the total salary payable to all the employees from the employee file. The salary should be taken from the 5th field of the employee file.

Let the Employee file be (Employee.txt): 1 Tushar Coder 6-2-91 40000 2 Ankur Analyst 21-2-91 35000 3 Ravi Designer 23-4-90 37000 4 Bhupender Tester 7-6-91 41000 5 Sumit Coder 5-9-90 40000 6 Arnab Tester 12-8-90 30000 Type in the Terminal                   awk ‘{a+=$5}END{print a}’ Employee.txt

Macros Program to increment number by 1.

Steps in building the Macros: 1. In Terminal enter vi tushar.txt 2. Type i followed by 1 3. Press [Esc] key (to enter into command mode) 4. Press q followed by a ( q indicates start recording )                                  ( a indicates to store the recording in register a ) 5. Press [Esc] then yy […]