Курсов проект КМ 2012/2013
From Ilianko
- Bash Shell
- Write a Bourne shell script that takes a list of integers as the command line argument and displays a list of their squares and the sum of the numbers in the list of squares.
- Write a Bourne shell script that takes a machine name as an argument and displays a message informing you whether the host is on the local network.
- Write a shell script to help monitor the health of your /etc/passwd file.
- Find entries that have UID 0.
- Find entries that have that have no password (needs /etc/shadow).
- Find any sets of entries that have duplicate UIDs.
- Find entries that have duplicate login names.
- Find entries that have no expiration date (needs /etc/shadow).