whatis gives a one liner from the man page apropos search all of the man pages, like man -k, so apropos ls
shows any manual entry with ls in the name/title
Hi,
I'm trying to locate the config files that are installed on a Unix/Linux system that belong to programs called Areca and IPMI. Two different programs. The most information I can get from IPMI is that it may be version 1.11 from Supermicro and it's installed by a CD. I checked the CD and... (1 Reply)
I want to compare "N" (around 2000+) number of huge files located in a directory A against "N" files located in a different directory using Bash scripting.
Please help me with any scripts available.
Thanks. (2 Replies)
Hi all,
I would like to know the dir location where all the source files for various file systems are located(not the compiled ones)?
I tried in /usr/src/uts , but thats as far as I can go.
After this i have the i86pc but there are no .c files anywhere.... (Impossible)
# find / -name *.c... (1 Reply)
Hi
I have below scenario, I hope this could be possible, but as of now no idea how to implement this.
Mount point in this location /abc/mp, and there will different users who will be executing one the file shell1.sh file located in /abs/mp, but every user will execute this shell1.sh file from... (1 Reply)
Hi,
When I query using ps -ef, the complete command is not displayed and is truncated.
Can you please tell me a method to resolve this ?
I have tried the below.
ps -ef | cat
ps -ef | grep imp >/tmp/t1.txt
/usr/ucb/ps -auxw
pargs <pid>
/usr/ucb/ps -aefyl | grep imp
Thanks (11 Replies)
how to display the unique strings in two files using shell script or commands.
I tried diff and cmp but it shows the entire line, i need only the mismatched strings.
File1:
sat,sun,mon,tue
rose,lilly,lotus
white,red,blue,green,pink
File2:
sat,sun,mon,tue
rose,sunflower,lotus... (4 Replies)
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Hello, please where are located DNS files on various linux distributions?
Mainly im interested in CentOS (RedHat) and Ubuntu (Debian).
I mean i will be changing IPs and i have registered nameservers on my domain registar and it points to OLD IP, so i need to know in which files to edit on... (3 Replies)
so i have a script that i do not want copies of that script to be roaming around. i want that script to be in only one location on the filesystem, and whoever wants to use it should just link to it.
any idea on how to exit from a script if it is detected that the running version is a copy and... (5 Replies)
Hello everyone,
I'm am a newbie to coding so I am reaching out in hopes that I can get some help from this forum.
I am trying to run the script below from a single directory, however the directory has many subfolders. In each of those subfolders is a file, uniquely named to that specific... (3 Replies)
Discussion started by: azurite
3 Replies
LEARN ABOUT FREEBSD
makewhatis
MAKEWHATIS(1) BSD General Commands Manual MAKEWHATIS(1)NAME
makewhatis -- create whatis database
SYNOPSIS
makewhatis [-a] [-i column] [-n name] [-o file] [-v] [-L] [directories ...]
DESCRIPTION
The makewhatis utility collects the names and short descriptions from all the unformatted man pages in the directories and puts them into a
file used by the whatis(1) and apropos(1) commands. Directories may be separated by colons instead of spaces. If no directories are speci-
fied, the contents of the MANPATH environment variable will be used, or if that is not set, the default directory /usr/share/man will be pro-
cessed.
The options are as follows:
-a Appends to the output file(s) instead of replacing them. The output will be sorted with duplicate lines removed, but may have
obsolete entries.
-i column Indents the description by column characters. The default value is 24.
-n name Uses name instead of whatis.
-o file Outputs all lines to the file instead of */man/whatis.
-v Makes makewhatis more verbose about what it is doing.
-L Process only localized subdirectories corresponding to the locale specified in the standard environment variables.
ENVIRONMENT
LC_ALL, LC_CTYPE, LANG
These variables control what subdirectories will be processed if the -L option is used.
MACHINE If set, its value is used to override the current machine type when searching machine specific subdirectories.
MACHINE_ARCH
If set, its value is used to override the current architecture when searching architecture specific subdirectories.
MANPATH Determines the set of directories to be processed if none are given on the command line.
FILES
/usr/share/man Default directory to process if the MANPATH environment variable is not set.
*/man/whatis The default output file.
EXIT STATUS
The makewhatis utility exits 0 on success, and >0 if an error occurs.
SEE ALSO apropos(1), whatis(1)HISTORY
The makewhatis command appeared in FreeBSD 2.1.
AUTHORS
The makewhatis program was originally written in Perl and was contributed by Wolfram Schneider. The current version of makewhatis was
rewritten in C by John Rochester.
BSD December 3, 2005 BSD