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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Your script should prompt for a menu to get the following system information and modify some information accordingly:
1.Display Current Date and time, the time should be in 12 hours format.
2.Open a text editor to edit a file.
3.Get a user name and show his default shell. Your script should be able to change the default shell of that user.
4.Show the operating system name, kernel version, and your home directory.
5.The number of users who are currently logged in. Also show the number of users in your group.
6.Show the computer CPU information, like processing speed etc.
7.Display the directories in the PATH variable. You should also be able to add a new directory at the path variable. The information should be shown in a simple user friendly way that is you may show each directory in the path variable in a new line.
8.Display a summary of the disk space usage for each directory argument.
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
Above is the standard homework response. My personal policy is to close the obvious "cut and paste" homework postings. I encourage you to start a new thread which complies with the guidelines above.