|
|
Miscellaneous Notes
Commands with Common Arguments
- Tripwire
-
· to update the data base after expected changes:
cd /var/lib/tripwire/report
ls -altr
use the newest (last listed) file as the report file.
tripwire -m u -a -v -r ./newestfile.twr
the -a will not prompt on each change, or else use -V (see man page for details)
- HT Dig
-
· to make config file changes kick in, use rundig
-
· if rundig isn't working or no search results, try htsearch -v
I needed to move some files it couldn't find.
- Icon in Browser Location Bar
-
· to add an icon for the browser to associate with the page use:
In the HEAD stanza, add:
<link REL="SHORTCUT ICON" href="http://some.domain.com/images/penguin.gif">
- Getting RPC Info
-
· rpcinfo -p
- Magnify text i X
-
· run xmag then select the text to inspect.
- Ping or Traceroute codes
-
· Result Codes seen in traceroute and possibly ping output:
! Success
* Time out
N Network Unreachable
H Host Unreachable
P Protocol Unreachable
A Admin Denied (Access List)
Q Source Quench Received (Congestion)
? Unknown (any other ICMP message)
|
|
|
|