LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-09-2002, 03:51 PM   #16
SiliconBadger
Member
 
Registered: May 2002
Location: Houston
Distribution: Gentoo
Posts: 32

Rep: Reputation: 15
I see...


Thanks for the info on the > /dev/null & part. That will be useful... how is that related to the | (pipe), which allows the piping of output as in tar -tf linux-2.4.18.tar.gz|egrep kde?

I see your point about the tips, acid_kewpie. This is a general problem I have with putting too much effort into forum posts.
 
Old 05-09-2002, 04:00 PM   #17
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
> and |

> is used to redirect the SDTOUT of a process into a file (the work of writing to the file is being done by the shell)

| is used to redirect SDTOUT into SDTIN of another program.

Also useful is the < , which is used to read a file as STDIN for a process... This often gets neglected in favor of cat however.

Almost everywhere you see:
cat filename | someprogram

Can be re-written as:
someprogram < filename
 
Old 05-18-2002, 10:36 PM   #18
tifkat
Member
 
Registered: May 2002
Location: Perth, Australia
Distribution: Slack, RH, *BSD, Tru64/DECUnix/OSF1/Ultrix, Solaris/SunOS...
Posts: 36

Rep: Reputation: 16
Re: > /dev/null

Quote:
Originally posted by Rashkae Slightly edited by tifkat
/dev/null is... also a great device to use for backups. Guaranteed, backups will go many times faster.
Uh-oh, someone's been reading The BOFH again!

tifkat
 
  


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
How to prune a print & file server to leave minimal services running wolfpeach Linux - Security 4 06-29-2004 07:35 AM
leave process running after logoff nakkaya Linux - Software 4 04-09-2004 03:21 AM
Where have all my console apps gone? JordanH Red Hat 2 11-01-2003 10:14 PM
X apps from console after su tobyl Slackware 14 04-16-2003 05:37 PM
using custom fonts for console apps Beav Linux - General 1 09-28-2002 11:43 AM


All times are GMT -5. The time now is 11:45 AM.

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