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 03-27-2007, 04:50 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0

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:

$ 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, 05:05 PM   #2
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, 09:11 PM   #3
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.

Old 03-27-2007, 09:19 PM   #4
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.


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

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