SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Thomas A Watson who wrote (332)11/21/2002 7:58:59 PM
From: Thomas A Watson  Read Replies (2) of 484
 
find it hints.
How do I figure out where and what. first I build a file of all files on the system

as root
cd /
find > /all_system_files.date

It may take several minutes for this. But then it can be grep in fractions of a second.

grep -i for no case sensitivity.
grer -v as not this

grep "whaterver" /all_system_files.date this is a list of the files with their complete path.

When the file list is to long.

grep "whaterver" /all_system_files.date | grep "whatever1" this is an and. Also pipe or | grep -v "whatever2" this is and not whatever2

man pages using xman. xman has search and apropos by name of files or commands or subject.

But some manpages are too long and it's easier to read them in an editor where you can search for words of interest.

To create a text version of a man page.
man "some_command" |col -b >some_command.man
This creates a text file, some_command.man
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext