LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Closed Thread
  Search this Thread
Old 03-04-2004, 04:10 PM   #1
Yin
Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
I need help with some commands plz!


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
 
Old 03-04-2004, 04:18 PM   #2
Greyweather
Member
 
Registered: Aug 2003
Distribution: Ubuntu 4.10
Posts: 311

Rep: Reputation: 30
1. Change the /etc/fstab entry for the device to something like:
Code:
/dev/cd      /mnt/cd    iso9660   noauto,user,ro    0     0
 
Old 03-04-2004, 04:24 PM   #3
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
2. Edit /etc/issue for local, /etc/issue.net for net logins
3. Edit /etc/motd to say whatever you want upon login
 
Old 03-04-2004, 09:01 PM   #4
Yin
Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thanks alot


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?
 
Old 03-04-2004, 09:09 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yin, did you read the rules? You do realize we won't do people's homework here.

As for your last question, type man find to get started.


Håkan
 
Old 03-05-2004, 10:36 AM   #6
Yin
Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 03-06-2004, 04:48 AM   #7
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
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.
 
Old 03-08-2004, 08:02 AM   #8
hwestell
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
LOL

Hey Yin.

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.


LOL
 
Old 03-08-2004, 08:42 AM   #9
wendigo1
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
I don't know who hwestell is but I am the REAL wendigo!

Yin -- can't you do your own assignment! Why don't you think for yourself?

I am warning the other professors about this!

h
 
Old 03-08-2004, 09:21 AM   #10
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yin said:
Quote:
This is not homework this is how the office wants me to setup their redhat linux 9
Yeah right. The other followups to your post seem to prove otherwise.


Håkan
 
Old 03-08-2004, 10:45 AM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
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.
 
Old 03-08-2004, 12:08 PM   #12
wendigo1
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
OPS235 Assignment

Dear Moderator

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!

Holly Westell
holly.westell@senecac.on.ca
 
Old 03-08-2004, 01:04 PM   #13
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I am closing this thread. If anyone has any questions please contact me.

--jeremy
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plz plz help me regarding route mapping nedian123 Programming 1 07-13-2004 08:17 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
Commands for Install/Uninstall/And everything else experienced user read plz Laptop2250 Linux - Software 2 10-22-2003 12:02 PM
plz, help me (plz realy ) h4ng4m3 Linux - General 10 08-18-2003 06:07 AM
redhat problems plz plz help sap666 Linux - Newbie 5 07-30-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration