09-26-2001
ls /bin
ls /usr/bin
ls /usr/sbin
or "echo $PATH" and whatever is returned, list the contents of those directories. when you find a command, read the man page on it by typing "man <command_in_question>" i.e., man cd for the man page on the cd command.
hope this helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am new to this unix thing. I have a macintosh with os X and want to learn how to use the unix terminal. What do I need to get started? Does anyone know some good command lines to get started with? Can I use the terminal to check email and get on the internet etc.....?:( (3 Replies)
Discussion started by: JCWorkman
3 Replies
2. UNIX for Dummies Questions & Answers
thank you for the help (1 Reply)
Discussion started by: scooter17
1 Replies
3. UNIX for Dummies Questions & Answers
I'm having trouble with the following commands
i. count the number of lines which end in a 4 letter word
grep '{4\}$' bfile <<seems to print out everything
abc abc abcd
joe joe john
bob bill
gregory greg
greg gregory
the grep command prints out the lines with 4 letter words and the... (3 Replies)
Discussion started by: StrengthThaDon
3 Replies
4. Shell Programming and Scripting
Hi,
I need to write a small script to search in some specific directories to check if any file is present with a unix command name...
Means if the directory contains any files like cat, vi, grep, find etc i need to list those files into a file.
Please help
Thanks,
D (6 Replies)
Discussion started by: deepakgang
6 Replies
5. Shell Programming and Scripting
I m using the below command for finding a particular file using grep and then copy it.
But the the below command esp the cp is not working
find . -name "CurrentCollector*" -exec grep -l '300173680000D1A8' {} \; | xargs cp {} /ednpdtu7/u01/pipe/current_reprocess -
It's giving the particular... (5 Replies)
Discussion started by: ali560045
5 Replies
6. Shell Programming and Scripting
I am checking that a file is older than a reference file that I build with a touch command before processing it. If it is not old enough, I want to sleep for an hour and check again.
My problem is if it is old enough to process, I want to exit when I am done, but I cannot find a way to exit... (2 Replies)
Discussion started by: prismtx
2 Replies
7. UNIX for Dummies Questions & Answers
Hi to everybody!!
I have a (simple) question but i am newbie with unix and so i need a little help...I am writing a bash script file and i want to put inside this:
i have this command " find /usr/bin -name bzip2 -print " that i want to put it in a "if" statement and when it returns true the... (6 Replies)
Discussion started by: orestis7
6 Replies
8. UNIX for Advanced & Expert Users
Hey everyone,
I need some help for some unix commands.
- List all processes in the file "ProcessUser.txt" sorted by the users and in the file "ProcessName.txt" sorted by the name of the process.
- How much time does the command "ls -alR /" need and compared to that, how much time is... (2 Replies)
Discussion started by: ZOCKER3000
2 Replies
9. UNIX for Dummies Questions & Answers
I am writing a tcsh script that will open an already-running processs on a system, and give it a command. I want to have something similar to this: http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/
But I need to be able to find the process and... (5 Replies)
Discussion started by: Adorai
5 Replies
10. Shell Programming and Scripting
hi gurus,
I need a example. I am looking for a source code. where I got the keyword "altria_fetch" and also the keyword is present in the file ".pc" files. and it is present in the directory /fast folder. Inside fast there are lot of sub directories present on it. I am not sure how to reach... (8 Replies)
Discussion started by: ramkumar15
8 Replies
LEARN ABOUT FREEBSD
man.conf
MAN.CONF(5) BSD File Formats Manual MAN.CONF(5)
NAME
man.conf -- man(1) and manpath(1) configuration files
DESCRIPTION
The man.conf file is used to configure the manual search path, locales, and utility set for man(1) and its related utilities. During ini-
tialization, man(1) reads the configuration files located at /usr/local/etc/man.d/*.conf and /etc/man.conf.
The files contained in /usr/local/etc/man.d/*.conf are intended to be used by the ports(7) system for extending the manual set to support
additional paths and locales. /etc/man.conf is intended to be used by the local administrator to set additional policy.
Currently supported configuration variables include:
MANCONFIG Overrides the default location to import additional manual configuration files. Defaults to /usr/local/etc/man.d/*.conf.
MANPATH Adds the specified directory to the manual search path.
MANLOCALE Indicates support is available for the given locale.
For pages in a given language, overriding the default toolset for display is supported via the following definitions:
EQN_LANG
NROFF_LANG
PIC_LANG
TBL_LANG
TROFF_LANG
REFER_LANG
VGRIND_LANG
See the EXAMPLES section for how to use these variables.
IMPLEMENTATION NOTES
The parser used for this utility is very basic and only supports comment characters (#) at the beginning of a line.
FILES
/etc/man.conf System configuration file.
/usr/local/etc/man.d/*.conf Local configuration files.
EXAMPLES
A perl port that needs to install additional manual pages outside of the default location could install a file in
/usr/local/etc/man.d/perl.conf with the following contents:
# Add perl man pages to search path
MANPATH /usr/local/lib/perl5/5.8.9/man
MANPATH /usr/local/lib/perl5/5.8.9/perl/man
A Japanese localization port could install a custom toolset and include a file in /usr/local/etc/man.d/ja-man-doc.conf with the following
contents:
# Setup Japanese toolset
MANLOCALE ja_JP.eucJP
EQN_JA /usr/local/bin/geqn
PIC_JA /usr/local/bin/gpic
TBL_JA /usr/local/bin/gtbl
NROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.eucJP
TROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.euc.jp
If the system administrator decides to override the LOCALBASE make(1) variable causing all ports(7) to be installed into /opt instead of
/usr/local, specifying the following in /etc/man.conf will accommodate this change:
# Look for additional configuration files
MANCONFIG /opt/etc/man.d/*.conf
SEE ALSO
apropos(1), man(1), manpath(1), whatis(1)
BSD
June 3, 2011 BSD