Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


Closed Thread
  Search this Thread
Old 08-03-2009, 04:15 AM   #1
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 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
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
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 > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:18 PM.

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