LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
Guru
 
Registered: Aug 2005
Posts: 12,901

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
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,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
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
Location: Italy
Distribution: Slackware, NetBSD
Posts: 1,313
Blog Entries: 5

Rep: Reputation: 260Reputation: 260Reputation: 260
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,638
Blog Entries: 1

Rep: Reputation: 229Reputation: 229Reputation: 229
Hi

Google will search the commands as well example "grep help" or "man grep" etc
 
Old 02-20-2013, 07:48 AM   #7
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,314
Blog Entries: 5

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


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


All times are GMT -5. The time now is 10:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration