Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-27-2013, 10:29 AM   #1
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
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,798
Blog Entries: 13

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
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:

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:

Tuxfiles has excellent tutorials; some of the most useful ones I've found are there:

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.


grep, sed, tr

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
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

All times are GMT -5. The time now is 02:14 AM.

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