LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-19-2013, 08:57 PM   #1
NightxSoul
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
Command Line Help


Hi i was wondering if you can help me do a command line for this. I am so lost and i need to pass my class.
Thank you.

Commands:

grep
wc
echo

Operators:

pipes
redirects
quotes
sets
anchors


Files:

/var/share/CS125/secure.log in your virtual machine
 
Old 02-19-2013, 09:02 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first read
Code:
grep --help 
wc --help 
echo --help 
--- then the manual pages ---
man grep
then 
man wc 
then 
man echo
to get out of the "man" page hit " q"

Also we will NOT do your homework BUT if you are stuck on something we will point you in the right direction

so post exactly what you have so far and what is not working and what you need it to do

Last edited by John VV; 02-19-2013 at 09:06 PM. Reason: typo
 
Old 02-19-2013, 09:04 PM   #3
NightxSoul
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
first read
Code:
grep --help 
wc --help 
echo --help 
--- then the manual pages ---
man grep
then 
man wc 
then 
man echo
to get out of the "man" page hit " q"
I still have no idea what you're talking about. Can you be more specific? thanks
 
1 members found this post helpful.
Old 02-19-2013, 09:09 PM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Please don't ask same question twice (same here)

To know about commands, read manuals:
Code:
~$ man <command_name>
To know about operators, you can follow this and this.

For files, let's know which Virtual machine?
 
1 members found this post helpful.
Old 02-20-2013, 02:27 AM   #5
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
or http://www.tldp.org/, man pages section
 
1 members found this post helpful.
Old 02-20-2013, 03:25 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Google will search the commands as well example "grep help" or "man grep" etc
 
Old 02-20-2013, 07:48 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by NightxSoul View Post
Hi i was wondering if you can help me do a command line for this. I am so lost and i need to pass my class.
Thank you.

Commands:

grep
wc
echo
ss64.com/bash for an "on-line"version of the man pages.

Quote:
Originally Posted by NightxSoul View Post
Operators:

pipes
redirects
quotes
sets
anchors
You can search for these concepts here...
 
  


Reply



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
[SOLVED] Cursor does not move to the bottom line and overwrite to same line on command line mesuutt Linux - Newbie 3 02-25-2012 08:04 AM
Print all PID folders from /proc line-by-line with this format (( PID: command-line )) courteous Linux - Newbie 7 12-12-2010 04:47 PM
awk command line: blank line record sep, new line field sep robertmarkbram Programming 4 02-21-2010 05:25 AM
xine command line? or some other command line only engine? lumix Linux - Software 2 08-10-2007 10:46 AM

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

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