LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 02-27-2013, 10:29 AM   #1
joekazama
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Noob needs HELP!


Hello all, Joe here,

Im panicking because I'm taking a class on intro to linux, and everything was fine, we were using chown, and chmod, and ls, and pwd, and now i've got this assignment where I have a giant .log file and I have to grep and sed, and tr, and start_date time, without time, and organize all this info.

I would say that I have no idea but im pretty close to having NO IDEA how to sift that info out and organize it properly.

For example. Theres dates in within the .log. the dates are inside of [] how do i find the earliest date and the latest date within the file???

any and all info would be appreciated

thanks - joe
 
Old 02-27-2013, 09:26 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Welcome to LQ.

Writing a manual on how to use those commands is a bit beyond the scope of the forums, but a web search is your friend. We are more equipped to answer specific questions.

Here's some guidance from the LQ rules:

Quote:
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 searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.
This manual is an excellent resource:

http://tille.garrels.be/training/tldp/

Tuxfiles has excellent tutorials; some of the most useful ones I've found are there: http://www.tuxfiles.org/

The LQ search feature might also be helpful. The topics you mention have been frequent topics in other threads.

Last edited by frankbell; 02-27-2013 at 09:28 PM.
 
  


Reply

Tags
grep, sed, tr



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
PS3 YDL NOOB (linux NOOB completly) korn_16_f_t_l Linux - Newbie 1 07-09-2008 11:32 AM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
3 Noob Quetions From A Noob DaveyB Slackware 20 08-11-2004 08:00 PM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 12:19 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM

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

All times are GMT -5. The time now is 02:24 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