LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 12-06-2004, 01:47 PM   #1
mathern0622
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
Why are they sooo hard??


I am trying to get this list of command line issues that I am having. I am almost completely done here. Here are the last questions that I need answered...

1. Find the number of lines, words and bytes in the file /home/jo/newpoem

2. Redirect the output of the ps -aux command to a file called curprocs.

3. Find all the files that start with the word "messages" in /var. ( i think you will need to use a wild card here)


These are the last of them......God willing I will never have to mess with these again!!!! PLEASE HELP!!!!
 
Old 12-06-2004, 01:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Homework isn't meant to be easy - keywords "wc, stdout, grep"
 
Old 12-06-2004, 01:57 PM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Re: Why are they sooo hard??

Quote:
Originally posted by mathern0622


2. Redirect the output of the ps -aux command to a file called curprocs.

example

Code:
ps aux > /root/txt
 
Old 12-06-2004, 02:21 PM   #4
mathern0622
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Exclamation LOST

I am still having problems.........i think that i am looking at the (wc) for the 1st one. I am soo lost!

1. Find the number of lines, words and bytes in the file /home/jo/newpoem

3. Find all the files that start with the word "messages" in /var. ( i think you will need to use a wild card here)
 
Old 12-06-2004, 02:37 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
From the LQ Rules
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
I am closing this thread. If you disagree with this action, please email me with reasons as to why you disagree. And in my sig block (below), you will see a link to RUTE, all your answers are in there.
 
  


Closed Thread



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! I'm SOOO mad! colinstu General 13 08-12-2005 12:37 AM
Sooo Many ATI posts!!!!! Xaque208 Slackware 3 03-11-2005 08:18 PM
Im sooo sooooo Stupid ginda Linux - Security 2 10-19-2004 07:48 PM
Slack is sooo good dhave Slackware 1 10-15-2004 01:32 PM
Why is CL9.0 sooo slow???? bruno buys Conectiva 1 12-11-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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