LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Closed Thread
 
Search this Thread
Old 08-03-2009, 04:15 AM   #1
sweeney1988
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Question Fedora system log questions. Help!


*
I have been issued a number of questions for a college paper Im doing and was wondering is anyone could solve these questions I have received. Some feedback or answers to these would be greatly appreciated.

I'm running fedora 7 on a Microsoft virtual pc and these questions are for entry on the system log*
*
Write a script which will write the name of the current month, your username, your home directory as well as the name of your default shell, each on a separate line with appropriate explanatory statements i.e.
*
​This month is.
​My username is.my home directory is.
​My default shell is..

Please note that the script must produce the correct month, no matter when it is run and anyone running your script should have the correct values produced for their username etc.
*
Write a script which will prompt the user for the name of a file. If this file exists a message will be displayed to this effect. If this file does not exist then a suitable message should be displayed.
*
Write a script which will list on screen the names of the three most recently altered files in the current directory.
*
Write a script which will run after a delay of run minute and list on screen the names of all the files in your workspace. Please note that your file space is not just your home directory but also all the directories that you have created and there may be several levels of directories.
 
Old 08-03-2009, 04:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,396

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Good god no, it's your work, not ours, and the rules explicitly request you do not ask for direct help with homework. Feel free to ask about specific issues, but expecting full answers is insulting to us, and your education.

Last edited by acid_kewpie; 08-03-2009 at 04:23 AM.
 
Old 08-03-2009, 04:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
auth.log questions cody85 Linux - Security 1 02-09-2008 04:38 PM
2 Questions, Session Log Files & Boot Dakota42784 Ubuntu 7 11-17-2007 11:38 PM
system log(last log) john.s Linux - General 4 06-18-2006 04:20 PM
SDLQuake2 and /var/log/messages questions noxious Slackware 2 05-26-2005 07:31 PM
Questions from my Startup log hiplainsdrifter Linux - Newbie 1 03-30-2004 11:17 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration