vaheeD khoshnouD

linux, mikrotik, macosx

Unix Help system

Written by vaheeD on December 28, 2012
4.00 avg. rating (83% score) - 1 vote

man – format and display the on-line manual pages

man 1 expand
man -a open
man bash | col -b > bash.txt
man -t bash >
man -t bash | ps2pdf - > bash.pdf

whatis – search the whatis database for complete words.

whatis open

apropos – search the whatis database for strings

apropos "create a file"
man -k  "create a file"

whereis – locate the binary, source, and manual page files for a command

whereis expand

which – shows the full path of (shell) commands.

which ls

type – indicate how each name would be interpreted if used as a command name

$ type expand
expand is /usr/bin/expand

$ type -a ls
ls is aliased to `/bin/ls $LS_OPTIONS'
ls is /usr/bin/ls
ls is /bin/ls

$ type -t ls

$ type -t type

info – read Info documents

info bash
info info
info gcc
info libc
info gdb
info emacs
info "(standards)User Interfaces"
info coreutils 'printenv invocation'

Document directoris



4.00 avg. rating (83% score) - 1 vote