Re: help with apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim:
>>>  grep -v "^#" httpd.conf | less -s

Scott Berry:
>> Time how would I actually output this command to a file?

stan:
> Instead of using the pipe symbol | to pipe it to less, use the
> redirection symbol > to redirect it to a file. 

The advantage of the "less -s" part is that it compacts multiple
concurrent blank lines into just single blank lines.  It's not needed,
but aids in reading, and there's probably other ways to do it, as well.

-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux