Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What are some practices for writing shell scripts?

user-image
Question ajoutée par dana tutunji , Architect , Helou Trading Co
Date de publication: 2013/06/30

1-Develop and test a program to reenter fields during data entry2-Create a program algorithm to solve a cursor repositioning problem3-Create shell functions and use them in a program4-Develop and test a program to eliminate duplicate records5-Load shell functions automatically when you log in6-.
Automating your daily tasks.
For example, to back up all the programs at the end of the day.
7- Executing important system procedures, like shutting down the system,  formatting a disk, creating a file system etc.

Ravi K
par Ravi K , RAKBANK

you can try starting off with writing a loop to cat /etc/passwd and then extracting the user id using awk.
after that you can use the userid to list specific properties using for.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?