Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
the institute is plaining to computerize the tass related to its student management.i hv been asked to implement the new computerized system in the institute.need to use shell scripting to create student management software as the computers in the institute run on the linux operating systems.the following task-list has been
*create 4: files(1st sem,2st sem,3st sem,4st sem)to store the semester-wise record of all students
*whenever a new student joins e institute,open the respective semester file and record the following details about the student:
student id(generate automatically)
f-name
l-name
stream id(CS/IT/ET/EE/EI/ME/CE)
PHONE
CITY
STATE
ZIPCODE
*whenever student leaves the institute,delete th his/her record from the respective file
*whenever student detail is changed,make appropriate changes in the respective student file
You will need to give us more detail.....and tell us what exactly is the question. e.g. do you need to know how to create the file, how to write date to the file, how to set up the fields, etc.
Also, where are you in the class---eg what commands/language are you expected to know?
the institute is plaining to computerize the task related to its student management.i hv been asked to to implement the new computerized system in the institute.need to use shell scripting to create student management software as the computers in the institute run on the linux operating systems.the following task-list has been
*create 4: files(1st sem,2st sem,3st sem,4st sem)to store the semester-wise record of all students
*whenever a new student joins e institute,open the respective semester file and record the following details about the student:
student id(generate automatically)
f-name
l-name
stream id(CS/IT/ET/EE/EI/ME/CE)
PHONE
CITY
STATE
ZIPCODE
*whenever student leaves the institute,delete th his/her record from the respective file
*whenever student detail is changed,make appropriate changes in the respective student file
Firstly I think it's conceptually flawed to delete the record
as soon as the student left (a retention period of a year or
so would still seem quite short).
Secondly, using flat files for this seems odd if the number
of students isn't very small. Have you thought about an OpenSource
RDBMS, like PostgreSQL?
It would pretty much naturally take care of the data integrity
and save you re-inventing the wheel...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.