LinuxQuestions.org
Help answer threads with 0 replies.
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 03-27-2007, 03:50 PM   #1
bitsandbyte
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Commands


I've got a quick question. I am trying to write code inside of the termnial on Gentoo and I have to put in this:

Code:
$ zcat < data.tar.gz | tar xv
How would I type it out inside of terminal? I don't quite get the "|" and where it is at.

Thanks in advance.
 
Old 03-27-2007, 04:05 PM   #2
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
If you are using a normal en-US keyboard, it is right above the "Enter" or "Return" key. It is shift part of the "\" key.
 
Old 03-27-2007, 08:11 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
What are you trying to achieve?

It looks like you just want to extract the archive. Why not just use "tar -xzvf data.tar.gz"?

As for the |, read up on the internet about piping.

--Ian
 
Old 03-27-2007, 08:19 PM   #4
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
I don't think he was asking about piping, but wanted to know where to find the key for it. Which I could see being difficult to find, since on most keyboards it is two small vertical lines as oppose to one larger vertical line.
 
  


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
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
where are the commands...?!? Syntron Linux - General 7 10-19-2004 07:15 AM
commands merchtemeagle Linux - Newbie 6 10-12-2004 10:38 AM
commands omar Slackware 9 02-21-2003 11:55 AM
Need help with commands? bullwinkel Linux - Newbie 5 03-21-2002 07:15 PM

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

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