Download your favorite Linux distribution at LQ ISO.
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, 11: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, 10: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: 12,781
Blog Entries: 17

Rep: Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313
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 10: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 12:32 PM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 04:43 PM
3 Noob Quetions From A Noob DaveyB Slackware 20 08-11-2004 09:00 PM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 01:19 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 01:03 AM > Forums > Linux Forums > Linux - Newbie

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