Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>Searching the "man bash"

Searching the "man bash"

avalon
02-21-2006, 10:20 PM
I was skimming the man bash on the Terminal last night till late. I think I remember seeing a command that will compare two things (files, directories...) and determine if they are exactly the same. If I did see that, now I can't find it. I copied the man bash (page by page, ack) to a Word file for easier searching. But it was late enough las night that I don't remember enough of the actual text to do a search. I tried a few things....

Two things:

Is there such a command and what is it?

Is there an easy way to transfer man bash to an external file, especially one that will preserve the various bold formatting which actually makes the one in Terminal easier to read than the Word doc I have now?

Thanks

hayne
02-21-2006, 10:26 PM
1) The 'diff' command will compare two files or (with the "-r" option) two folders. But I don't think that would have been mentioned in the 'bash' man page.

2) You can search in the man page in Terminal by typing a slash (/) and then the thing you want to search for. Read 'man man' for more info.

3) There have been a few articles on the main macosxhints site about ways of viewing man pages in a web browser or in dedicated utilities.
E.g. search for Bwana

avalon
02-21-2006, 10:55 PM
Thanks. Diff sounds exactly right and jogs the memory. But I in fact do not see it anywhere in the man bash.

So I wonder what else I ended up reading last night that mentioned it.

Oh well, wherever. Thanks again.

giskard22
02-22-2006, 12:05 PM
My preferred method for long man pages is to go to hmug.org, where they've put the current versions online as web pages.

avalon
02-22-2006, 12:49 PM
Cool, thanks. Great name too, humungous.org.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
bash not using my .bas
Applescript: Hide Proc
help with installing p
Mozilla install from d
ssh - don't want to us
Escaping quotes in Tig
Terminal Keybindings 
JAVA help, please! 

News Archive

Displaying Images on t
Install Office from th
Terminal Problem...? 
cc1plus not executable
desktop icons.. 
at & growlnotify 
unknown terminal type 
scp arbitrary files 
What and why is a 'Dis
permissions already me

Related stories:

Installing Gnome and/or KDE
Startup causes Console in full screen mode
What goes in a .bashrc file?
My User folder was eaten by a platypus
Customizing Terminal
su: Sorry?
large file copying broken in 10.4.5?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics