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.
1. setup your system so that the command "mount /dev/cd" will attached a CD-ROM to the directory "/mnt/cd"?
2. setup your system login banner to say "Open System - Open for Business" (to be displayed on all virtual consoles before the login prompt)?
3. setup your system login message to say "If you cannot remember the syntax, check out the man pages." (User should see this after login to the system)?
I need a command for each question. I;ve been doing research and i am having trouble finding the answers to these plz help me!!! Thank you
I also need help on some ls commands:
(a) A listing of all the files under the /etc directory and its sub-directories that have been created or changed since the system was booted.
(b) A listing of all the files under the /dev directory and all its sub-directories that have been created or modified in the last 30 minutes.
(c) A listing of all the files under the /home directory and all its sub-directories that have been created or modified within the last 7 days.
(d) A listing of all the files under the /tmp directory and all its sub-directories that were more than 30 days old
I can't seem to find the ls commands that execute them?
This is not homework this is how the office wants me to setup their redhat linux 9 and I dunno how to do it. The head technician resigned so i have to do all the crap temporary.
Yin, I think what he was getting at, is you have to RTFM every once in a while. If you actually read "man find", I think you'd have an answer to all the questions you presented last. Volunteers would much rather help people with real problems, rather than having to think for somebody and spoon feed them answers they should be able to obtain themselves.
Good thinking, posting your OPS235 assignment on a message board.
Here is the full assignment:
Complete the flowing tasks on your system (5 points for each completed task).
(a) setup your system to boot to run level 3
(b) set the timeout for LILO to boot to the default OS in 15 seconds
(c) setup your system so that the command "mount /dev/cd" will attached a CD-ROM to the directory "/mnt/cd"
(d) install the Red Hat rpm package for the "tree" utility (from the 2nd Red Hat Linux 9.0 CD)
(e) setup your system login banner to say "Open System - Open for Business" (to be displayed on all virtual consoles before the login prompt)
(f) setup your system login message to say "If you cannot remember the syntax, check out the man pages." (User should see this after login to the system)
2. Research on your Red Hat Linux 9.0 system to come up with sets of commands to accomplish the following tasks (10 points for each completed task):
(a) A listing of all the files under the /etc directory and its sub-directories that have been created or changed since the system was booted.
(b) A listing of all the files under the /dev directory and all its sub-directories that have been created or modified in the last 30 minutes.
(c) A listing of all the files under the /home directory and all its sub-directories that have been created or modified within the last 7 days.
(d) A listing of all the files under the /tmp directory and all its sub-directories that were more than 30 days old
Put each set of commands in a seperate file. Name the file for task (a) as "asgm1a.sh", task (b) as "asgm1b.sh", etc.
LOL.
I have reported you to the academic dishonesty department.
Originally posted by Yin 3. setup your system login message to say "If you cannot remember the syntax, check out the man pages." (User should see this after login to the system)?
(My italics)
Good advice.
This is clearly a homework question, the wording and requirements of each question give that away immediately.
Quote:
From the Rules Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
I am going to leave this open, for now, since the answers may be of use to other users. However, please do not use this forum as an easy answer site. Reading the man pages and the how to pages, as well as online documentation, will be of greater use to you than simply asking others to complete your assignment for you.
I am an instructor at Seneca College - Don Mills Campus in Toronto, Canada
I have given out the OPS235 assignment for my students to work on. This is NOT something resulting from the "head administrator resigning" bull___
Expecially having the &*&*(& to post the assignment word-for-word tells anyone "listening" that this is not "from the office" but a college/university assignment.
I would appreciate any information that you can give me about the identity of YIN....
Also, deleting the thread would help me crucify the student in question!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.